Changeset 515 for trunk/packages/sipb-xen-www
- Timestamp:
- May 9, 2008, 5:11:46 PM (16 years ago)
- Location:
- trunk/packages/sipb-xen-www/code
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-www/code/main.py
r510 r515 106 106 autoinstall = '' 107 107 name = '' 108 type = 'linux-hvm' 109 108 110 def __init__(self, max_memory=None, max_disk=None, **kws): 109 self.type = Type.get('linux-hvm')110 111 if max_memory is not None: 111 112 self.memory = min(self.memory, max_memory) -
trunk/packages/sipb-xen-www/code/templates/functions.tmpl
r512 r515 37 37 <label> 38 38 <input #slurp 39 #if $default == $vmtype then 'checked' else ''39 #if $default == $vmtype[0] then 'checked' else '' 40 40 type="radio" name="vmtype" value="${vmtype[0]}">${vmtype[1]}</input> 41 41 </label>
Note: See TracChangeset
for help on using the changeset viewer.