From b1b0de62a9c6e1ffa65bedb5b68c1d911a8569a9 Mon Sep 17 00:00:00 2001 From: Christian Hofmaier Date: Tue, 20 Mar 2018 10:26:44 +0100 Subject: [usb-lock-off] config names can now be as long as they want to + fixed table widths for nicer looks --- modules-available/usblockoff/style.css | 16 ++++++++++++++++ .../usblockoff/templates/usb-configuration-table.html | 8 ++++---- .../usblockoff/templates/usb-edit-config.html | 2 +- 3 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 modules-available/usblockoff/style.css (limited to 'modules-available') diff --git a/modules-available/usblockoff/style.css b/modules-available/usblockoff/style.css new file mode 100644 index 00000000..f2dbce70 --- /dev/null +++ b/modules-available/usblockoff/style.css @@ -0,0 +1,16 @@ +#configurationTable { + table-layout: fixed; + width: 100%; +} + +#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 3ceebce5..48ba3184 100644 --- a/modules-available/usblockoff/templates/usb-configuration-table.html +++ b/modules-available/usblockoff/templates/usb-configuration-table.html @@ -65,10 +65,10 @@
{{lang_serverName}} | -{{lang_ruleInfoTODO}} | -{{lang_edit}} | -{{lang_delete}} | +{{lang_serverName}} | +{{lang_ruleInfoTODO}} | +{{lang_edit}} | +{{lang_delete}} |
---|