From 4f921594bbe23f24a84e5a5e2b7425b01e7bd143 Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Thu, 19 Jul 2018 19:31:16 -0700 Subject: luci-app-advanced-reboot: change style of buttons to important Signed-off-by: Stan Grishin --- applications/luci-app-advanced-reboot/Makefile | 4 ++-- .../luasrc/controller/advanced_reboot.lua | 2 +- .../luasrc/view/advanced_reboot/advanced_reboot.htm | 14 +++++++------- .../luasrc/view/advanced_reboot/alternative_reboot.htm | 6 +++--- .../luasrc/view/advanced_reboot/power_off.htm | 6 +++--- 5 files changed, 16 insertions(+), 16 deletions(-) (limited to 'applications') diff --git a/applications/luci-app-advanced-reboot/Makefile b/applications/luci-app-advanced-reboot/Makefile index b1ecf677f0..08919640d7 100644 --- a/applications/luci-app-advanced-reboot/Makefile +++ b/applications/luci-app-advanced-reboot/Makefile @@ -1,4 +1,4 @@ -# Copyright (c) 2017 Stan Grishin (stangri@melmac.net) +# Copyright 2017-2018 Stan Grishin (stangri@melmac.net) # This is free software, licensed under the GNU General Public License v3. include $(TOPDIR)/rules.mk @@ -13,7 +13,7 @@ LUCI_DESCRIPTION:=Provides Web UI (found under System/Advanced Reboot) to reboot LUCI_DEPENDS:=+luci-mod-admin-full LUCI_PKGARCH:=all -PKG_RELEASE:=32 +PKG_RELEASE:=33 include ../../luci.mk diff --git a/applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua b/applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua index f4d28145ea..dd8071677e 100644 --- a/applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua +++ b/applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua @@ -1,4 +1,4 @@ --- Copyright 2017 Stan Grishin +-- Copyright 2017-2018 Stan Grishin -- Licensed to the public under the Apache License 2.0. module("luci.controller.advanced_reboot", package.seeall) 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 dcf51c749e..5c14f52ff8 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 @@ -1,7 +1,7 @@ <%# Copyright 2008 Steven Barth Copyright 2008-2015 Jo-Philipp Wich - Copyright 2017 Stan Grishin + Copyright 2017-2018 Stan Grishin Licensed to the public under the Apache License 2.0. -%> @@ -42,12 +42,12 @@ <%- if boot_envvar1_partition_one == current_partition then -%>
- +
<%- else -%>
- +
<%- end -%> @@ -66,12 +66,12 @@ <%- if boot_envvar1_partition_two == current_partition then -%>
- +
<%- else -%>
- +
<%- end -%> @@ -82,7 +82,7 @@ <%- if rom_board_name then -%>

<%=pcdata(translatef("Warning: Device (%s) is unknown or isn't a dual-partition device!", rom_board_name))%>

<%- else -%> -

<%:Warning: Unable to obtain device information!%>

+

<%=pcdata(translatef("Warning: Unable to obtain device information!"))%>

<%- end -%> <%- end -%> @@ -91,7 +91,7 @@ <%- if nixio.fs.access("/sbin/poweroff") then -%>
- +
<%- else -%>

<%:Warning: This system does not support powering off!%>

diff --git a/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm b/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm index 6325934094..b15f16b0d5 100644 --- a/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm +++ b/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm @@ -1,7 +1,7 @@ <%# Copyright 2008 Steven Barth Copyright 2008-2009 Jo-Philipp Wich - Copyright 2017 Stan Grishin + Copyright 2017-2018 Stan Grishin Licensed to the public under the Apache License 2.0. -%> @@ -21,8 +21,8 @@
- - + +
diff --git a/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm b/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm index 0ddea11e65..1acf01b995 100644 --- a/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm +++ b/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm @@ -1,7 +1,7 @@ <%# Copyright 2008 Steven Barth Copyright 2008-2009 Jo-Philipp Wich - Copyright 2017 Stan Grishin + Copyright 2017-2018 Stan Grishin Licensed to the public under the Apache License 2.0. -%> @@ -17,8 +17,8 @@
- - + +
-- cgit v1.2.3