fix font-color in apcu info; clear updatecheck-cache for nightly users

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann 2023-12-30 23:30:52 +01:00
parent 832ee07e0e
commit ea31c8a64d
No known key found for this signature in database
GPG Key ID: C121F97338D7A352
3 changed files with 4 additions and 2 deletions

View File

@ -151,6 +151,8 @@ class AutoUpdate
$zip->close();
// success - remove unused archive
@unlink($localArchive);
// reset cached version check
Settings::Set('system.updatecheck_data', '');
// wait a bit before we redirect to be sure
sleep(3);
return 0;

View File

@ -24,7 +24,7 @@
aria-valuemin="0" aria-valuemax="{{ apcuinfo.mem_avail }}">
<div class="progress-bar bg-success" style="width: {{ apcuinfo.mem_used_percentage }}%"></div>
<small
class="justify-content-center d-flex position-absolute w-100 text-dark">{{ apcuinfo.mem_used_percentage }}
class="justify-content-center d-flex position-absolute w-100">{{ apcuinfo.mem_used_percentage }}
%</small>
</div>
</div>