Changeset 2412 for package_branches/invirt-web/cherrypy/code
- Timestamp:
- Aug 9, 2009, 6:45:36 PM (15 years ago)
- Location:
- package_branches/invirt-web/cherrypy/code
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy/code/main.py
r2411 r2412 300 300 has_vnc[m] = "WTF?" 301 301 else: 302 has_vnc[m] = "ParaVM" +helppopup("ParaVM Console")302 has_vnc[m] = "ParaVM" 303 303 max_memory = validation.maxMemory(username, state) 304 304 max_disk = validation.maxDisk(username) … … 557 557 'DISK_INFO', 558 558 ('state', 'state (xen format)'), 559 ('cpu_weight', 'CPU weight'+helppopup('CPU Weight')),560 559 ] 561 560 fields = [] … … 611 610 max_mem=max_mem, 612 611 max_disk=max_disk, 613 owner_help=helppopup("Owner"),614 612 fields = fields) 615 613 return d -
package_branches/invirt-web/cherrypy/code/templates/list.mako
r2405 r2412 113 113 % if has_vnc[machine] == True: 114 114 <a href="vnc?machine_id=${machine.machine_id}">Console</a>\ 115 % elif has_vnc[machine] == 'ParaVM': 116 ParaVM${self.fn.helppopup("ParaVM Console")} 115 117 % elif has_vnc[machine] != 'Off': 116 118 ${has_vnc[machine]}
Note: See TracChangeset
for help on using the changeset viewer.