Skip to content

Commit e55dc73

Browse files
author
Johannes Stelzer
committed
Change all links to the reverese-proxy url
1 parent 0c1caf7 commit e55dc73

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

spring-boot-admin-server-ui/app/views/apps/activiti.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<col style="width:auto">
55
<thead>
66
<tr>
7-
<th colspan="2">Overview <small class="pull-right"><a href="{{ application.managementUrl }}/activiti">raw JSON</a></small></th>
7+
<th colspan="2">Overview <small class="pull-right"><a href="api/applications/{{ application.id }}/activiti">raw JSON</a></small></th>
88
</tr>
99
</thead>
1010
<tbody>

spring-boot-admin-server-ui/app/views/apps/details.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div class="row">
77
<div class="span6">
88
<table class="table">
9-
<thead><tr><th colspan="2">Application <small class="pull-right"><a href="{{ application.managementUrl }}/info">raw JSON</a></small></th></tr></thead>
9+
<thead><tr><th colspan="2">Application <small class="pull-right"><a href="api/applications/{{ application.id }}/info">raw JSON</a></small></th></tr></thead>
1010
<tbody>
1111
<tr ng-repeat="(key, value) in info" >
1212
<td>{{ key }}</td><td>{{ value }}</td>
@@ -17,7 +17,7 @@
1717
<div class="span6">
1818
<table class="table">
1919
<thead>
20-
<tr><th colspan="2">Health Checks <small class="pull-right"><a href="{{ application.healthUrl }}">raw JSON</a></small></th></tr>
20+
<tr><th colspan="2">Health Checks <small class="pull-right"><a href="api/applications/{{ application.id }}/health">raw JSON</a></small></th></tr>
2121
</thead>
2222
<tbody>
2323
<tr><td ng-init="name= 'Application'" ng-include="'health.html'"></td></tr>
@@ -63,7 +63,7 @@
6363

6464
<div class="span6">
6565
<table class="table">
66-
<thead><tr><th colspan="2">JVM <small class="pull-right"><a href="{{ application.managementUrl }}/metrics">raw JSON</a></small></th></tr></thead>
66+
<thead><tr><th colspan="2">JVM <small class="pull-right"><a href="api/applications/{{ application.id }}/metrics">raw JSON</a></small></th></tr></thead>
6767
<tbody>
6868
<tr ng-if="metrics['systemload.average'] != null && metrics['systemload.average'] >= 0.0">
6969
<td>Systemload</td>

spring-boot-admin-server-ui/app/views/apps/details/classpath.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<col style="width:auto">
44
<thead>
55
<tr>
6-
<th>Classpath <small class="pull-right"><a href="{{ application.managementUrl }}/env">raw JSON</a></small></th>
6+
<th>Classpath <small class="pull-right"><a href="api/applications/{{ application.id }}/env">raw JSON</a></small></th>
77
</tr>
88
</thead>
99
<tbody>

spring-boot-admin-server-ui/app/views/apps/environment.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
</div>
55
<div class="row">
66
<table class="table table-hover boxed">
7-
<thead><tr><th>Profiles <small class="pull-right"><small class="pull-right"><a href="{{ application.managementUrl }}/env">raw JSON</a></small></th></tr></thead>
7+
<thead><tr><th>Profiles <small class="pull-right"><small class="pull-right"><a href="api/applications/{{ application.id }}/env">raw JSON</a></small></th></tr></thead>
88
<tbody>
99
<tr ng-repeat="profile in env.profiles" >
1010
<td style="word-break: break-all;" >{{ profile }}</td>

spring-boot-admin-server-ui/app/views/overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h2 >Spring-Boot applications<br>
2323
<span ng-show="application.refreshing" class="refresh"></span></td>
2424
<td style="text-align: right;">
2525
<div class="btn-group" ng-hide="application.managementUrl == null || application.status == null || application.status == 'OFFLINE'">
26-
<a ng-disabled="!application.capabilities.logfile" target="_self" class="btn btn-success" ng-href="{{application.capabilities.logfile ? application.managementUrl + '/logfile' :''}}"><i class="icon-file icon-white"></i>Log</a>
26+
<a ng-disabled="!application.capabilities.logfile" target="_self" class="btn btn-success" ng-href="{{application.capabilities.logfile ? 'api/applications/' + application.id + '/logfile' :''}}"><i class="icon-file icon-white"></i>Log</a>
2727
<a ui-sref="apps.details.metrics({id: application.id})" class="btn btn-success">Details</a>
2828
<a class="btn btn-success dropdown-toggle" data-toggle="dropdown">
2929
<span class="caret"></span>

0 commit comments

Comments
 (0)