diff options
author | Simon Rettberg | 2016-07-29 12:18:36 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-07-29 12:18:36 +0200 |
commit | 6abbd2bf9a0dafa93e92928a269820eaa127b12b (patch) | |
tree | d44eb55035a84f73e1795d93e2f26be6ddada0df /modules-available/statistics/templates/id44.html | |
parent | [baseconfig] Rework makeInput to prevent generating invalid tag attribs (diff) | |
download | slx-admin-6abbd2bf9a0dafa93e92928a269820eaa127b12b.tar.gz slx-admin-6abbd2bf9a0dafa93e92928a269820eaa127b12b.tar.xz slx-admin-6abbd2bf9a0dafa93e92928a269820eaa127b12b.zip |
[statistics] Make filtering more dynamic, remove hard cutoff from summary
Diffstat (limited to 'modules-available/statistics/templates/id44.html')
-rw-r--r-- | modules-available/statistics/templates/id44.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules-available/statistics/templates/id44.html b/modules-available/statistics/templates/id44.html index f0b5b9f7..84b515d1 100644 --- a/modules-available/statistics/templates/id44.html +++ b/modules-available/statistics/templates/id44.html @@ -6,14 +6,16 @@ <div class="panel-body"> <div class="row"> <div class="col-sm-6"> - <table class="table table-condensed table-striped"> + <table class="filter-col table table-condensed table-striped" data-filter-col="hddgb"> <tr> <th>{{lang_partitionSize}}</th> <th class="text-right">{{lang_machineCount}}</th> </tr> {{#rows}} <tr id="tmpid{{gb}}" class="{{class}}"> - <td class="text-left slx-nowrap"><a href="?do=Statistics&show=stat&filters={{query}}~,~hddgb={{gb}}">{{gb}} GiB</td> + <td class="text-left text-nowrap"> + <a class="filter-val" data-filter-val="{{gb}}" href="?do=Statistics&show=stat&filters={{query}}~,~hddgb={{gb}}">{{gb}} GiB</a> + </td> <td class="text-right">{{count}}</td> </tr> {{/rows}} @@ -35,7 +37,6 @@ return; } sel = $('#tmpid' + String(tooltip.text)); - console.log('#tmpid' + String(tooltip.text)); sel.addClass('slx-bold'); } }); |