2 Copyright
2017-
2019 Xingwang Liao
<kuoruan@gmail.com
>
3 Licensed to the public under the MIT License.
13 word-break: break-all;
17 background-color: #
33ccff;
25 <script type=
"text/javascript" src=
"<%=resource%>/cbi.js"></script>
26 <script type=
"text/javascript">//<![CDATA[
27 XHR.poll(
10, '<%=url(
"admin/services/aria2/log/read")%
>', null,
29 var logElm = document.getElementById('log_text');
31 logElm.innerHTML = data
33 '
<pre>%s%s%s%s
</pre>',
34 '
<span class=
"description"><%:Last
50 lines of log file:%
></span><br/><br/>',
35 data.log || '<%:No log data.%
>',
36 '
<br/><br/><span class=
"description"><%:Last
50 lines of syslog:%
></span><br/><br/>',
37 data.syslog || '<%:No log data.%
>'
39 : '
<strong><%:Failed to load log data.%
></strong>';
45 <h2 name=
"content"><%:Aria2%
> - <%:Log Data%
></h2>
46 <fieldset class=
"cbi-section">
48 <img src=
"<%=resource%>/icons/loading.gif" alt=
"<%:Loading%>" style=
"vertical-align:middle" />
49 <%:Collecting data...%
>
51 <div style=
"text-align:right"><small><%:Refresh every
10 seconds.%
></small></div>