From 447f0c81713e567706c970d5c8fdea732dac52d4 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 20 Nov 2018 10:50:03 +0100 Subject: luci-mod-system: restructure administration pages Split password, dropbear and SSH key configuration into separate pages in order to improve the form layout and to simplify the code. Signed-off-by: Jo-Philipp Wich --- .../luasrc/view/admin_system/password.htm | 70 ++++++ .../luasrc/view/admin_system/sshkeys.htm | 245 +++++++++++++++++++++ 2 files changed, 315 insertions(+) create mode 100644 modules/luci-mod-system/luasrc/view/admin_system/password.htm create mode 100644 modules/luci-mod-system/luasrc/view/admin_system/sshkeys.htm (limited to 'modules/luci-mod-system/luasrc/view/admin_system') diff --git a/modules/luci-mod-system/luasrc/view/admin_system/password.htm b/modules/luci-mod-system/luasrc/view/admin_system/password.htm new file mode 100644 index 0000000000..3aff9c981c --- /dev/null +++ b/modules/luci-mod-system/luasrc/view/admin_system/password.htm @@ -0,0 +1,70 @@ +<%+header%> + + + + + +
+

<%:Router Password%>

+ +
+ <%:Changes the administrator password for accessing the device%> +
+ +
+
+ +
+ +
+
+ +
+ +
+ +
+
+
+
+ +
+ +
+ +<%+footer%> diff --git a/modules/luci-mod-system/luasrc/view/admin_system/sshkeys.htm b/modules/luci-mod-system/luasrc/view/admin_system/sshkeys.htm new file mode 100644 index 0000000000..acf008adf3 --- /dev/null +++ b/modules/luci-mod-system/luasrc/view/admin_system/sshkeys.htm @@ -0,0 +1,245 @@ +<%+header%> + + + + + +
+

<%:SSH-Keys%>

+ +
+ <%_Public keys allow for the passwordless SSH logins with a higher security compared to the use of plain passwords. In order to upload a new key to the device, paste an OpenSSH compatible public key line or drag a .pub file into the input field.%> +
+ +
+
+

<%:Loading SSH keys…%>

+
+
<%:Add key%>
+
+
+
+
+ +<%+footer%> -- cgit v1.2.3