From 067d7dc9f708d5ebeda1072fb6dc82e960de0d81 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 28 May 2018 14:57:54 +0200 Subject: treewide: convert HTML tables to div Mostly convert HTML tables to div based markup to allow for easier styling in the future. Also change JS accessor code accordingly. Signed-off-by: Jo-Philipp Wich --- .../view/advanced_reboot/advanced_reboot.htm | 56 +++++++++++----------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'applications/luci-app-advanced-reboot') diff --git a/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm b/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm index 0629c84b36..5f7429dfd1 100644 --- a/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm +++ b/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm @@ -21,24 +21,24 @@ <%- if device_name then -%>
<%=device_name%><%: Partitions%> - - - - - - - - - - - - - - - - - - - -
<%:Partition%><%:Status%><%:Firmware/OS (Kernel)%><%:Action%>
+
+
+
<%:Partition%>
+
<%:Status%>
+
<%:Firmware/OS (Kernel)%>
+
<%:Action%>
+
+
+
<%=string.format("%X", boot_envvar1_partition_one)%> -
+ +
<%- if boot_envvar1_partition_one == current_partition then -%><%:Current%><%- else -%><%:Alternative%><%- end -%> -
+ +
<%=partition_one_os%> -
+ +
<%- if boot_envvar1_partition_one == current_partition then -%>
@@ -50,19 +50,19 @@
<%- end -%> -
+ + +
+
<%=string.format("%X", boot_envvar1_partition_two)%> -
+ +
<%- if boot_envvar1_partition_two == current_partition then -%><%:Current%><%- else -%><%:Alternative%><%- end -%> -
+ +
<%=partition_two_os%> -
+ +
<%- if boot_envvar1_partition_two == current_partition then -%>
@@ -74,9 +74,9 @@
<%- end -%> -
+ + +
<%- else -%>

<%:Warning: This system does not have two partitions!%>

-- cgit v1.2.3