Interface cleanup

pull/2/head
riley 1 year ago
parent 7381c23e8e
commit b9130a1b11

@ -7,11 +7,11 @@ local btcpayserver_model = require "luci.model.btcpayserver"
local m, s, o
m = taskd.docker_map("btcpayserver", "btcpayserver", "/usr/libexec/apps/btcpayserver/btcpayserver.sh",
translate("btcpayserver"),
translate("BTCPay Server"),
translate("BTCPay Server is a self-hosted, open-source cryptocurrency payment processor. It's secure, private, censorship-resistant and free.")
.. translate("Official website:") .. ' <a href=\"https://docs.linuxserver.io/images/docker-btcpayserver\" target=\"_blank\">hhttps://docs.linuxserver.io/images/docker-btcpayserver/</a>')
.. "<br/>" .. translate("Official website:") .. ' <a href=\"https://docs.linuxserver.io/images/docker-btcpayserver\" target=\"_blank\">https://docs.linuxserver.io/images/docker-btcpayserver/</a>')
s = m:section(SimpleSection, translate("Service Status"), translate("btcpayserver status:"))
s = m:section(SimpleSection, translate("Container Status"))
s:append(Template("btcpayserver/status"))
s = m:section(TypedSection, "btcpayserver", translate("Setup"), translate("The following parameters will only take effect during installation or upgrade:"))

@ -5,7 +5,6 @@ local container_running = string.match(string.lower(container_status), "^up%W")
-%>
<div class="cbi-value">
<label class="cbi-value-title">Status</label>
<div class="cbi-value-field">
<% if container_running then %>
<button class="cbi-button cbi-button-success" disabled="true"><%= container_status %></button>

Loading…
Cancel
Save