summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-adblock/luasrc/view/adblock/logread.htm
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2018-07-25 21:39:22 +0200
committerDirk Brenken <dev@brenken.org>2018-07-25 21:39:22 +0200
commit771672ff7a654439dfe3b7b8661c90a1cca0ac6c (patch)
tree519c8f89cc612fa7735dd1330eac525d9da9542b /applications/luci-app-adblock/luasrc/view/adblock/logread.htm
parent8d7ebf057222078193b1b753084c35eabe605405 (diff)
luci-app-adblock: small visual fixes
* made readonly textarea (logview) scrollable again (bootstrap theme) * align "Query" input button Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-adblock/luasrc/view/adblock/logread.htm')
-rw-r--r--applications/luci-app-adblock/luasrc/view/adblock/logread.htm17
1 files changed, 16 insertions, 1 deletions
diff --git a/applications/luci-app-adblock/luasrc/view/adblock/logread.htm b/applications/luci-app-adblock/luasrc/view/adblock/logread.htm
index bb8d652fbc..b505233490 100644
--- a/applications/luci-app-adblock/luasrc/view/adblock/logread.htm
+++ b/applications/luci-app-adblock/luasrc/view/adblock/logread.htm
@@ -4,6 +4,21 @@ This is free software, licensed under the Apache License, Version 2.0
-%>
<%+header%>
+<style type="text/css">
+ select[readonly],
+ textarea[readonly]
+ {
+ width: 100%;
+ height: 450px;
+ border: 1px solid #cccccc;
+ padding: 5px;
+ font-size: 12px;
+ font-family: monospace;
+ resize: none;
+ pointer-events: auto;
+ cursor: auto;
+ }
+</style>
<script type="text/javascript">
//<![CDATA[
@@ -28,7 +43,7 @@ This is free software, licensed under the Apache License, Version 2.0
<div class="cbi-map">
<div class="cbi-section">
<div class="cbi-section-descr"><%:The syslog output, pre-filtered for adblock related messages only.%></div>
- <textarea id="view_id" style="width:100%;height:450px;border:1px solid #cccccc;padding:5px;font-size:12px;font-family:monospace;resize:none;" readonly="readonly" wrap="off" value=""></textarea>
+ <textarea id="view_id" readonly="readonly" wrap="off" value=""></textarea>
</div>
</div>