luci-app-mwan3: remove config_css
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 17 Jan 2018 14:25:06 +0000 (15:25 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Thu, 18 Jan 2018 14:09:28 +0000 (15:09 +0100)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
applications/luci-app-mwan3/luasrc/model/cbi/mwan/member.lua
applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua
applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua
applications/luci-app-mwan3/luasrc/view/mwan/config_css.htm [deleted file]

index aa7daab1d26d3e9f231ced86223fbf1020aa1eb5..67030cc8db4bedcc1b9e3c8f8ce6d9ad8a267165 100644 (file)
@@ -4,8 +4,6 @@ ds = require "luci.dispatcher"
 
 
 m5 = Map("mwan3", translate("MWAN - Members"))
-       m5:append(Template("mwan/config_css"))
-
 
 mwan_member = m5:section(TypedSection, "member", nil,
        translate("Members are profiles attaching a metric and weight to an MWAN interface<br />" ..
index 363ba91292f2aa475de1cdc27416509f3934a0d3..6de5ae82bc3a92abc0a60df90a7ba80d03981298 100644 (file)
@@ -31,7 +31,6 @@ policyCheck()
 
 m5 = Map("mwan3", translate("MWAN - Policies"),
        policyWarn())
-       m5:append(Template("mwan/config_css"))
 
 
 mwan_policy = m5:section(TypedSection, "policy", nil,
index 9134bbc6acaafc7d85008594c793b1568d7578fd..bdabd38f348217b7ac23caf3b48bc7ebdd5c05eb 100644 (file)
@@ -35,8 +35,6 @@ ruleCheck()
 
 m5 = Map("mwan3", translate("MWAN - Rules"),
        ruleWarn())
-       m5:append(Template("mwan/config_css"))
-
 
 mwan_rule = m5:section(TypedSection, "rule", nil,
        translate("Rules specify which traffic will use a particular MWAN policy based on IP address, port or protocol<br />" ..
diff --git a/applications/luci-app-mwan3/luasrc/view/mwan/config_css.htm b/applications/luci-app-mwan3/luasrc/view/mwan/config_css.htm
deleted file mode 100644 (file)
index 5d91c53..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<style type="text/css">
-  table td {   /* cells showing the configuration values */
-       padding: 0px;
-       text-align: center;
-       vertical-align: middle;
-  }
-  table th {   /* column for configuration section name */
-       padding: 0px;
-       text-align: center;
-       vertical-align: middle;
-  }
-  table tbody th {     /* column for configuration section name */
-       padding: 0px;
-       vertical-align: middle;
-  }
-  .cbi-section-node table div {        /* rows */
-       padding-top: 5px;
-  }
-  table.cbi-section-table td.cbi-section-table-cell {  /* sort buttons column */
-       text-align: center;
-  }
-  .cbi-section h3 {
-       color: rgb(85, 85, 85);
-       font-family: Trebuchet MS,Verdana,sans-serif;
-       font-style: italic;
-       font-weight: normal;
-  }
-</style>