summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-adblock/luasrc/view/adblock
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2018-06-07 21:14:06 +0200
committerDirk Brenken <dev@brenken.org>2018-06-07 21:14:06 +0200
commita561d3045c91b59dffd1aa7b496168cac9ff19e4 (patch)
treeb24a821ad922a1dee909012c2026bcaf2dc4e283 /applications/luci-app-adblock/luasrc/view/adblock
parent7be3f0400c95f810651e7e8c70add589176ae04b (diff)
luci-app-adblock: sync with adblock 3.5.3
* small fixes & cosmetics Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-adblock/luasrc/view/adblock')
-rw-r--r--applications/luci-app-adblock/luasrc/view/adblock/blocklist.htm20
-rw-r--r--applications/luci-app-adblock/luasrc/view/adblock/query.htm2
2 files changed, 14 insertions, 8 deletions
diff --git a/applications/luci-app-adblock/luasrc/view/adblock/blocklist.htm b/applications/luci-app-adblock/luasrc/view/adblock/blocklist.htm
index 424a72f6f..e75c89b82 100644
--- a/applications/luci-app-adblock/luasrc/view/adblock/blocklist.htm
+++ b/applications/luci-app-adblock/luasrc/view/adblock/blocklist.htm
@@ -22,25 +22,31 @@ end
-%>
<style type="text/css">
-table.cbi-section-table th,
-table.cbi-section-table td,
+.table.cbi-section-table .th,
+.table.cbi-section-table .td,
.cbi-section-table-cell,
-.cbi-section-table-row,
-.cbi-input-text
+.cbi-section-table-row
{
text-align:left;
vertical-align:top;
margin-right:auto;
margin-left:0px;
+ padding-left:2px;
+ line-height:20px;
+ height:20px;
+}
+.table.cbi-section-table input
+{
+ width:7em;
}
.cbi-input-text
{
+ text-align:left;
+ padding-left:2px;
outline:none;
box-shadow:none;
background:transparent;
- padding-left:2px;
- line-height:25px;
- height:25px;
+ height:20px;
width:10em;
}
</style>
diff --git a/applications/luci-app-adblock/luasrc/view/adblock/query.htm b/applications/luci-app-adblock/luasrc/view/adblock/query.htm
index 8bbc92664..8bbed3a53 100644
--- a/applications/luci-app-adblock/luasrc/view/adblock/query.htm
+++ b/applications/luci-app-adblock/luasrc/view/adblock/query.htm
@@ -35,7 +35,7 @@ This is free software, licensed under the Apache License, Version 2.0
else
{
input.style.display = 'none';
- output.innerHTML = '<span class="error"><%:Invalid domain specified!%></span>';
+ output.innerHTML = '<span class="error"><%:Blocklist not found!%></span>';
}
}
);