mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-05-01 14:06:41 +00:00
Added possibility to upgrade from GUI if there is enough RAM for SSL
This commit is contained in:
@@ -253,7 +253,11 @@ var fetch = function() {
|
||||
$('.ju').html(moment.duration(parseInt(json.u), 'seconds').humanize());
|
||||
}
|
||||
|
||||
$('.jm').html((parseInt(json.m).toFixed(0)/1000).toFixed(1));
|
||||
var kib = parseInt(json.m)/1000;
|
||||
$('.jm').html(kib.toFixed(1));
|
||||
if(kib > 32) {
|
||||
$('.ssl-capable').removeClass('d-none');
|
||||
}
|
||||
|
||||
setStatus("esp", json.em);
|
||||
setStatus("han", json.hm);
|
||||
|
||||
Reference in New Issue
Block a user