Changeset 536
- Timestamp:
- May 16, 2008, 1:23:46 AM (17 years ago)
- Location:
- trunk/packages/sipb-xen-www/code
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-www/code/main.py
r535 r536 215 215 has_vnc[m] = "WTF?" 216 216 else: 217 has_vnc[m] = "ParaVM"+helppopup(" paravm_console")217 has_vnc[m] = "ParaVM"+helppopup("ParaVM Console") 218 218 max_memory = validation.maxMemory(user) 219 219 max_disk = validation.maxDisk(user) … … 457 457 subjects = fields.getlist('subject') 458 458 459 help_mapping = dict(paravm_console="""459 help_mapping = {'ParaVM Console': """ 460 460 ParaVM machines do not support local console access over VNC. To 461 461 access the serial console of these machines, you can SSH with Kerberos 462 to sipb-xen-console.mit.edu, using the name of the machine as your462 to console.xvm.mit.edu, using the name of the machine as your 463 463 username.""", 464 hvm_paravm="""464 'HVM/ParaVM': """ 465 465 HVM machines use the virtualization features of the processor, while 466 466 ParaVM machines use Xen's emulation of virtualization features. You 467 467 want an HVM virtualized machine.""", 468 cpu_weight="""468 'CPU Weight': """ 469 469 Don't ask us! We're as mystified as you are.""", 470 owner="""470 'Owner': """ 471 471 The owner field is used to determine <a 472 href="help?subject= quotas">quotas</a>. It must be the name of a472 href="help?subject=Quotas">quotas</a>. It must be the name of a 473 473 locker that you are an AFS administrator of. In particular, you or an 474 474 AFS group you are a member of must have AFS rlidwka bits on the 475 475 locker. You can check who administers the LOCKER locker using the 476 476 commands 'attach LOCKER; fs la /mit/LOCKER' on Athena.) See also <a 477 href="help?subject= administrator">administrator</a>.""",478 administrator="""477 href="help?subject=Administrator">administrator</a>.""", 478 'Administrator': """ 479 479 The administrator field determines who can access the console and 480 480 power on and off the machine. This can be either a user or a moira 481 481 group.""", 482 quotas="""482 'Quotas': """ 483 483 Quotas are determined on a per-locker basis. Each locker may have a 484 484 maximum of 512 megabytes of active ram, 50 gigabytes of disk, and 4 485 485 active machines.""", 486 console="""486 'Console': """ 487 487 <strong>Framebuffer:</strong> At a Linux boot prompt in your VM, try 488 488 setting <tt>fb=false</tt> to disable the framebuffer. If you don't, … … 490 490 console will suffer artifacts. 491 491 """ 492 )492 } 493 493 494 494 if not subjects: … … 537 537 'DISK_INFO', 538 538 ('state', 'state (xen format)'), 539 ('cpu_weight', 'CPU weight'+helppopup(' cpu_weight')),539 ('cpu_weight', 'CPU weight'+helppopup('CPU Weight')), 540 540 ('on_reboot', 'Action on VM reboot'), 541 541 ('on_poweroff', 'Action on VM poweroff'), … … 596 596 max_mem=max_mem, 597 597 max_disk=max_disk, 598 owner_help=helppopup(" owner"),598 owner_help=helppopup("Owner"), 599 599 fields = fields) 600 600 return d … … 672 672 print 'Content-Type: text/plain\n' 673 673 print 'Uh-oh! We experienced an error.' 674 print 'Please email sipb-xen@mit.edu with the contents of this page.'674 print 'Please email xvm-dev@mit.edu with the contents of this page.' 675 675 print '----' 676 676 e = revertStandardError() -
trunk/packages/sipb-xen-www/code/templates/help.tmpl
r445 r536 23 23 #for $subject in $subjects 24 24 #if $subject in $mapping 25 #if not $simple26 25 <h2>$subject</h2> 27 # end if26 #filter None 28 27 <p>$mapping[$subject]</p> 28 #end filter 29 29 #else 30 30 <p>Unknown subject '$subject'.</p> -
trunk/packages/sipb-xen-www/code/templates/list.tmpl
r535 r536 48 48 <td>HVM/ParaVM#slurp 49 49 #filter None 50 $helppopup(' hvm_paravm')#slurp50 $helppopup('HVM/ParaVM')#slurp 51 51 #end filter 52 52 </td> … … 72 72 <td>Autoinstall#slurp 73 73 #filter None 74 $helppopup(' autoinstall')#slurp74 $helppopup('Autoinstall')#slurp 75 75 #end filter 76 76 </td> … … 152 152 <th>Owner#slurp 153 153 #filter None 154 $helppopup(' owner')#slurp154 $helppopup('Owner')#slurp 155 155 #end filter 156 156 </th> 157 157 <th>Administrator#slurp 158 158 #filter None 159 $helppopup(' administrator')#slurp159 $helppopup('Administrator')#slurp 160 160 #end filter 161 161 </th>
Note: See TracChangeset
for help on using the changeset viewer.