Ignore:
Timestamp:
Dec 20, 2009, 9:44:49 PM (14 years ago)
Author:
broder
Message:

Upgrade info page to Mako, and use REST-style URLs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package_branches/invirt-web/cherrypy-rebased/code/templates/list.mako

    r2674 r2678  
    9696          </form>
    9797        </td>
    98         <td><a href="info?machine_id=${machine.machine_id}">${machine.name}</a></td>
     98        <td><a href="machine/${machine.machine_id}">${machine.name}</a></td>
    9999        <td>${machine.memory}M</td>
    100100        <td>${machine.owner}</td>
     
    112112        <td>\
    113113% if has_vnc[machine] == True:
    114 <a href="vnc?machine_id=${machine.machine_id}">Console</a>\
     114<a href="machine/${machine.machine_id}/vnc">Console</a>\
     115% elif has_vnc[machine] == 'ParaVM':
     116ParaVM${self.fn.helppopup("ParaVM Console")}
    115117% elif has_vnc[machine] != 'Off':
    116118${has_vnc[machine]}
Note: See TracChangeset for help on using the changeset viewer.