Commit 2f0a896b by Johannes Edmeier

Use custom attribute for info-panel-title

otherwise it gets mixed up whith the standard html title attribute
parent b9400eee
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<b>Error:</b> {{ error }} <b>Error:</b> {{ error }}
</div> </div>
<div style="display: flex; flex-wrap: wrap; justify-content: space-around;"> <div style="display: flex; flex-wrap: wrap; justify-content: space-around;">
<sba-info-panel class="span5" title="Application" raw="api/applications/{{ application.id }}/info"> <sba-info-panel class="span5" panel-title="Application" raw="api/applications/{{ application.id }}/info">
<table class="table"> <table class="table">
<tr ng-repeat="(key, value) in info"> <tr ng-repeat="(key, value) in info">
<td ng-bind="key"></td> <td ng-bind="key"></td>
...@@ -10,25 +10,25 @@ ...@@ -10,25 +10,25 @@
</tr> </tr>
</table> </table>
</sba-info-panel> </sba-info-panel>
<sba-info-panel class="span5" title="Health" raw="api/applications/{{ application.id }}/health"> <sba-info-panel class="span5" panel-title="Health" raw="api/applications/{{ application.id }}/health">
<sba-health-status health="health"></sba-health-status> <sba-health-status health="health"></sba-health-status>
</sba-info-panel> </sba-info-panel>
<sba-info-panel class="span5" title="Memory" raw="api/applications/{{ application.id }}/metrics/mem.*%7Cheap.*"> <sba-info-panel class="span5" panel-title="Memory" raw="api/applications/{{ application.id }}/metrics/mem.*%7Cheap.*">
<sba-memory-stats metrics=metrics></sba-memory-stats> <sba-memory-stats metrics=metrics></sba-memory-stats>
</sba-info-panel> </sba-info-panel>
<sba-info-panel class="span5" title="JVM" raw="api/applications/{{ application.id }}/metrics/systemload.*%7Cclasses.*%7Cuptime%7Cprocessors%7Cthreads.*"> <sba-info-panel class="span5" panel-title="JVM" raw="api/applications/{{ application.id }}/metrics/systemload.*%7Cclasses.*%7Cuptime%7Cprocessors%7Cthreads.*">
<sba-jvm-stats metrics="metrics"></sba-jvm-stats> <sba-jvm-stats metrics="metrics"></sba-jvm-stats>
</sba-info-panel> </sba-info-panel>
<sba-info-panel class="span5" title="Garbage Collection" raw="api/applications/{{ application.id }}/metrics/gc.*"> <sba-info-panel class="span5" panel-title="Garbage Collection" raw="api/applications/{{ application.id }}/metrics/gc.*">
<sba-gc-stats metrics="metrics"></sba-gc-stats> <sba-gc-stats metrics="metrics"></sba-gc-stats>
</sba-info-panel> </sba-info-panel>
<sba-info-panel class="span5" title="Servlet Container" raw="api/applications/{{ application.id }}/metrics/httpsessions.*" ng-show="metrics['httpsessions.active'] != null"> <sba-info-panel class="span5" panel-title="Servlet Container" raw="api/applications/{{ application.id }}/metrics/httpsessions.*" ng-show="metrics['httpsessions.active'] != null">
<sba-servlet-container-stats metrics="metrics"></sba-servlet-container-stats> <sba-servlet-container-stats metrics="metrics"></sba-servlet-container-stats>
</sba-info-panel> </sba-info-panel>
<sba-info-panel class="span5" title="Datasources" raw="api/applications/{{ application.id }}/metrics/datasource.*" ng-show="hasDatasources"> <sba-info-panel class="span5" panel-title="Datasources" raw="api/applications/{{ application.id }}/metrics/datasource.*" ng-show="hasDatasources">
<sba-datasource-stats metrics="metrics"></sba-datasource-stats> <sba-datasource-stats metrics="metrics"></sba-datasource-stats>
</sba-info-panel> </sba-info-panel>
<sba-info-panel class="span5" title="Caches" raw="api/applications/{{ application.id }}/metrics/cache.*" ng-show="hasCaches"> <sba-info-panel class="span5" panel-title="Caches" raw="api/applications/{{ application.id }}/metrics/cache.*" ng-show="hasCaches">
<sba-cache-stats metrics="metrics"></sba-cache-stats> <sba-cache-stats metrics="metrics"></sba-cache-stats>
</sba-info-panel> </sba-info-panel>
</div> </div>
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<b>Error:</b> {{ error }} <b>Error:</b> {{ error }}
</div> </div>
<sba-info-panel title="Active profiles" raw="api/applications/{{ application.id }}/env"> <sba-info-panel panel-title="Active profiles" raw="api/applications/{{ application.id }}/env">
<table class="table"> <table class="table">
<tr> <tr>
<td>{{profiles.join(', ') || '-'}}</td> <td>{{profiles.join(', ') || '-'}}</td>
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</table> </table>
</sba-info-panel> </sba-info-panel>
<sba-info-panel title="Environment manager" ng-show="application.capabilities.refresh"> <sba-info-panel panel-title="Environment manager" ng-show="application.capabilities.refresh">
<sba-environment-manager environment="env" application="application" on-environment-changed="refresh"></sba-environment-manager> <sba-environment-manager environment="env" application="application" on-environment-changed="refresh"></sba-environment-manager>
</sba-info-panel> </sba-info-panel>
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<button class="btn" title="reload list" ng-click="refresh()"><i class="fa fa-repeat"></i></button> <button class="btn" title="reload list" ng-click="refresh()"><i class="fa fa-repeat"></i></button>
</div> </div>
<sba-info-panel category="PropertySource" title="{{source.name}}" ng-repeat="source in env" ng-show="!searchFilter || (source.value | filter:searchFilter).length > 0"> <sba-info-panel category="PropertySource" panel-title="{{source.name}}" ng-repeat="source in env" ng-show="!searchFilter || (source.value | filter:searchFilter).length > 0">
<table class="table"> <table class="table">
<col width="38%"> <col width="38%">
<col width="62%"> <col width="62%">
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<input placeholder="Filter" class="input-xxlarge" type="search" ng-model="searchFilter" /> <input placeholder="Filter" class="input-xxlarge" type="search" ng-model="searchFilter" />
<button class="btn" title="reload list" ng-click="refresh()"><i class="fa fa-repeat"></i></button> <button class="btn" title="reload list" ng-click="refresh()"><i class="fa fa-repeat"></i></button>
</div> </div>
<sba-info-panel title="Flyway Migrations" raw="api/applications/{{ application.id }}/flyway"> <sba-info-panel panel-title="Flyway Migrations" raw="api/applications/{{ application.id }}/flyway">
<table class="table"> <table class="table">
<thead> <thead>
<th>Type</th> <th>Type</th>
......
<div class="alert alert-error" ng-if="error"> <div class="alert alert-error" ng-if="error">
<b>Error:</b> {{ error }} <b>Error:</b> {{ error }}
</div> </div>
<sba-info-panel title="Counter" raw="api/applications/{{ application.id }}/metrics/counter.*"> <sba-info-panel panel-title="Counter" raw="api/applications/{{ application.id }}/metrics/counter.*">
<table class="table" ng-if="counters.length > 0"> <table class="table" ng-if="counters.length > 0">
<tr ng-repeat="counter in counters"> <tr ng-repeat="counter in counters">
<td> <td>
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</tr> </tr>
</table> </table>
</sba-info-panel> </sba-info-panel>
<sba-info-panel title="Gauges" raw="api/applications/{{ application.id }}/metrics/gauge.*"> <sba-info-panel panel-title="Gauges" raw="api/applications/{{ application.id }}/metrics/gauge.*">
<table class="table" ng-if="gauges.length > 0"> <table class="table" ng-if="gauges.length > 0">
<tr ng-if="showRichGauges" ng-repeat="gauge in gauges"> <tr ng-if="showRichGauges" ng-repeat="gauge in gauges">
<td> <td>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
module.exports = { module.exports = {
transclude: true, transclude: true,
bindings: { bindings: {
title: '@title', title: '@panelTitle',
raw: '@raw', raw: '@raw',
category: '@category' category: '@category'
}, },
......
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