<%# Copyright 2016-2017 Xingwang Liao Licensed to the public under the Apache License 2.0. -%> <% local kcp = require "luci.model.kcptun" local dsp = require "luci.dispatcher" local client_file = kcp.get_config_option("client_file") local client_version = kcp.get_kcptun_version(client_file) local luci_version = kcp.get_luci_version() -%>
<%:Running Status%> <% if luci_version ~= "" then -%> <% end -%>
<%:Client Version%> <% if client_version == "" then -%> <%:Invalid Client File.%> <% else -%> <%=pcdata(client_version)%> <%- end %>
<%:Client Status%><%:Collecting data...%>
<%:LuCI Version%><%=pcdata(luci_version)%>