bundle.html 1.1 KB
Newer Older
Vlad Dumitru's avatar
Vlad Dumitru committed
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
43
44
{% extends "base.html" %}
{% block content %}
<div class="sides">
  <div class="side">
    <hr>
    <div class="content">
      <h2 class="field">
        <span class="dim name">bundle</span>
        <span class="value">{{ name }}</span>
      </h2>

      <div class="field">
        <span class="dim name">layers</span>
        <span class="value">
          {% for l in layers %}
          <a href="#" class="tag">{{ l }}</a>
          {% endfor %}
        </span>
      </div>
    </div>
    <hr>
  </div>

  <div class="side">
    <hr>
    <div class="content">
      <div class="field">
        <span class="dim name"><h2>history</h2></span>
        <span class="value">
          {% for h in history %}
          <div class="history">
            <div class="header">
              <span class="date-time dim">{{ h.date|date:"yyyy-MM-dd HH:mm:ss" }}</span>
              <span class="author"><a href="#">{{ h.author }}</a></span>
            </div>
            <div class="message">{{ h.message }}</div>
          </div>
          {% endfor %}
        </span>
      </div>
    </div>
    <hr>
  </div>
{% endblock %}