git://git.onelab.eu
/
monitor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add plain-text versions of the query output and nodelist as a test
[monitor.git]
/
web
/
MonitorWeb
/
monitorweb
/
templates
/
query_plain.tmpl
diff --git a/web/MonitorWeb/monitorweb/templates/query_plain.tmpl
b/web/MonitorWeb/monitorweb/templates/query_plain.tmpl
new file mode 100644
(file)
index 0000000..
2a24918
--- /dev/null
+++ b/
web/MonitorWeb/monitorweb/templates/query_plain.tmpl
@@ -0,0
+1,10
@@
+#for key in sorted($fields.keys())
+$key,#slurp
+#end for
+
+#for row in $query
+ #for key in sorted($fields.keys())
+$row[$key],#slurp
+ #end for
+
+#end for