Changeset 447 for trunk/packages/sipb-xen-www/code/templates/info.tmpl
- Timestamp:
- Apr 22, 2008, 1:37:50 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-www/code/templates/info.tmpl
r443 r447 41 41 #end if 42 42 <td>Boot CD:</td> 43 <td>$cdromList()</td> 43 <td>#slurp 44 #filter None 45 $cdromList()#slurp 46 #end filter 47 </td> 44 48 </tr> 45 49 <tr> … … 62 66 <input type="hidden" name="machine_id" value="$defaults.machine_id"/> 63 67 <table> 64 <tr><td>Owner${helppopup("owner")}:</td><td><input type="text" name="owner", value="$defaults.owner"/></td></tr> 68 <tr><td>Owner#slurp 69 #filter None 70 $helppopup("owner")#slurp 71 #end filter 72 :</td><td><input type="text" name="owner", value="$defaults.owner"/></td></tr> 73 #filter None 65 74 $errorRow('owner', $err) 66 <tr><td>Administrator${helppopup("administrator")}:</td><td><input type="text" name="administrator", value="$defaults.administrator"/></td></tr> 75 #end filter 76 <tr><td>Administrator#slurp 77 #filter None 78 $helppopup("administrator")#slurp 79 #end filter 80 :</td><td><input type="text" name="administrator", value="$defaults.administrator"/></td></tr> 81 #filter None 67 82 $errorRow('administrator', $err) 83 #end filter 68 84 <tr><td>Contact email:</td><td><input type="text" name="contact" value="$defaults.contact"/></td></tr> 85 #filter None 69 86 $errorRow('contact', $err) 87 #end filter 70 88 #if not $on 71 89 <tr><td>Machine Name:</td><td><input type="text" name="name" value="$defaults.name"/></td></tr> 90 #filter None 72 91 $errorRow('name', $err) 92 #end filter 73 93 <tr> 74 <td>HVM/ParaVM$helppopup('hvm_paravm')</td> 75 <td>$vmTypeList($defaults.type)</td> 94 <td>HVM/ParaVM#slurp 95 #filter None 96 $helppopup('hvm_paravm')#slurp 97 #end filter 98 </td> 99 <td>#slurp 100 #filter None 101 $vmTypeList($defaults.type)#slurp 102 #end filter 103 </td> 76 104 </tr> 77 105 <tr><td>Ram:</td><td><input type="text" size=3 name="memory" value="$defaults.memory"/>MiB (max $max_mem)</td></tr> 106 #filter None 78 107 $errorRow('memory', $err) 108 #end filter 79 109 <tr><td>Disk:</td><td><input type="text" size=3 name="disk" value="$defaults.disk"/>GiB (max $max_disk)</td><td>WARNING: Modifying disk size may corrupt your data.</td></tr> 110 #filter None 80 111 $errorRow('disk', $err) 112 #end filter 81 113 #else 114 #filter None 82 115 $errorRow('name', $err) 83 116 $errorRow('memory', $err) 84 117 $errorRow('disk', $err) 118 #end filter 85 119 #end if 86 120 <tr><td><input type="submit" class="button" name="action" value="Change"/></td></tr> … … 91 125 #def body 92 126 <div id="info"> 127 #filter None 93 128 $infoTable() 129 #end filter 94 130 </div> 95 131 96 132 <h2>Commands</h2> 97 133 <div id="commands"> 134 #filter None 98 135 $commands() 136 #end filter 99 137 </div> 100 138 <h2>Settings</h2> 101 139 <div id="modify"> 140 #filter None 102 141 $modifyForm() 142 #end filter 103 143 </div> 104 144 #end def
Note: See TracChangeset
for help on using the changeset viewer.