about summary refs log tree commit diff
path: root/bh20simplewebuploader/templates/list.html
diff options
context:
space:
mode:
authorPjotr Prins2020-10-28 16:19:38 +0000
committerPjotr Prins2020-10-28 16:19:38 +0000
commite9ea11c5332668af16c0497bf2b578433b05b32f (patch)
tree3f2207588efb35977e09af0c7a4165c41161a967 /bh20simplewebuploader/templates/list.html
parent89ccd3ce507ea2abad408a9df559aa3bbcc0e377 (diff)
downloadbh20-seq-resource-e9ea11c5332668af16c0497bf2b578433b05b32f.tar.gz
bh20-seq-resource-e9ea11c5332668af16c0497bf2b578433b05b32f.tar.lz
bh20-seq-resource-e9ea11c5332668af16c0497bf2b578433b05b32f.zip
List by country and added to map
Diffstat (limited to 'bh20simplewebuploader/templates/list.html')
-rw-r--r--bh20simplewebuploader/templates/list.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/bh20simplewebuploader/templates/list.html b/bh20simplewebuploader/templates/list.html
new file mode 100644
index 0000000..d50a045
--- /dev/null
+++ b/bh20simplewebuploader/templates/list.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+  {% include 'header.html' %}
+  <body>
+    {% include 'banner.html' %}
+    {% include 'menu.html' %}
+
+    <hr>
+
+    <h1>{{id}}</h1>
+
+    <div class="content">
+    <section class="blog-entries">
+      <div class="blog-table">
+        {% for row in l: %}
+        <div class="blog-table-body">
+          <div class="blog-table-row">
+            {% for col in h: %}
+            <div class="blog-table-cell">
+              {% if col == 'name': %}
+                <a href="/resource/{{row[col]['value']}}">{{ row[col]['value'] }}</a>
+              {% else %}
+                {{ row[col]['value'] }}
+              {% endif %}
+            </div>
+            {% endfor %}
+          </div>
+        </div>
+        {% endfor %}
+      </div>
+    </section>
+
+    </div>
+
+    {% include 'footer.html' %}
+
+    <script type="text/javascript">
+      let scriptRoot = {{ request.script_root|tojson|safe }}; // examples
+    </script>
+  </body>
+
+</html>