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
3824317a
Commit
3824317a
authored
Jun 17, 2014
by
Thomas Bosch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e40f8b39
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
controllers.js
src/main/webapp/public/scripts/controllers/controllers.js
+1
-2
services.js
src/main/webapp/public/scripts/services/services.js
+4
-7
No files found.
src/main/webapp/public/scripts/controllers/controllers.js
View file @
3824317a
...
...
@@ -9,8 +9,7 @@ angular.module('registry')
// Get details from applications
for
(
var
i
=
0
;
i
<
applications
.
length
;
i
++
)
{
var
app
=
applications
[
i
];
ApplicationInfo
.
setApp
(
app
);
ApplicationInfo
.
getInfo
();
ApplicationInfo
.
getInfo
(
app
);
}
});
...
...
src/main/webapp/public/scripts/services/services.js
View file @
3824317a
...
...
@@ -10,13 +10,9 @@ angular.module('registry.services', ['ngResource'])
}])
.
service
(
'ApplicationInfo'
,
[
'$http'
,
function
(
$http
){
var
_app
;
this
.
setApp
=
function
(
app
)
{
_app
=
app
;
}
this
.
getInfo
=
function
()
{
return
$http
.
get
(
_app
.
url
+
'/info'
).
success
(
function
(
response
)
{
_app
.
version
=
response
.
version
;
this
.
getInfo
=
function
(
app
)
{
return
$http
.
get
(
app
.
url
+
'/info'
).
success
(
function
(
response
)
{
app
.
version
=
response
.
version
;
});
}
}]);
\ No newline at end of file
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