aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader/templates/list.html
blob: d50a0454cd1cc4b6a0ddf0d791c51bbef8fb4b04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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>