Added service message to https, modified cert line
authorPaul Weaver <pweaver@mit.edu>
Mon, 11 Jan 2010 21:57:39 +0000 (16:57 -0500)
committerPaul Weaver <pweaver@mit.edu>
Mon, 11 Jan 2010 21:57:39 +0000 (16:57 -0500)
svn path=/trunk/packages/invirt-web/; revision=2871

code/templates/list.mako
code/templates/unauth.mako

index 90953f0..f363537 100644 (file)
@@ -9,6 +9,12 @@
 VM List
 </%def>
 
+%if os.path.exists("/etc/invirt/message"):
+<div class="result">
+<p class="error">${open('/etc/invirt/message').read()}</p>
+</div>
+%endif
+
 <%def name="createForm()">
 % if cant_add_vm:
 <p>${cant_add_vm}</p>
@@ -19,6 +25,7 @@ VM List
 % elif new_machine:
 <p>Congratulations! You successfully created a new VM called ${new_machine}.</p>
 % endif
+
     <form action="create" method="POST">
     <input type="hidden" name="back" value="list"/>
       <table>
index ec67c80..00b6d36 100644 (file)
@@ -28,8 +28,7 @@ href="https://${config.web.hostname}/"><strong><font color="green">&rarr;</font>
 href="https://${config.web.hostname}:442/"><strong><font color="green">&rarr;</font> Log in to XVM using Kerberos Tickets</strong>
 </a></big></blockquote>
 
-<p>To use MIT certificates you'll need an <a href="http://ca.mit.edu/">MIT personal
-certificate</a>.</p>
+<p>To aquire MIT certificates click <a href="http://ca.mit.edu/">here</a>.</p>
 
 <h2>XVM features:</h2>
 <ul>