diff --git a/rpimonitor/template/cpu.conf b/rpimonitor/template/cpu.conf index 7c1363a..1235fd2 100644 --- a/rpimonitor/template/cpu.conf +++ b/rpimonitor/template/cpu.conf @@ -37,7 +37,7 @@ web.status.1.content.1.icon=cpu.png web.status.1.content.1.line.1=JustGageBar("Load", "1min", 0, data.load1, 3, 100, 80)+" "+JustGageBar("Load", "5min", 0, data.load5, 3, 100, 80)+" "+JustGageBar("Load", "15min", 0, data.load15, 3, 100, 80) web.status.1.content.1.line.2="CPU frequency: " + data.cpu_frequency + "MHz Voltage: " + data.cpu_voltage + "V" web.status.1.content.1.line.3="Scaling governor: " + data.scaling_governor + "" -web.status.1.content.1.line.4=InsertHTML("/addons/top3/top3.html") +#web.status.1.content.1.line.4=InsertHTML("/addons/top3/top3.html") web.statistics.1.content.1.name=CPU Loads web.statistics.1.content.1.graph.1=load1 diff --git a/rpimonitor/web/addons/custom/custom.js b/rpimonitor/web/addons/custom/custom.js index 6c0930f..ca4c872 100644 --- a/rpimonitor/web/addons/custom/custom.js +++ b/rpimonitor/web/addons/custom/custom.js @@ -38,7 +38,7 @@ $(function () { localStorage.setItem('customwarning'+activePage, customwarning); }); - customuri=(localStorage.getItem('customuri'+activePage) || '/addons/custom/custominfo.html'); + customuri=(localStorage.getItem('customuri'+activePage) || data[activePage].url || '/addons/custom/custominfo.html'); $('#customuri'+activePage).val(customuri); $('#customuri'+activePage).keyup(function(){ customuri = $('#customuri'+activePage).val(); diff --git a/rpimonitor/web/addons/top3/top3.html b/rpimonitor/web/addons/top3/top3.html new file mode 100644 index 0000000..beb7fa1 --- /dev/null +++ b/rpimonitor/web/addons/top3/top3.html @@ -0,0 +1,24 @@ + + +
+ + + +rpimonitord
process./usr/share/rpimonitor/web/addons/top3.cron
+ to /etc/cron.d/top3
.cpu.conf
#web.status.1.content.1.line.4=InsertHTML("/addons/top3/top3.html")
+