summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-nextdns/luasrc/view/nextdns/logread.htm
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-11-19 12:04:07 +0100
committerGitHub <noreply@github.com>2019-11-19 12:04:07 +0100
commit15816e668df0bbdc36f6426557e488f6ade2e3ed (patch)
tree576b04d39c5381944dfeb1d75211f37da6e1535b /applications/luci-app-nextdns/luasrc/view/nextdns/logread.htm
parent8262e1272552db43cef527e5da88e6706d50e7a4 (diff)
parent29fdc2b014b05a4d6ae2324b36ea9ce1c956360b (diff)
Merge pull request #3328 from ysc3839/nextdns
luci-app-nextdns: port to client side
Diffstat (limited to 'applications/luci-app-nextdns/luasrc/view/nextdns/logread.htm')
-rw-r--r--applications/luci-app-nextdns/luasrc/view/nextdns/logread.htm46
1 files changed, 0 insertions, 46 deletions
diff --git a/applications/luci-app-nextdns/luasrc/view/nextdns/logread.htm b/applications/luci-app-nextdns/luasrc/view/nextdns/logread.htm
deleted file mode 100644
index 0a98b2704f..0000000000
--- a/applications/luci-app-nextdns/luasrc/view/nextdns/logread.htm
+++ /dev/null
@@ -1,46 +0,0 @@
-<%+header%>
-
-<style type="text/css">
- select[readonly],
- textarea[readonly]
- {
- width: 100% !important;
- height: 450px !important;
- 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[
- function log_update()
- {
- XHR.poll(-1, '<%=luci.dispatcher.build_url("admin", "services", "nextdns", "logread")%>', null,
- function(x)
- {
- if (!x)
- {
- return;
- }
- var view = document.getElementById("view_id");
- view.value = x.responseText;
- view.scrollTop = view.scrollHeight;
- });
- }
- window.onload = log_update();
-//]]>
-</script>
-
-<div class="cbi-map">
- <div class="cbi-section">
- <div class="cbi-section-descr"><%:The syslog output, pre-filtered for nextdns related messages only.%></div>
- <textarea id="view_id" readonly="readonly" wrap="off" value=""></textarea>
- </div>
-</div>
-
-<%+footer%>