From 5309badac125114399ec2cf39b095e0d9efcd09f Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 15 Feb 2018 13:18:56 +0100 Subject: [rebootcontrol] Rewrite permission handling, simplify html/javascript --- .../rebootcontrol/templates/_page.html | 162 ++++++--------------- .../rebootcontrol/templates/header.html | 63 ++++++++ 2 files changed, 111 insertions(+), 114 deletions(-) create mode 100644 modules-available/rebootcontrol/templates/header.html (limited to 'modules-available/rebootcontrol/templates') diff --git a/modules-available/rebootcontrol/templates/_page.html b/modules-available/rebootcontrol/templates/_page.html index e540cafb..82f82b02 100644 --- a/modules-available/rebootcontrol/templates/_page.html +++ b/modules-available/rebootcontrol/templates/_page.html @@ -1,26 +1,5 @@ - - -
-
-
- - - - - -
-
@@ -53,7 +32,7 @@ -
{{#status}}{{currentsession}}{{/status}} {{#status}}{{currentuser}}{{/status}} +
@@ -69,25 +48,6 @@ - - @@ -115,11 +75,11 @@
@@ -128,104 +88,76 @@ \ No newline at end of file -- cgit v1.2.3-55-g7522