summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/templates/cpumodels.html
diff options
context:
space:
mode:
authorChristian Klinger2016-07-21 13:25:01 +0200
committerChristian Klinger2016-07-21 13:25:01 +0200
commita83354dcbdf8cd5856b26cb829e207b348d41b35 (patch)
tree85378084fd17d6f3dd2c8762859e9c50c30b29db /modules-available/statistics/templates/cpumodels.html
parentAdded extra cancel buttons. (diff)
downloadslx-admin-a83354dcbdf8cd5856b26cb829e207b348d41b35.tar.gz
slx-admin-a83354dcbdf8cd5856b26cb829e207b348d41b35.tar.xz
slx-admin-a83354dcbdf8cd5856b26cb829e207b348d41b35.zip
use ellipsis via CSS to prevent long systemmodels to break the layout.
Diffstat (limited to 'modules-available/statistics/templates/cpumodels.html')
-rw-r--r--modules-available/statistics/templates/cpumodels.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules-available/statistics/templates/cpumodels.html b/modules-available/statistics/templates/cpumodels.html
index 1bc2e6ec..f4af9cd2 100644
--- a/modules-available/statistics/templates/cpumodels.html
+++ b/modules-available/statistics/templates/cpumodels.html
@@ -6,7 +6,8 @@
<div class="panel-body">
<div class="row">
<div class="col-md-8">
- <table class="table table-condensed table-striped">
+ <table class="table table-condensed table-striped table-responsive"
+ style="table-layout: fixed;">
<tr>
<th>{{lang_modelName}}</th>
<th class="text-right">{{lang_cpuCores}}</th>
@@ -14,7 +15,7 @@
</tr>
{{#rows}}
<tr id="{{id}}">
- <td class="text-left slx-nowrap">
+ <td class="text-left slx-nowrap" style="overflow:hidden;text-overflow: ellipsis;">
<a href="?do=Statistics&amp;show=stat&amp;filters={{query}}~,~systemmodel={{urlsystemmodel}}">{{systemmodel}}</a>
</td>
<td class="text-right"><a href="?do=Statistics&amp;show=stat&amp;filters={{query}}~,~realcores={{cores}}">{{cores}}</a></td>