summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/templates/cpumodels.html
diff options
context:
space:
mode:
authorSimon Rettberg2016-08-02 12:31:39 +0200
committerSimon Rettberg2016-08-02 12:31:39 +0200
commit5445af45404b7941c2b729c8b90fb623fb8cbd17 (patch)
tree0c306519a32cc618f4cf8adc2b932dd5a6dc35ff /modules-available/statistics/templates/cpumodels.html
parent[statistics] Fix class name typo (diff)
downloadslx-admin-5445af45404b7941c2b729c8b90fb623fb8cbd17.tar.gz
slx-admin-5445af45404b7941c2b729c8b90fb623fb8cbd17.tar.xz
slx-admin-5445af45404b7941c2b729c8b90fb623fb8cbd17.zip
[statistics] Tweak layout, ellipsis in table without ruining layout (super awesome solution)
Diffstat (limited to 'modules-available/statistics/templates/cpumodels.html')
-rw-r--r--modules-available/statistics/templates/cpumodels.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/modules-available/statistics/templates/cpumodels.html b/modules-available/statistics/templates/cpumodels.html
index 0ab5286f..20da4697 100644
--- a/modules-available/statistics/templates/cpumodels.html
+++ b/modules-available/statistics/templates/cpumodels.html
@@ -6,17 +6,18 @@
<div class="panel-body">
<div class="row">
<div class="col-md-8">
- <table class="table table-condensed table-striped table-responsive"
- style="table-layout: fixed;">
+ <table class="table table-condensed table-striped table-responsive">
<tr>
<th>{{lang_modelName}}</th>
- <th class="text-right">{{lang_cpuCores}}</th>
- <th class="text-right">{{lang_modelCount}}</th>
+ <th class="text-right text-nowrap">{{lang_cpuCores}}</th>
+ <th class="text-right text-nowrap">{{lang_modelCount}}</th>
</tr>
{{#rows}}
<tr id="{{id}}">
- <td class="text-left text-nowrap filter-col" data-filter-col="systemmodel" style="overflow:hidden;text-overflow: ellipsis;">
+ <td class="text-left text-nowrap filter-col" data-filter-col="systemmodel">
+ <table style="width:100%; table-layout: fixed;"><tr><td style="overflow:hidden;text-overflow: ellipsis;">
<a class="filter-val" data-filter-val="{{systemmodel}}" href="?do=Statistics&amp;show=stat&amp;filters={{query}}~,~systemmodel={{urlsystemmodel}}">{{systemmodel}}</a>
+ </td></tr></table>
</td>
<td class="text-right filter-col" data-filter-col="realcores">
<a class="filter-val" data-filter-val="{{cores}}" href="?do=Statistics&amp;show=stat&amp;filters={{query}}~,~realcores={{cores}}">{{cores}}</a>