xcpweb

view interface/templates/create_new_step1.html @ 14:c4237fb33e88

Create New VM module and some bugfixes
author Nikola Nikov <nikolanikov@webconnect.bg>
date Sat Aug 14 19:33:00 2010 +0300 (2010-08-14)
parents
children
line source
1 <div style="float:left;clear:none;">
2 <table>
3 <tr class="step1_tr"><td class="step1_td_label" width="124">Host Server :</td><td align="left" width="200"><select class="step1_td_input" style="width: 100%;" id="host_servers"></select></td></tr>
4 <tr class="step1_tr"><td class="step1_td_label" width="124">VM Name :</td><td><input type="text" class="step1_td_input" style="width:100%;" onChange="install_vm.options['name_label']=this.value;"/></td></tr>
5 <tr class="step1_tr"><td class="step1_td_label" width="124">VM Description :</td><td><input type="text" class="step1_td_input" style="width:100%;" id="description_input" onChange="install_vm.options['name_description']=this.value;"/></td></tr>
6 <tr class="step1_tr">
7 <td colspan="2">
8 <table width="100%" cellpadding="1" cellspacing="1">
9 <tr>
10 <td class="step1_td_label" width="124">Memory :</td>
11 <td><input type="text" class="step1_td_input" style="width:50px;" onChange="install_vm.options['memory']=this.value;"/></td>
12 <td class="step1_td_label" style="padding-left:0px;text-align:right;">vCPUs :</td>
13 <td><select class="step1_td_input" style="width:100%;" id="host_vcpus" onChange="install_vm.options['vCPUs']=this.options[this.selectedIndex].value"></select></td>
14 </tr>
15 </table>
16 </td>
17 </tr>
19 </table>
20 </div>
22 <div class="host_status_box">
24 <div class="title" id="host_box_title"></div>
25 <div class="description_row">vCPUs number: <span id="host_box_vcpus"></span></div>
26 <div class="description_row">Total memory: <span id="host_box_memory_total"></span>M</div>
27 <div class="description_row">Free memory: <span id="host_box_memory_free"></span>M</div>
28 <div class="description_row">Resident VMs: <span id="host_box_resident_vms"></span></div>
29 </div>
31 <div class="select_os_label">Select VM Template :</div>
32 <div class="select_os">
33 <table style="width:100%;border-collapse:collapse;" id="dist_list">
34 </table>
35 </div>
37 <div class="next_step_button" onclick="document.getElementById('description_input').focus();templates.control_focus();install_vm.step_2();"></div>
38 <!-- pri zarejdane 1. onload zarejda default host server 2. zarejda templates -->