summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-adblock/luasrc/view/adblock/blocklist.htm
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2018-11-14 11:48:45 +0100
committerGitHub <noreply@github.com>2018-11-14 11:48:45 +0100
commit206df14e7333f8d229d09ab5bb057fbfe1e4b43d (patch)
tree0993d84924b689ea68eb38e28fc2e877845c792a /applications/luci-app-adblock/luasrc/view/adblock/blocklist.htm
parentcb6353c193428c1cf79026666a623dbf3a46a785 (diff)
parent253f912f174046543380076d735ea0cb14f2cccb (diff)
Merge pull request #2283 from dibdot/adblock
luci-app-adblock: consolidate css
Diffstat (limited to 'applications/luci-app-adblock/luasrc/view/adblock/blocklist.htm')
-rw-r--r--applications/luci-app-adblock/luasrc/view/adblock/blocklist.htm37
1 files changed, 1 insertions, 36 deletions
diff --git a/applications/luci-app-adblock/luasrc/view/adblock/blocklist.htm b/applications/luci-app-adblock/luasrc/view/adblock/blocklist.htm
index a6f2286513..e145a3b4ef 100644
--- a/applications/luci-app-adblock/luasrc/view/adblock/blocklist.htm
+++ b/applications/luci-app-adblock/luasrc/view/adblock/blocklist.htm
@@ -7,42 +7,7 @@ This is free software, licensed under the Apache License, Version 2.0
local anonclass = (not self.anonymous or self.sectiontitle) and "named" or "anonymous"
-%>
-<style type="text/css">
-.table.cbi-section-table .th,
-.table.cbi-section-table .td,
-.cbi-section-table-cell,
-.cbi-section-table-row,
-.tr[data-title]::before
-{
- text-align: left;
- vertical-align: top;
- margin-left: 0px;
- padding-left: 2px;
-}
-.table.cbi-section-table .th
-{
- white-space: nowrap;
-}
-.table.cbi-section-table input
-{
- width: 7em;
-}
-.cbi-section-table-row > .cbi-value-field [data-dynlist] > input,
-.table.cbi-section-table input
-{
- width: 7em;
-}
-
-.cbi-input-text
-{
- text-align: left;
- padding-left: 2px;
- outline: none;
- box-shadow: none;
- background: transparent;
- width: 7em;
-}
-</style>
+<%+adblock/adblock_css%>
<div class="cbi-section" id="cbi-<%=self.config%>-<%=self.sectiontype%>">
<% if self.title then -%>