diff --git a/webui/assets/js/piler.js b/webui/assets/js/piler.js index b002e6a9..786a61e7 100644 --- a/webui/assets/js/piler.js +++ b/webui/assets/js/piler.js @@ -1270,6 +1270,17 @@ $(document).ready(function() { Piler.add_shortcuts(); break; + case 'customer/list': + $('#background-color-picker').on('input', function() { + var color = $(this).val(); + $('#background_colour').val(color); + }); + $('#text-color-picker').on('input', function() { + var color = $(this).val(); + $('#text_colour').val(color); + }); + break; + default: const s = window.location.href; if(/search.php#?$/.test(s)) { @@ -1279,5 +1290,4 @@ $(document).ready(function() { break; } - }); diff --git a/webui/templates/customer/list.tpl b/webui/templates/customer/list.tpl index 59e41751..5233e38b 100644 --- a/webui/templates/customer/list.tpl +++ b/webui/templates/customer/list.tpl @@ -91,7 +91,8 @@
- + +
@@ -103,7 +104,8 @@
- + +