VM List
</%def>
-%if os.path.exists("/etc/invirt/message"):
+%if os.path.exists("/etc/invirt/motd.html"):
<div class="result">
-<p class="error">${open('/etc/invirt/message').read()}</p>
+<p class="error">${open('/etc/invirt/motd.html').read()|n}</p>
</div>
%endif
</tr>
${self.fn.errorRow('owner', err)}
</table>
- <input type="submit" class="button" value="Create it!"/><br />
+ <input type="submit" class="button" value="Create it!" \
+% if disable_creation:
+ disabled="disabled" \
+% endif
+/> \
+% if disable_creation:
+ <span style="color:red;">VM creation is currently disabled due to lack of disk space.</span> \
+%endif
+<br />
Windows notes: ${self.fn.helppopup('Windows')}
</form>
% endif