From e489a82ac3d780a8851220b79e6fd62b0eb5ce34 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 3 Jul 2018 17:58:00 +0200 Subject: luci-mod-admin-full: rework flashops page markup Signed-off-by: Jo-Philipp Wich --- .../luasrc/view/admin_system/flashops.htm | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/flashops.htm b/modules/luci-mod-admin-full/luasrc/view/admin_system/flashops.htm index dfdcb7f70..ee9c2f8fd 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_system/flashops.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_system/flashops.htm @@ -14,8 +14,8 @@
-

<%:Backup / Restore%>

-
<%:Click "Generate archive" to download a tar archive of the current configuration files. To reset the firmware to its initial state, click "Perform reset" (only possible with squashfs images).%>
+

<%:Backup%>

+
<%:Click "Generate archive" to download a tar archive of the current configuration files.%>
@@ -26,6 +26,11 @@
+ + +

<%:Restore%>

+
<%:To restore configuration files, you can upload a previously generated backup archive here. To reset the firmware to its initial state, click "Perform reset" (only possible with squashfs images).%>
+
<% if reset_avail then %>
@@ -37,9 +42,6 @@
<% end %> - -
<%:To restore configuration files, you can upload a previously generated backup archive here.%>
-
@@ -47,6 +49,9 @@ + <% if reset_avail then %> +
<%:Custom files (certificates, scripts) may remain on the system. To prevent this, perform a factory-reset first.%>
+ <% end %>
@@ -54,9 +59,6 @@
<%:The backup archive does not appear to be a valid gzip file.%>
<% end %> - <% if reset_avail then %> -
<%:Custom files (certificates, scripts) may remain on the system. To prevent this, perform a factory-reset first.%>
- <% end %>
-- cgit v1.2.3