Merge pull request #3789 from weblate/weblate-openwrt-luci
[project/luci.git] / applications / luci-app-adblock / luasrc / view / adblock / logread.htm
index b5052334909c42c48d710df93ad5623876749660..48e367ec28e9008bcfe4c3124a296a75e8103444 100644 (file)
@@ -4,27 +4,13 @@ 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>
+<%+adblock/adblock_css%>
 
 <script type="text/javascript">
 //<![CDATA[
        function log_update()
        {
-               XHR.poll(5, '<%=luci.dispatcher.build_url("admin", "services", "adblock", "logread")%>', null,
+               XHR.poll(-1, '<%=luci.dispatcher.build_url("admin", "services", "adblock", "logread")%>', null,
                function(x)
                {
                        if (!x)