Minor improvements #2

Merged
Ghost merged 5 commits from :main into main 11 months ago

@ -5,14 +5,17 @@
# #
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_VERSION=2.0.2.001
LUCI_TITLE:=Task library PKG_NAME:=luci-lib-taskd
PKG_VERSION:=2.0.2
PKG_RELEASE:=2
LUCI_TITLE:=LuCI support for frigate
LUCI_DEPENDS:=+luci-lib-xterm +taskd LUCI_DEPENDS:=+luci-lib-xterm +taskd
LUCI_EXTRA_DEPENDS:=taskd (>=1.0.3-1) LUCI_EXTRA_DEPENDS:=taskd (>=1.0.3-1)
LUCI_PKGARCH:=all LUCI_PKGARCH:=all
PKG_MAINTAINER:=jason <ops@privatemail.com> PKG_MAINTAINER:=Jason Hawks <jason@torguard.net>
include $(TOPDIR)/feeds/luci/luci.mk include $(TOPDIR)/feeds/luci/luci.mk

@ -18,7 +18,7 @@ if self.task_start_failed then
<%+cbi/map%> <%+cbi/map%>
<div id="customModal" class="alert-message danger" style="display:none; text-align: center;"> <div id="confirmRemove" class="alert-message danger" style="display:none; text-align: center;">
<strong style="text-transform: uppercase;">This will permanently delete your installation, are you sure?</strong> <strong style="text-transform: uppercase;">This will permanently delete your installation, are you sure?</strong>
<br> <br>
<input class="btn cbi-button cbi-button-remove" type="button" value="YES" onclick="proceedRemoval()" style="margin-right: 10px;"> <input class="btn cbi-button cbi-button-remove" type="button" value="YES" onclick="proceedRemoval()" style="margin-right: 10px;">
@ -65,11 +65,11 @@ if self.task_start_failed then
<script> <script>
function showRemoveConfirmation() { function showRemoveConfirmation() {
document.getElementById("customModal").style.display = "block"; document.getElementById("confirmRemove").style.display = "block";
} }
function closeRemoveConfirmation() { function closeRemoveConfirmation() {
document.getElementById("customModal").style.display = "none"; document.getElementById("confirmRemove").style.display = "none";
} }
function proceedRemoval() { function proceedRemoval() {

@ -22,7 +22,7 @@
<div class="dialog-title-bar"> <div class="dialog-title-bar">
<span class="dialog-title" id="tasks_id"></span> <span class="dialog-title" id="tasks_id"></span>
<span class="dialog-icons"> <span class="dialog-icons">
<span class="dialog-icon dialog-icon-close" title="<%:Stop and Remove%>"></span> <span class="dialog-icon dialog-icon-close" title="<%:Cancel%>"></span>
<span class="dialog-icon dialog-icon-min" title="<%:Hide%>"></span> <span class="dialog-icon dialog-icon-min" title="<%:Hide%>"></span>
</span> </span>
</div> </div>

Loading…
Cancel
Save