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
Updating the windows 7 license to IS&T agreement
[invirt/packages/invirt-web.git]
/
code
/
templates
/
functions.mako
diff --git
a/code/templates/functions.mako
b/code/templates/functions.mako
index
068401f
..
f5a9166
100644
(file)
--- a/
code/templates/functions.mako
+++ b/
code/templates/functions.mako
@@
-27,7
+27,7
@@
${databaseList(sorted(database.Autoinstall.query(), key=lambda x: x.description)
<%def name="vmTypeList(default=None)">
% for vmtype in (('linux-hvm', 'HVM'), ('linux', 'ParaVM'), ):
<label>
<%def name="vmTypeList(default=None)">
% for vmtype in (('linux-hvm', 'HVM'), ('linux', 'ParaVM'), ):
<label>
- <input ${'checked="checked"' if default == vmtype[0] else '' | n} type="radio" name="vmtype" id="vmtype-${vmtype[0]}" value="${vmtype[0]}">${vmtype[1]}</input>
+ <input ${'checked="checked"' if default == vmtype[0] else '' | n} type="radio" name="vmtype" id="vmtype-${vmtype[0]}" value="${vmtype[0]}" />${vmtype[1]}
</label>
% endfor
</%def>
</label>
% endfor
</%def>
@@
-50,5
+50,5
@@
def nl2br(string):
<%def name="helppopup(subj)">
## Return HTML code for a (?) link to a specified help topic
<%def name="helppopup(subj)">
## Return HTML code for a (?) link to a specified help topic
-<span class="helplink"><a href="help?simple=true;subject=${subj | u}" target="_blank" onclick="return helppopup(${subj | u,jquote})">(?)</a></span>
+<span class="helplink"><a href="help?simple=true;subject=${subj | u}" target="_blank" onclick="return helppopup(${subj | jquote})">(?)</a></span>
</%def>
</%def>