Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-boot-admin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-boot-admin
Commits
8c45b1df
Commit
8c45b1df
authored
Jun 05, 2014
by
Thomas Bosch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
89109a91
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
index.html
src/main/webapp/public/index.html
+1
-1
app.js
src/main/webapp/public/scripts/app.js
+2
-2
controllers.js
src/main/webapp/public/scripts/controllers/controllers.js
+2
-2
services.js
src/main/webapp/public/scripts/services/services.js
+1
-1
No files found.
src/main/webapp/public/index.html
View file @
8c45b1df
...
...
@@ -11,7 +11,7 @@
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/webjars/bootstrap/${bootstrap.version}/css/bootstrap.min.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/styles/main.css"
/>
</head>
<body
ng-app=
"
service-
registry"
>
<body
ng-app=
"registry"
>
<script
type=
"text/javascript"
>
// Work around Google font rendering issues in webkit browsers on Windows 7
if
(
navigator
.
userAgent
.
indexOf
(
"NT 6.1"
)
!=
-
1
)
{
...
...
src/main/webapp/public/scripts/app.js
View file @
8c45b1df
'use strict'
;
angular
.
module
(
'
service-
registry'
,
[
angular
.
module
(
'registry'
,
[
'ngCookies'
,
'ngResource'
,
'ngSanitize'
,
'ngRoute'
,
'ngResource'
,
'
service-
registry.services'
'registry.services'
])
.
config
(
function
(
$routeProvider
)
{
$routeProvider
...
...
src/main/webapp/public/scripts/controllers/controllers.js
View file @
8c45b1df
'use strict'
;
angular
.
module
(
'
service-
registry'
)
angular
.
module
(
'registry'
)
.
controller
(
'MainCtrl'
,
function
(
$scope
,
Application
,
ApplicationDetail
,
$location
)
{
//Gets the service from /api/services
$scope
.
applications
=
Application
.
query
();
$scope
.
applications
=
Application
.
query
();
$scope
.
addApplication
=
function
()
{
window
.
location
=
"/#add-applications"
;
...
...
src/main/webapp/public/scripts/services/services.js
View file @
8c45b1df
'use strict'
;
angular
.
module
(
'
service-
registry.services'
,
[
'ngResource'
])
angular
.
module
(
'registry.services'
,
[
'ngResource'
])
.
factory
(
'Application'
,
[
'$resource'
,
function
(
$resource
){
return
$resource
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment