Remove update button from GUI as it is not possible from inside docker

This commit is contained in:
Arjan H
2022-12-24 09:47:49 +01:00
parent 66f960e5e4
commit 29fcf76cf2
2 changed files with 1 additions and 10 deletions

View File

@@ -105,10 +105,6 @@
<button class="btn btn-outline btn-reg {{ $btn.Class }}" type="button" id="{{ $btn.Id }}" title="{{ $btn.Title }}">{{ $btn.Label }}</button>
{{ end }}
{{ if eq $item.Name "LabCA Application" }}
<span id="version-conditional-break" class="{{ if not $.UpdateAvailable }}hidden{{ end }}"/>
<br/>
</span>
<button class="btn btn-outline btn-wide btn-warning mt5 {{ if not $.UpdateAvailable }}hidden{{ end }}" type="button" id="version-update" title="Update to latest version">Update LabCA</button>
<br/>
<button class="btn btn-outline btn-wide btn-success mt5" type="button" id="version-check" title="Check if there is a newer version available">Check for updates</button>
<span id="update-checked-span">
@@ -744,9 +740,6 @@
if (data.Success) {
if (data.UpdateAvailable) {
$("#version-update").removeClass("hidden");
$("#version-conditional-break").removeClass("hidden");
var notes = "<span class=\"rel-notes-title\">RELEASE NOTES</span><br/><br/>";
jQuery.each(data.Versions, function(idx, val) {
notes += "<span class=\"rel-notes-title\">" + val + "</span><br/>"
@@ -764,9 +757,6 @@
}]
});
} else {
$("#version-update").addClass("hidden")
$("#version-conditional-break").addClass("hidden");
BootstrapDialog.show({
title: 'No new version',
message: 'There is currently no newer version available.',

1
update Symbolic link
View File

@@ -0,0 +1 @@
install