summaryrefslogtreecommitdiffstats
path: root/modules-available
diff options
context:
space:
mode:
authorChristian Hofmaier2018-03-20 11:58:45 +0100
committerChristian Hofmaier2018-03-20 11:58:45 +0100
commitaceaace91430d14e615cfaa838a2ec7b22adeb94 (patch)
tree56f32da15e63ae4a028dd97576ac5b302e769966 /modules-available
parent[usb-lock-off] disabled add buttons if configuration isn't added to db yet (diff)
downloadslx-admin-aceaace91430d14e615cfaa838a2ec7b22adeb94.tar.gz
slx-admin-aceaace91430d14e615cfaa838a2ec7b22adeb94.tar.xz
slx-admin-aceaace91430d14e615cfaa838a2ec7b22adeb94.zip
[usb-lock-off] added id-column to config-table
Diffstat (limited to 'modules-available')
-rw-r--r--modules-available/usblockoff/style.css8
-rw-r--r--modules-available/usblockoff/templates/usb-configuration-table.html10
2 files changed, 6 insertions, 12 deletions
diff --git a/modules-available/usblockoff/style.css b/modules-available/usblockoff/style.css
index f2dbce70..5867511a 100644
--- a/modules-available/usblockoff/style.css
+++ b/modules-available/usblockoff/style.css
@@ -5,12 +5,4 @@
#configurationTable th, #configurationTable td {
word-wrap: break-word
-}
-
-.width40 {
- width: 40%;
-}
-
-.width10 {
- width: 10%;
} \ No newline at end of file
diff --git a/modules-available/usblockoff/templates/usb-configuration-table.html b/modules-available/usblockoff/templates/usb-configuration-table.html
index 48ba3184..45d0c229 100644
--- a/modules-available/usblockoff/templates/usb-configuration-table.html
+++ b/modules-available/usblockoff/templates/usb-configuration-table.html
@@ -65,15 +65,17 @@
<table id="configurationTable" class="table table-condensed table-hover stupidtable">
<thead>
<tr>
- <th class="width40" data-sort="string">{{lang_serverName}}</th>
- <th class="width40">{{lang_ruleInfoTODO}}</th>
- <th class="width10">{{lang_edit}}</th>
- <th class="width10">{{lang_delete}}</th>
+ <th style="width: 5%" data-sort="int">ID</th>
+ <th style="width: 40%" data-sort="string">{{lang_configName}}</th>
+ <th style="width: 35%">{{lang_ruleInfoTODO}}</th>
+ <th style="width: 10%">{{lang_edit}}</th>
+ <th style="width: 10%">{{lang_delete}}</th>
</tr>
</thead>
<tbody>
{{#config_list}}
<tr>
+ <td>{{config_id}}</td>
<td data-sort-value="{{config_name}}">{{config_name}}</td>
<td>TODO: Show Rule information here</td>
<td>