Skip to content

Commit

Permalink
Change all links to the reverese-proxy url
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Stelzer committed May 19, 2015
1 parent 0c1caf7 commit e55dc73
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion spring-boot-admin-server-ui/app/views/apps/activiti.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<col style="width:auto">
<thead>
<tr>
<th colspan="2">Overview <small class="pull-right"><a href="{{ application.managementUrl }}/activiti">raw JSON</a></small></th>
<th colspan="2">Overview <small class="pull-right"><a href="api/applications/{{ application.id }}/activiti">raw JSON</a></small></th>
</tr>
</thead>
<tbody>
Expand Down
6 changes: 3 additions & 3 deletions spring-boot-admin-server-ui/app/views/apps/details.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="row">
<div class="span6">
<table class="table">
<thead><tr><th colspan="2">Application <small class="pull-right"><a href="{{ application.managementUrl }}/info">raw JSON</a></small></th></tr></thead>
<thead><tr><th colspan="2">Application <small class="pull-right"><a href="api/applications/{{ application.id }}/info">raw JSON</a></small></th></tr></thead>
<tbody>
<tr ng-repeat="(key, value) in info" >
<td>{{ key }}</td><td>{{ value }}</td>
Expand All @@ -17,7 +17,7 @@
<div class="span6">
<table class="table">
<thead>
<tr><th colspan="2">Health Checks <small class="pull-right"><a href="{{ application.healthUrl }}">raw JSON</a></small></th></tr>
<tr><th colspan="2">Health Checks <small class="pull-right"><a href="api/applications/{{ application.id }}/health">raw JSON</a></small></th></tr>
</thead>
<tbody>
<tr><td ng-init="name= 'Application'" ng-include="'health.html'"></td></tr>
Expand Down Expand Up @@ -63,7 +63,7 @@

<div class="span6">
<table class="table">
<thead><tr><th colspan="2">JVM <small class="pull-right"><a href="{{ application.managementUrl }}/metrics">raw JSON</a></small></th></tr></thead>
<thead><tr><th colspan="2">JVM <small class="pull-right"><a href="api/applications/{{ application.id }}/metrics">raw JSON</a></small></th></tr></thead>
<tbody>
<tr ng-if="metrics['systemload.average'] != null && metrics['systemload.average'] >= 0.0">
<td>Systemload</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<col style="width:auto">
<thead>
<tr>
<th>Classpath <small class="pull-right"><a href="{{ application.managementUrl }}/env">raw JSON</a></small></th>
<th>Classpath <small class="pull-right"><a href="api/applications/{{ application.id }}/env">raw JSON</a></small></th>
</tr>
</thead>
<tbody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</div>
<div class="row">
<table class="table table-hover boxed">
<thead><tr><th>Profiles <small class="pull-right"><small class="pull-right"><a href="{{ application.managementUrl }}/env">raw JSON</a></small></th></tr></thead>
<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>
<tbody>
<tr ng-repeat="profile in env.profiles" >
<td style="word-break: break-all;" >{{ profile }}</td>
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-admin-server-ui/app/views/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h2 >Spring-Boot applications<br>
<span ng-show="application.refreshing" class="refresh"></span></td>
<td style="text-align: right;">
<div class="btn-group" ng-hide="application.managementUrl == null || application.status == null || application.status == 'OFFLINE'">
<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>
<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>
<a ui-sref="apps.details.metrics({id: application.id})" class="btn btn-success">Details</a>
<a class="btn btn-success dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
Expand Down

0 comments on commit e55dc73

Please sign in to comment.