Changeset 2182 for trunk/packages/invirt-web
- Timestamp:
- Feb 20, 2009, 10:09:34 PM (16 years ago)
- Location:
- trunk/packages/invirt-web/code
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-web/code/main.py
r2161 r2182 13 13 import time 14 14 import urllib 15 import os 15 16 from StringIO import StringIO 16 17 … … 607 608 def unauthFront(_, _2, _3, fields): 608 609 """Information for unauth'd users.""" 609 return templates.unauth(searchList=[{'simple' : True}]) 610 return templates.unauth(searchList=[{'simple' : True, 611 'hostname' : os.environ['HOSTNAME'] if 'HOSTNAME' in os.environ else 'xvm.mit.edu'}]) 610 612 611 613 def admin(username, state, path, fields): -
trunk/packages/invirt-web/code/templates/unauth.tmpl
r1683 r2182 19 19 <p>MIT users:</p> 20 20 <blockquote><big><a 21 href="https:// xvm.mit.edu/"><strong><font color="green">→</font> Log in to XVM now</strong>21 href="https://$hostname/"><strong><font color="green">→</font> Log in to XVM now</strong> 22 22 </a></big></blockquote> 23 23 <p>You'll need an <a href="http://ca.mit.edu/">MIT personal
Note: See TracChangeset
for help on using the changeset viewer.