Web UI for ARGUS server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

34 lines
3.4 KiB

{
id: 'db_node_%%%NODEID%%%',
tools: [{
id:'gear',
handler: function(){
//Ext.Msg.alert('Message', 'The Settings tool was clicked.');
showServerToolBox(%%%NODEID%%%);
}
},{
id:'close',
handler: function(e, target, panel){
panel.ownerCt.remove(panel, true);
}
}],
frame: true,
width: 258,
height: 240,
border: false,
title: '%%%SYSSERVERNAME%%%',
items: [{
xtype: 'panel',
html: '<table width="100%"><tr><td><p id="ser_status_txt">%%%SERVERSTATUS%%%</p></td><td width="16px"><img id="serv_status_img" src="/style/icons/icons/%%%SERVERSTATUSIMG%%%"></td></tr></table>'
},{
xtype: 'panel',
html: '<table width="100%" border=0><tr><td><svg class="donut" width="80" height="100%" viewBox="0 0 42 42"><!-- circle class="donut-hole" cx="21" cy="21" r="15.91549430918954" fill="#fff"></circle --><!-- GREEN --><circle id="donut-segment2" cx="21" cy="21" r="15.91549430918954" fill="transparent" stroke="#b1c94e" stroke-width="3" stroke-dasharray="0 100" stroke-dashoffset="25"></circle><!-- BLUE --><circle id="donut-segment3" cx="21" cy="21" r="15.91549430918954" fill="transparent" stroke="#aaddff" stroke-width="3" stroke-dasharray="0 100" stroke-dashoffset="25"></circle><!-- PURPLE --><circle id="donut-segment1" cx="21" cy="21" r="15.91549430918954" fill="transparent" stroke="#ce4b99" stroke-width="3" stroke-dasharray="0 100" stroke-dashoffset="25"></circle><g class="chart-text"><text x="50%" y="50%" class="chart-number" id="totalValue">0</text><text x="50%" y="50%" class="chart-label">CPU</text></g></svg></td><td><svg class="donut" width="80" height="100%" viewBox="0 0 42 42"><!-- circle class="donut-hole" cx="21" cy="21" r="15.91549430918954" fill="#fff"></circle --><!-- GREEN --><circle id="donut1-segment2" cx="21" cy="21" r="15.91549430918954" fill="transparent" stroke="#b1c94e" stroke-width="3" stroke-dasharray="0 100" stroke-dashoffset="25"></circle><!-- BLUE --><circle id="donut1-segment3" cx="21" cy="21" r="15.91549430918954" fill="transparent" stroke="#aaddff" stroke-width="3" stroke-dasharray="0 100" stroke-dashoffset="25"></circle><!-- PURPLE --><circle id="donut1-segment1" cx="21" cy="21" r="15.91549430918954" fill="transparent" stroke="#ce4b99" stroke-width="3" stroke-dasharray="0 100" stroke-dashoffset="25"></circle><g class="chart-text"><text x="50%" y="50%" class="chart-number" id="totalValue1">0</text><text x="50%" y="50%" class="chart-label">MEM</text></g></svg></td><td><svg class="donut" width="80" height="100%" viewBox="0 0 42 42"><!-- circle class="donut-hole" cx="21" cy="21" r="15.91549430918954" fill="#fff"></circle --><!-- GREEN --><circle id="donut2-segment2" cx="21" cy="21" r="15.91549430918954" fill="transparent" stroke="#b1c94e" stroke-width="3" stroke-dasharray="0 100" stroke-dashoffset="25"></circle><!-- BLUE --><circle id="donut2-segment3" cx="21" cy="21" r="15.91549430918954" fill="transparent" stroke="#aaddff" stroke-width="3" stroke-dasharray="0 100" stroke-dashoffset="25"></circle><!-- PURPLE --><circle id="donut2-segment1" cx="21" cy="21" r="15.91549430918954" fill="transparent" stroke="#ce4b99" stroke-width="3" stroke-dasharray="0 100" stroke-dashoffset="25"></circle><g class="chart-text"><text x="50%" y="50%" class="chart-number" id="totalValue2">0</text><text x="50%" y="50%" class="chart-label">DISK</text></g></svg></td></tr></table>'
},{
xtype: 'panel',
height: 80,
frame: true,
border: false,
autoScroll: true,
items: %%%MODULES%%%
}]
}