luci-app-adblock: sync with adblock 3.4.1
[project/luci.git] / applications / luci-app-adblock / luasrc / view / adblock / logread.htm
1 <%#
2 Copyright 2017-2018 Dirk Brenken (dev@brenken.org)
3 This is free software, licensed under the Apache License, Version 2.0
4 -%>
5
6 <%+header%>
7
8 <div class="cbi-map">
9 <fieldset class="cbi-section">
10 <div class="cbi-section-descr"><%:This form shows the syslog output, pre-filtered for adblock related messages only.%></div>
11 <textarea id="logread_id" style="width: 100%; height: 450px; border: 1px solid #cccccc; padding: 5px; font-size: 12px; font-family: monospace; resize: none;" readonly="readonly" wrap="off" rows="<%=content:cmatch("\n")+2%>"><%=content:pcdata()%></textarea>
12 </fieldset>
13 </div>
14
15 <script type="text/javascript">
16 var textarea = document.getElementById('logread_id');
17 textarea.scrollTop = textarea.scrollHeight;
18 </script>
19
20 <%+footer%>