This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #217 from hawkular/disable-web-tab
Hide the Web tab (until WF9) and enable datasources tab.
- Loading branch information
Showing
2 changed files
with
24 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 22 additions & 16 deletions
38
...src/main/scripts/plugins/metrics/plugins/metrics/html/app-details/detail-datasources.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,41 @@ | ||
|
||
<section id="hk-datasources" class="hk-tab-content" ng-if="vm.activeTab === 'datasources'"> | ||
|
||
<h3 class="pull-left">Datasources</h3> | ||
<span class="hk-update pull-right" tooltip-trigger tooltip-placement="bottom" tooltip="Last update"><i class="fa fa-clock-o"></i>{{vm.endTimeStamp | date:'mediumTime'}}</span> | ||
<h3 class="pull-left">Fake Datasource 1</h3> | ||
<div class="panel panel-default hk-summary"> | ||
<div class="row"> | ||
<div class="col-sm-3 hk-summary-item"> | ||
<span class="hk-data">2 <i class="fa fa-flag"></i></span> | ||
<span class="hk-item">Alerts</span> | ||
<span class="hk-item">Datasource Alerts</span> | ||
</div> | ||
<div class="col-sm-6 hk-summary-item"> | ||
<span class="hk-data">Chart TBD</span> | ||
<span class="hk-item">Connections Used %</span> | ||
</div> | ||
<div class="col-sm-3 hk-summary-item"> | ||
<span class="hk-data">1270 MB</span> | ||
<span class="hk-item">Average Heap Usage</span> | ||
<span class="hk-data">7 Available (of 28)</span> | ||
<span class="hk-item">Available Connections (of Total)</span> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<h3 class="pull-left">Fake Datasource 2</h3> | ||
<div class="panel panel-default hk-summary"> | ||
<div class="row"> | ||
<div class="col-sm-3 hk-summary-item"> | ||
<span class="hk-data">5 s</span> | ||
<span class="hk-item">Last Garbage Collection (Duration)</span> | ||
<span class="hk-data">2 <i class="fa fa-flag"></i></span> | ||
<span class="hk-item">Datasource Alerts</span> | ||
</div> | ||
<div class="col-sm-6 hk-summary-item"> | ||
<span class="hk-data">Chart TBD</span> | ||
<span class="hk-item">Connections Used %</span> | ||
</div> | ||
<div class="col-sm-3 hk-summary-item"> | ||
<span class="hk-data">2000 MB</span> | ||
<span class="hk-item">Maximum Heap</span> | ||
<span class="hk-data">45 Available (of 50)</span> | ||
<span class="hk-item">Available Connections (of Total)</span> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="hk-info-top clearfix"> | ||
<h3 class="pull-left" tooltip-trigger tooltip-placement="top" tooltip="Expand/collapse"><button class="btn btn-link hk-trigger"><i class="fa fa-plus-square-o"></i> Alerts <span>(0)</span></button></h3> | ||
<span class="hk-settings pull-right"><a href="#" ng-controller="MetricsAlertController as mac" ng-click="mac.openSetup()"><i class="fa fa-cog"></i>Alert Settings</a></span> | ||
</div> | ||
<div class="clearfix"> | ||
<p>No alerts.</p> | ||
</div> | ||
|
||
</section> |