From 8267a65f093a0c34f605e7cc67dc0a4efd9a785b Mon Sep 17 00:00:00 2001 From: Zheng Qian Date: Wed, 21 Nov 2018 10:48:32 +0800 Subject: luci-app-aria2: add a button to open ariang Signed-off-by: Zheng Qian --- applications/luci-app-aria2/luasrc/view/aria2/overview_status.htm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'applications/luci-app-aria2/luasrc/view/aria2/overview_status.htm') diff --git a/applications/luci-app-aria2/luasrc/view/aria2/overview_status.htm b/applications/luci-app-aria2/luasrc/view/aria2/overview_status.htm index 66db6ce550..34b7b3c641 100644 --- a/applications/luci-app-aria2/luasrc/view/aria2/overview_status.htm +++ b/applications/luci-app-aria2/luasrc/view/aria2/overview_status.htm @@ -11,6 +11,9 @@ XHR.poll(5, '<%=luci.dispatcher.build_url("admin/services/aria2/status")%>', nul if (data.webui) { links += ''; } + if (data.ariang) { + links += ''; + } tb.innerHTML = links; } else { tb.innerHTML = '<%:The Aria2 service is not running.%>'; -- cgit v1.2.3