svn path=/trunk/packages/invirt-web/; revision=2810
@cherrypy.expose
@cherrypy.tools.mako(filename="/unauth.mako")
def index(self):
- return {'simple': True}
+ if(os.path.exists("/etc/invirt/message")):
+ f = open('/etc/invirt/message')
+ message = f.read()
+ else:message = None
+ d = dict(simple = True, serviceMessage = message)
+ return d
+
class InvirtWeb(View):
def __init__(self):
Debian or Ubuntu install</strong> or install the <strong>operating
system of your choice</strong>. The service is <strong>free</strong>
to any Athena account holder.</p>
+%if serviceMessage:
+<table><tr><td class="result">
+<p class="error">${serviceMessage}</p>
+</td></tr></table>
+%endif
<p>MIT users:</p>
<blockquote><big><a