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
16144a86
Commit
16144a86
authored
Sep 11, 2015
by
librucha
Committed by
Johannes Stelzer
Sep 11, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add health-section rendering template for config server.
fixes #101
parent
e7fd7a53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
1 deletion
+33
-1
details.html
spring-boot-admin-server-ui/app/views/apps/details.html
+33
-1
No files found.
spring-boot-admin-server-ui/app/views/apps/details.html
View file @
16144a86
...
...
@@ -174,8 +174,9 @@
<
/dd
>
<
dd
ng
-
repeat
=
"(name, health) in health"
ng
-
if
=
"isChildHealth(name, health)"
>
<
ng
-
include
src
=
"'health.html'"
ng
-
if
=
"name != 'diskSpace'"
><
/ng-include
>
<
ng
-
include
src
=
"'health.html'"
ng
-
if
=
"name != 'diskSpace'
&& name != 'configServer'
"
><
/ng-include
>
<
ng
-
include
src
=
"'health-diskSpace.html'"
ng
-
if
=
"name == 'diskSpace'"
><
/ng-include
>
<
ng
-
include
src
=
"'health-configServer.html'"
ng
-
if
=
"name == 'configServer'"
><
/ng-include
>
<
/dd
>
<
/dl
>
</script>
...
...
@@ -195,3 +196,34 @@
<
/dd
>
<
/dl
>
</script>
<script
type=
"text/ng-template"
id=
"health-configServer.html"
>
<
dl
class
=
"health-status"
>
<
dt
>
{{
name
|
capitalize
}}
<
span
class
=
"status-{{health.status}} pull-right"
>
{{
health
.
status
}}
<
/span></
dt
>
<
dd
ng
-
if
=
"repository.error"
>
<
table
style
=
"width:100%;"
>
<
tr
class
=
"error"
>
<
td
>
Error
<
/td><td>{{ repository.error }}</
td
>
<
/tr
>
<
/table
>
<
/dd
>
<
dd
>
<
dl
ng
-
repeat
=
"repository in health.repositories"
class
=
"health-status"
>
<
dt
>
{{
repository
.
name
}}
<
/dt
>
<
dd
>
<
table
style
=
"width:100%;"
>
<
tr
>
<
td
>
Label
<
/td><td>{{ repository.label }}</
td
>
<
/tr
>
<
tr
>
<
td
>
Sources
<
/td><td>{{ repository.sources | joinArray:', ' }}</
td
>
<
/tr
>
<
tr
>
<
td
>
Profiles
<
/td><td>{{ repository.profiles | joinArray:', ' }}</
td
>
<
/tr
>
<
/table
>
<
/dd
>
<
/dl
>
<
/dd
>
<
/dl
>
</script>
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