- Timestamp:
- Dec 30, 2009, 3:18:56 PM (15 years ago)
- Location:
- trunk/packages/invirt-web/code
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-web/code/main.py
r2737 r2810 52 52 @cherrypy.tools.mako(filename="/unauth.mako") 53 53 def index(self): 54 return {'simple': True} 54 if(os.path.exists("/etc/invirt/message")): 55 f = open('/etc/invirt/message') 56 message = f.read() 57 else:message = None 58 d = dict(simple = True, serviceMessage = message) 59 return d 60 55 61 56 62 class InvirtWeb(View): -
trunk/packages/invirt-web/code/templates/unauth.mako
r2808 r2810 14 14 system of your choice</strong>. The service is <strong>free</strong> 15 15 to any Athena account holder.</p> 16 %if serviceMessage: 17 <table><tr><td class="result"> 18 <p class="error">${serviceMessage}</p> 19 </td></tr></table> 20 %endif 16 21 17 22 <p>MIT users:</p>
Note: See TracChangeset
for help on using the changeset viewer.