Ignore:
Timestamp:
Oct 8, 2007, 2:56:01 AM (17 years ago)
Author:
ecprice
Message:

ParaVM on list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/templates/main.py

    r136 r138  
    4242
    4343def haveAccess(user, machine):
    44     if user.username == 'quentin':
     44    if user.username == 'moo':
    4545        return True
    4646    return machine.owner == user.username
     
    277277    on = uptimes
    278278    for m in machines:
    279         if on.get(m.name) and m.type.hvm:
     279        if not on.get(m.name):
     280            has_vnc[m.name] = 'Off'
     281        elif m.type.hvm:
    280282            has_vnc[m.name] = True
    281283        else:
    282             has_vnc[m.name] = False
     284            help_name = 'paravm_console'
     285            has_vnc[m.name] = 'ParaVM <span class="helplink"><a href="help?subject=%s&amp;simple=true" target="_blank" onclick="return helppopup(\'%s\')">(?)</a></span>' % (help_name, help_name)
    283286    #     for m in machines:
    284287    #         status = statusInfo(m)
Note: See TracChangeset for help on using the changeset viewer.