projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added motd to pages
[invirt/packages/invirt-web.git]
/
code
/
templates
/
info.mako
diff --git
a/code/templates/info.mako
b/code/templates/info.mako
index
e83fef1
..
1fb4284
100644
(file)
--- a/
code/templates/info.mako
+++ b/
code/templates/info.mako
@@
-5,6
+5,12
@@
Info on ${machine.name}
</%def>
+%if os.path.exists("/etc/invirt/motd.html"):
+<div class="result">
+<p class="error">${open('/etc/invirt/motd.html').read()|n}</p>
+</div>
+%endif
+
<%def name="infoTable()">
<h2>Info</h2>
<table>