diff --git a/web/plates/js/status.js b/web/plates/js/status.js index b1b1dfed4..841f0cbab 100644 --- a/web/plates/js/status.js +++ b/web/plates/js/status.js @@ -54,7 +54,9 @@ function StatusCtrl($rootScope, $scope, $state, $http, $interval) { $scope.GPS_satellites_tracked = status.GPS_satellites_tracked; $scope.GPS_satellites_seen = status.GPS_satellites_seen; $scope.GPS_solution = status.GPS_solution; - $scope.GPS_position_accuracy = String(status.GPS_solution ? ", " + status.GPS_position_accuracy.toFixed(1) + " m" : " "); + var MiBFree = status.DiskBytesFree/1048576; + $scope.DiskSpace = MiBFree.toFixed(1); + $scope.GPS_position_accuracy = String(status.GPS_solution ? ", " + status.GPS_position_accuracy.toFixed(1) + " m" : " "); $scope.UAT_METAR_total = status.UAT_METAR_total; $scope.UAT_TAF_total = status.UAT_TAF_total; $scope.UAT_NEXRAD_total = status.UAT_NEXRAD_total; @@ -82,7 +84,7 @@ function StatusCtrl($rootScope, $scope, $state, $http, $interval) { var boardtemp = status.CPUTemp; if (boardtemp != undefined) { /* boardtemp is celcius to tenths */ - $scope.CPUTemp = String(boardtemp.toFixed(1) + 'C / ' + ((boardtemp * 9 / 5) + 32.0).toFixed(1) + 'F'); + $scope.CPUTemp = String(boardtemp.toFixed(1) + '°C / ' + ((boardtemp * 9 / 5) + 32.0).toFixed(1) + '°F'); } else { // $('#CPUTemp').text('unavailable'); } diff --git a/web/plates/status.html b/web/plates/status.html index 0ae62847b..421054f18 100644 --- a/web/plates/status.html +++ b/web/plates/status.html @@ -29,7 +29,7 @@
-