Commit e55dc738 by Johannes Stelzer

Change all links to the reverese-proxy url

parent 0c1caf7c
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<col style="width:auto"> <col style="width:auto">
<thead> <thead>
<tr> <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> </tr>
</thead> </thead>
<tbody> <tbody>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<div class="row"> <div class="row">
<div class="span6"> <div class="span6">
<table class="table"> <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> <tbody>
<tr ng-repeat="(key, value) in info" > <tr ng-repeat="(key, value) in info" >
<td>{{ key }}</td><td>{{ value }}</td> <td>{{ key }}</td><td>{{ value }}</td>
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div class="span6"> <div class="span6">
<table class="table"> <table class="table">
<thead> <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> </thead>
<tbody> <tbody>
<tr><td ng-init="name= 'Application'" ng-include="'health.html'"></td></tr> <tr><td ng-init="name= 'Application'" ng-include="'health.html'"></td></tr>
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<div class="span6"> <div class="span6">
<table class="table"> <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> <tbody>
<tr ng-if="metrics['systemload.average'] != null && metrics['systemload.average'] >= 0.0"> <tr ng-if="metrics['systemload.average'] != null && metrics['systemload.average'] >= 0.0">
<td>Systemload</td> <td>Systemload</td>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<col style="width:auto"> <col style="width:auto">
<thead> <thead>
<tr> <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> </tr>
</thead> </thead>
<tbody> <tbody>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
</div> </div>
<div class="row"> <div class="row">
<table class="table table-hover boxed"> <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> <tbody>
<tr ng-repeat="profile in env.profiles" > <tr ng-repeat="profile in env.profiles" >
<td style="word-break: break-all;" >{{ profile }}</td> <td style="word-break: break-all;" >{{ profile }}</td>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<span ng-show="application.refreshing" class="refresh"></span></td> <span ng-show="application.refreshing" class="refresh"></span></td>
<td style="text-align: right;"> <td style="text-align: right;">
<div class="btn-group" ng-hide="application.managementUrl == null || application.status == null || application.status == 'OFFLINE'"> <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 ui-sref="apps.details.metrics({id: application.id})" class="btn btn-success">Details</a>
<a class="btn btn-success dropdown-toggle" data-toggle="dropdown"> <a class="btn btn-success dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span> <span class="caret"></span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment