diff options
author | Simon Rettberg | 2018-06-28 12:37:10 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-06-28 12:37:10 +0200 |
commit | e778ad169141aadb3372f5f1778e735c0aa99676 (patch) | |
tree | 925c018e01a8d5e3c7b82b8073abccfee6713c56 /modules-available/serversetup-bwlp | |
parent | [serversetup-bwlp] Simplify sorting of menu entries (diff) | |
download | slx-admin-e778ad169141aadb3372f5f1778e735c0aa99676.tar.gz slx-admin-e778ad169141aadb3372f5f1778e735c0aa99676.tar.xz slx-admin-e778ad169141aadb3372f5f1778e735c0aa99676.zip |
[serversetup-bwlp] Slightly nicer colors; html cleanup
Diffstat (limited to 'modules-available/serversetup-bwlp')
-rw-r--r-- | modules-available/serversetup-bwlp/templates/menu-edit.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules-available/serversetup-bwlp/templates/menu-edit.html b/modules-available/serversetup-bwlp/templates/menu-edit.html index aa748c3a..4fabd11c 100644 --- a/modules-available/serversetup-bwlp/templates/menu-edit.html +++ b/modules-available/serversetup-bwlp/templates/menu-edit.html @@ -55,10 +55,10 @@ <th>{{lang_password}}</th> </tr> </thead> - <tbody id="tableBody" style="overflow: auto;"> + <tbody id="table-body" style="overflow: auto;"> {{#entries}} <tr id="{{menuentryid}}"> - <input type="hidden" class="form-control sort-val" name="entry[{{menuentryid}}][sortval]" id="entry-sortval-{{menuentryid}}" value="{{sortval}}" {{readonly}}> + <input type="hidden" class="sort-val" name="entry[{{menuentryid}}][sortval]" value="{{sortval}}"> <td class="drag-handler" style="cursor: pointer;text-align: center; vertical-align: middle;"> <span class="glyphicon glyphicon-th-list"></span> </td> @@ -120,13 +120,13 @@ <script type="text/javascript"> document.addEventListener("DOMContentLoaded", function() { - $('#tableBody').sortable({ + $('#table-body').sortable({ opacity: 0.8, handle: '.drag-handler', start: function(evt, ui) { ui.placeholder.css("visibility", "visible"); ui.placeholder.css("opacity", "0.152"); - ui.placeholder.css("background-color", "LawnGreen"); + ui.placeholder.css("background-color", "#ddd"); }, stop: function() { var startValue = 1; |