diff options
Diffstat (limited to 'applications/luci-app-aria2/luasrc/view/aria2')
-rw-r--r-- | applications/luci-app-aria2/luasrc/view/aria2/overview_status.htm | 3 |
1 files changed, 3 insertions, 0 deletions
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 += '<input class="cbi-button mar-10" type="button" value="<%:Open WebUI-Aria2%>" onclick="openWebUI(\'webui-aria2\');" />'; } + if (data.ariang) { + links += '<input class="cbi-button mar-10" type="button" value="<%:Open AriaNg%>" onclick="openWebUI(\'ariang\');" />'; + } tb.innerHTML = links; } else { tb.innerHTML = '<em><%:The Aria2 service is not running.%></em>'; |