From 01997af8b0c04318c2c76afc29eb043052e3d793 Mon Sep 17 00:00:00 2001 From: jantwisted Date: Wed, 16 Dec 2015 01:39:41 +0530 Subject: HTMLRender added --- tests/files/index.html | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 tests/files/index.html (limited to 'tests/files/index.html') diff --git a/tests/files/index.html b/tests/files/index.html new file mode 100644 index 0000000..8dac6e0 --- /dev/null +++ b/tests/files/index.html @@ -0,0 +1,52 @@ + {% for key, value in res.iteritems() %} +
+
+

{{ key }} + +

+
+
+ +
+ {% for key2, value2 in value.iteritems() %} +
+
+
+

{{ key2 }}

+
+
+ {# conditional content #} + {% if value2|count > 0 %} +
+ {% for key3, value3 in value2.iteritems() %} +
+
+

{{ key3 }}

+
+ {{ value3['speaker'] }} + + +
+

{{ value3['room'] }}

+ +

{{ value3['desc'][0].decode('utf-8') }}

+
+
+
+ {% endfor %} + {% endif %} +
+ {% endfor %} +{% endfor %} -- cgit v1.2.3