From 83c68a8b2fe7a7ea991f706d717d879ed150ea9f Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Wed, 14 Nov 2018 11:43:39 +0100 Subject: luci-app-travelmate: consolidate css * fix IE Edge rendering issues * merge external styles in central css Signed-off-by: Dirk Brenken --- .../model/cbi/travelmate/cfg_firewall_tab.lua | 2 +- .../model/cbi/travelmate/cfg_network_tab.lua | 2 +- .../model/cbi/travelmate/cfg_wireless_tab.lua | 2 +- .../model/cbi/travelmate/configuration_tab.lua | 2 +- .../luasrc/view/travelmate/config_css.htm | 13 --- .../luasrc/view/travelmate/logread.htm | 17 +-- .../luasrc/view/travelmate/runtime.htm | 20 +--- .../luasrc/view/travelmate/travelmate_css.htm | 116 +++++++++++++++++++++ 8 files changed, 126 insertions(+), 48 deletions(-) delete mode 100644 applications/luci-app-travelmate/luasrc/view/travelmate/config_css.htm create mode 100644 applications/luci-app-travelmate/luasrc/view/travelmate/travelmate_css.htm (limited to 'applications') 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%>