summaryrefslogtreecommitdiffstats
path: root/modules-available/usblockoff/templates/usb-rules-config.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/usblockoff/templates/usb-rules-config.html')
-rw-r--r--modules-available/usblockoff/templates/usb-rules-config.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/modules-available/usblockoff/templates/usb-rules-config.html b/modules-available/usblockoff/templates/usb-rules-config.html
index a5347a27..eb6bea59 100644
--- a/modules-available/usblockoff/templates/usb-rules-config.html
+++ b/modules-available/usblockoff/templates/usb-rules-config.html
@@ -16,14 +16,14 @@
<div class="list-group">
<input type="hidden" name="rules" value="" id="rules">
- <table id="rulesTable" class="table table-condensed table-hover">
+ <table id="rulesTable" class="table table-condensed table-hover fixedTableLayout">
<thead>
<tr>
- <th data-sort="string" width="20"><span class="glyphicon glyphicon-th-list"></span></th>
- <th width="120">{{lang_action}}</th>
- <th>{{lang_attributes}}</th>
- <th>{{lang_edit}}</th>
- <th>{{lang_delete}}</th>
+ <th style="width: 10%" data-sort="string"><span class="glyphicon glyphicon-th-list"></span></th>
+ <th style="width: 20%" class="tableWrapBreakWord" width="120">{{lang_action}}</th>
+ <th style="width: 50%" class="tableWrapBreakWord">{{lang_attributes}}</th>
+ <th style="width: 10%" class="tableWrapBreakWord">{{lang_edit}}</th>
+ <th style="width: 10%" class="tableWrapBreakWord">{{lang_delete}}</th>
</tr>
</thead>
<tbody id="tableBody" style="overflow: auto;">
@@ -34,8 +34,8 @@
<td class="drag-handler" style="cursor: pointer;text-align: center; vertical-align: middle;">
<span class="glyphicon glyphicon-th-list"></span>
</td>
- <td style="vertical-align: middle; text-align: center;">{{target}}</td>
- <td>
+ <td class="tableWrapBreakWord" style="vertical-align: middle; text-align: center;">{{target}}</td>
+ <td class="tableWrapBreakWord">
{{#attributes}}
{{prop}}: {{value}}<br>
{{/attributes}}
@@ -43,12 +43,12 @@
<a class="label label-default overload" style="background-color: #337ab7;" title="{{attributes_overload}}">+{{num_overload}}</a>
{{/hasoverload}}
</td>
- <td>
+ <td class="tableWrapBreakWord">
<a class="btn btn-xs btn-info" href="?do=usblockoff&show=edit-rule&ruleid={{id}}&configid={{configid}}">
<span class="glyphicon glyphicon-edit"></span>
</a>
</td>
- <td>
+ <td class="tableWrapBreakWord">
<a class="btn btn-xs btn-danger" href="?do=usblockoff&action=deleteRule&id={{id}}&configid={{configid}}">
<span class="glyphicon glyphicon-trash"></span>
</a>