From 8055acc9be89f0bed31b6692ad08e6196611d478 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 13 Nov 2021 23:59:39 +0100 Subject: luci-theme-bootstrap: overhaul styles Signed-off-by: Jo-Philipp Wich --- .../luasrc/view/themes/bootstrap/footer.htm | 31 +++++++++++----------- .../luasrc/view/themes/bootstrap/header.htm | 12 ++------- .../luasrc/view/themes/bootstrap/sysauth.htm | 24 +++++++++++++++++ 3 files changed, 42 insertions(+), 25 deletions(-) create mode 100644 themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/sysauth.htm (limited to 'themes/luci-theme-bootstrap/luasrc/view') diff --git a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/footer.htm b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/footer.htm index 7b84772180..48d9b98b92 100644 --- a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/footer.htm +++ b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/footer.htm @@ -1,20 +1,21 @@ <%# - Copyright 2008 Steven Barth - Copyright 2008 Jo-Philipp Wich - Copyright 2012 David Menting - Licensed to the public under the Apache License 2.0. + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Copyright 2012 David Menting + Licensed to the public under the Apache License 2.0. -%> -<% local ver = require "luci.version" %> - - - - - + <% if not blank_page then %> + <% local ver = require "luci.version" %> + + + + <% end %> + diff --git a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm index a3f28fd709..0a93165f57 100644 --- a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm +++ b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm @@ -56,6 +56,7 @@ "> + <% if not blank_page then %>
<%=striptags(boardinfo.hostname or "?")%> @@ -73,16 +74,6 @@ <%- end -%> - <%- if boardinfo.rootfs_type == "initramfs" then -%> -
-

<%:System running in recovery (initramfs) mode.%>

-

<%:No changes to settings will be stored and are lost after rebooting. This mode should only be used to install a firmware upgrade%>

- <% if disp.lookup("admin/system/flash") then %> - - <% end %> -
- <%- end -%> -