forked from I2P_Developers/i2p.i2p
Console sidebar improvements
Sidebar: - Adjust vertical spacing of general section - Rename 'General' section to 'Router Info' and move ident info to h3 tooltip (ticket #1996) - Replace 'Short Router Info' with a new 'Advanced Router Info' section in default advanced sidebar (adds memory usage and clock skew) - Add optional embedded bandwidth graph (experimental) - Add optional memory usage bar - Add optional Advanced Peers section (adds failing and banned peers) - Add Help link to 'I2P Internals' section - Add help page anchored links and troubleshooting to 'Help & FAQ' section - Add download progress bar for router and plugin updates - Add 'Advanced Minimal' sidebar configuration - Add Jobs and Events links to Advanced section - Add additional reachability states for clockskew and vmcomm (with icons) Homepage: Add 'Customize Sidebar' link to signpost the feature now that there are more optional sections available (ticket #1996)
This commit is contained in:
8
apps/routerconsole/jsp/js/refreshGraph.js
Normal file
8
apps/routerconsole/jsp/js/refreshGraph.js
Normal file
@ -0,0 +1,8 @@
|
||||
// refresh the sidebar mini graph every 15 seconds
|
||||
|
||||
function refreshGraph() {
|
||||
document.getElementById('sb_graphcontainer').style.backgroundImage = 'url(/viewstat.jsp?stat=bw.combined&periodCount=20&width=220&height=50&hideLegend=true&hideGrid=true&time=' + new Date().getTime();
|
||||
setTimeout(refreshGraph, 15000);
|
||||
}
|
||||
|
||||
refreshGraph();
|
Reference in New Issue
Block a user