luci-app-adblock: partly revert last commit 1867/head
authorDirk Brenken <dev@brenken.org>
Fri, 8 Jun 2018 07:34:47 +0000 (09:34 +0200)
committerDirk Brenken <dev@brenken.org>
Fri, 8 Jun 2018 07:34:47 +0000 (09:34 +0200)
* use now CSS for non breaking spaces in div table header

Signed-off-by: Dirk Brenken <dev@brenken.org>
applications/luci-app-adblock/luasrc/model/cbi/adblock/overview_tab.lua
applications/luci-app-adblock/luasrc/view/adblock/blocklist.htm

index 353aa6ac92535fbc31636c12edc5dbb87bc0d674..da783e3361b68858df353a1eb52ba6bc680c8881 100644 (file)
@@ -171,7 +171,7 @@ bl.template = "adblock/blocklist"
 name = bl:option(Flag, "enabled", translate("Enabled"))
 name.rmempty = false
 
-ssl = bl:option(DummyValue, "adb_src", translate("SSL&#160;req."))
+ssl = bl:option(DummyValue, "adb_src", translate("SSL req."))
 function ssl.cfgvalue(self, section)
        local source = self.map:get(section, "adb_src")
        if source and source:match("https://") then
@@ -183,7 +183,7 @@ end
 
 des = bl:option(DummyValue, "adb_src_desc", translate("Description"))
 
-cat = bl:option(DynamicList, "adb_src_cat", translate("Archive&#160;Categories"))
+cat = bl:option(DynamicList, "adb_src_cat", translate("Archive Categories"))
 cat.datatype = "uciname"
 cat.optional = true
 
index e75c89b82053a3a82bb85143fd8338b9cbf322f4..81622e9bc6dc7e7dbd0cbfb986409eb54d29d303 100644 (file)
@@ -35,6 +35,10 @@ end
        line-height:20px;
        height:20px;
 }
+.table.cbi-section-table .th
+{
+       white-space:nowrap;
+}
 .table.cbi-section-table input
 {
        width:7em;