xcpweb

diff interface/templates/cloud_pool.html.backup @ 8:dff069dff4b7

Many new things + some screenshot :)
author Nikola Nikov <nikolanikov@webconnect.bg>
date Tue Jul 13 01:15:04 2010 +0300 (2010-07-13)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/interface/templates/cloud_pool.html.backup	Tue Jul 13 01:15:04 2010 +0300
     1.3 @@ -0,0 +1,87 @@
     1.4 +<div class="vm_list_box">
     1.5 +
     1.6 +<div class="label"><img src="img/minus_big.png" style="position:relative;padding-left:3px;padding-right:3px;top:-3px;cursor:pointer;" /> Virtual Machines List</div>
     1.7 +
     1.8 +<hr class="line">
     1.9 +
    1.10 +<div style="clear:both;">
    1.11 +	<table class="pool_server" >
    1.12 +		<tr id="server_1" class="pool_server_tr">
    1.13 +		<td class="img" ><img src="img/server.png" /></td>
    1.14 +		<td class="server_name">server_name</td>
    1.15 +		<td class="server_description"> Some description for the server. </td>
    1.16 +		<td class="memory_usage"><div class="memory_usage_text">Memory Usage : </div><div id="Bar"><div style="float: left; height: 10px; padding: 0; background-image: url(img/bar.png); width: 50px;" /></div></div><div class="memory_usage_text"> 5192M / 10280M</div></td>
    1.17 +		<td class="cpu_usage"><div class="memory_usage_text">CPU Usage : </div><div id="Bar"><div style="float: left; height: 10px; padding: 0; background-image: url(img/bar.png); width: 30px;" /></div></div><div class="memory_usage_text"> 30%</div></td>
    1.18 +		</tr>
    1.19 +		<tr id="server_1_vms">
    1.20 +			<td colspan="5">
    1.21 +				<table width="100%">
    1.22 +				<tr class="vm_row">
    1.23 +				 <td class="vm_row_status" ><img src="img/running.png" style="position:relative;padding-left:3px;padding-right:3px;" /></td>
    1.24 +				 <td class="vm_row_name" >xcpweb-server</td>
    1.25 +				 <td class="vm_row_description" >DDK virtual machine</td>
    1.26 +				 <td class="vm_row_memory" ><div class="memory_usage_text">Memory Usage : </div><div id="Bar"><div style="float: left; height: 10px; padding: 0; background-image: url(img/bar.png); width: 10px;" /></div></div><div class="memory_usage_text"> 512M / 10280M</div></td>
    1.27 +				 <td class="vm_row_cpus cpus_count" >CPU Count: 1</td>
    1.28 +				 <td class="vm_row_cpus cpus_weight" >Weight: 256</td>
    1.29 +				 <td class="vm_row_cpus cpus_cap" >Cap: 95</td>
    1.30 +				</tr>
    1.31 +				<tr class="vm_row">
    1.32 +				 <td class="vm_row_status" ><img src="img/stopped.png" style="position:relative;padding-left:3px;padding-right:3px;" /></td>
    1.33 +				 <td class="vm_row_name" >testvm</td>
    1.34 +				 <td class="vm_row_description" >Debian Lenny Server</td>
    1.35 +				 <td class="vm_row_memory" ><div class="memory_usage_text">Memory Usage : </div><div id="Bar"><div style="float: left; height: 10px; padding: 0; background-image: url(img/bar.png); width: 10px;" /></div></div><div class="memory_usage_text"> 512M / 10280M</div></td>
    1.36 +				 <td class="vm_row_cpus cpus_count" >CPU Count: 1</td>
    1.37 +				 <td class="vm_row_cpus cpus_weight" >Weight: 256</td>
    1.38 +				 <td class="vm_row_cpus cpus_cap" >Cap: 95</td>
    1.39 +				</tr>
    1.40 +				<tr class="vm_row">
    1.41 +				 <td class="vm_row_status" ><img src="img/running.png" style="position:relative;padding-left:3px;padding-right:3px;" /></td>
    1.42 +				 <td class="vm_row_name" >centos</td>
    1.43 +				 <td class="vm_row_description" >CentOS 5.4 Virtual Machine</td>
    1.44 +				 <td class="vm_row_memory" ><div class="memory_usage_text">Memory Usage : </div><div id="Bar"><div style="float: left; height: 10px; padding: 0; background-image: url(img/bar.png); width: 20px;" /></div></div><div class="memory_usage_text"> 1024M / 10280M</div></td>
    1.45 +				 <td class="vm_row_cpus cpus_count" >CPU Count: 1</td>
    1.46 +				 <td class="vm_row_cpus cpus_weight" >Weight: 256</td>
    1.47 +				 <td class="vm_row_cpus cpus_cap" >Cap: 95</td>
    1.48 +				</tr>
    1.49 +				</table>
    1.50 +			</td>
    1.51 +		</tr>
    1.52 +		
    1.53 +		<tr id="server_2" class="pool_server_tr">
    1.54 +		<td class="img" ><img src="img/server.png" /></td>
    1.55 +		<td class="server_name">other_server</td>
    1.56 +		<td class="server_description"> Some description for the server. </td>
    1.57 +		<td class="memory_usage"><div class="memory_usage_text">Memory Usage : </div><div id="Bar"><div style="float: left; height: 10px; padding: 0; background-image: url(img/bar.png); width: 80px;" /></div></div><div class="memory_usage_text"> 8192M / 10280M</div></td>
    1.58 +		<td class="cpu_usage"><div class="memory_usage_text">CPU Usage : </div><div id="Bar"><div style="float: left; height: 10px; padding: 0; background-image: url(img/bar.png); width: 10px;" /></div></div><div class="memory_usage_text"> 10%</div></td>
    1.59 +		</tr>
    1.60 +		<tr id="server_2_vms">
    1.61 +			<td colspan="5">
    1.62 +				<table width="100%">
    1.63 +				<tr class="vm_row" onClick="cp_submenus.vm('current_prv',event);">
    1.64 +				 <td class="vm_row_status" ><img src="img/running.png" style="position:relative;padding-left:3px;padding-right:3px;" /></td>
    1.65 +				 <td class="vm_row_name" >backup-server</td>
    1.66 +				 <td class="vm_row_description" >DDK virtual machine</td>
    1.67 +				 <td class="vm_row_memory" ><div class="memory_usage_text">Memory Usage : </div><div id="Bar"><div style="float: left; height: 10px; padding: 0; background-image: url(img/bar.png); width: 10px;" /></div></div><div class="memory_usage_text"> 512M / 10280M</div></td>
    1.68 +				 <td class="vm_row_cpus cpus_count" >CPU Count: 1</td>
    1.69 +				 <td class="vm_row_cpus cpus_weight" >Weight: 256</td>
    1.70 +				 <td class="vm_row_cpus cpus_cap" >Cap: 95</td>
    1.71 +				</tr>
    1.72 +				<tr class="vm_row">
    1.73 +				 <td class="vm_row_status" ><img src="img/stopped.png" style="position:relative;padding-left:3px;padding-right:3px;" /></td>
    1.74 +				 <td class="vm_row_name" >testvm2</td>
    1.75 +				 <td class="vm_row_description" >Debian Lenny Backup Server</td>
    1.76 +				 <td class="vm_row_memory" ><div class="memory_usage_text">Memory Usage : </div><div id="Bar"><div style="float: left; height: 10px; padding: 0; background-image: url(img/bar.png); width: 10px;" /></div></div><div class="memory_usage_text"> 512M / 10280M</div></td>
    1.77 +				 <td class="vm_row_cpus cpus_count" >CPU Count: 1</td>
    1.78 +				 <td class="vm_row_cpus cpus_weight" >Weight: 256</td>
    1.79 +				 <td class="vm_row_cpus cpus_cap" >Cap: 95</td>
    1.80 +				</tr>
    1.81 +				
    1.82 +				</table>
    1.83 +			</td>
    1.84 +		</tr>
    1.85 +		
    1.86 +	</table>
    1.87 +
    1.88 +</div>
    1.89 +
    1.90 +</div>