From: Dirk Brenken Date: Wed, 14 Nov 2018 10:43:39 +0000 (+0100) Subject: luci-app-travelmate: consolidate css X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=83c68a8b2fe7a7ea991f706d717d879ed150ea9f;p=oweals%2Fluci.git luci-app-travelmate: consolidate css * fix IE Edge rendering issues * merge external styles in central css Signed-off-by: Dirk Brenken --- diff --git a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/cfg_firewall_tab.lua b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/cfg_firewall_tab.lua index fea190e9b..8597912b2 100644 --- a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/cfg_firewall_tab.lua +++ b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/cfg_firewall_tab.lua @@ -11,7 +11,7 @@ if not fs.access(input) then end m = SimpleForm("input", nil) -m:append(Template("travelmate/config_css")) +m:append(Template("travelmate/travelmate_css")) m.submit = translate("Save") m.reset = false diff --git a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/cfg_network_tab.lua b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/cfg_network_tab.lua index 6f0ade772..36a32aefe 100644 --- a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/cfg_network_tab.lua +++ b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/cfg_network_tab.lua @@ -11,7 +11,7 @@ if not fs.access(input) then end m = SimpleForm("input", nil) -m:append(Template("travelmate/config_css")) +m:append(Template("travelmate/travelmate_css")) m.submit = translate("Save") m.reset = false diff --git a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/cfg_wireless_tab.lua b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/cfg_wireless_tab.lua index ab59dfb37..bb6205b9b 100644 --- a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/cfg_wireless_tab.lua +++ b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/cfg_wireless_tab.lua @@ -11,7 +11,7 @@ if not fs.access(input) then end m = SimpleForm("input", nil) -m:append(Template("travelmate/config_css")) +m:append(Template("travelmate/travelmate_css")) m.submit = translate("Save") m.reset = false diff --git a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/configuration_tab.lua b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/configuration_tab.lua index 7bb32c1ec..c9cc587ed 100644 --- a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/configuration_tab.lua +++ b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/configuration_tab.lua @@ -13,7 +13,7 @@ if not fs.access(input) then end m = SimpleForm("input", nil) -m:append(Template("travelmate/config_css")) +m:append(Template("travelmate/travelmate_css")) m.submit = translate("Save") m.reset = false diff --git a/applications/luci-app-travelmate/luasrc/view/travelmate/config_css.htm b/applications/luci-app-travelmate/luasrc/view/travelmate/config_css.htm deleted file mode 100644 index 2233a15e3..000000000 --- a/applications/luci-app-travelmate/luasrc/view/travelmate/config_css.htm +++ /dev/null @@ -1,13 +0,0 @@ - diff --git a/applications/luci-app-travelmate/luasrc/view/travelmate/logread.htm b/applications/luci-app-travelmate/luasrc/view/travelmate/logread.htm index 4457296f5..25c29b8bb 100644 --- a/applications/luci-app-travelmate/luasrc/view/travelmate/logread.htm +++ b/applications/luci-app-travelmate/luasrc/view/travelmate/logread.htm @@ -4,22 +4,7 @@ This is free software, licensed under the Apache License, Version 2.0 -%> <%+header%> - - +<%+travelmate/travelmate_css%>