summaryrefslogtreecommitdiffstats
path: root/templates/base_thread.html
blob: dea3b2d278660302e83af4db1f661a80c3636599 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE HTML>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta name="ROBOTS" content="INDEX, FOLLOW" />

  <title>{% block title %}Mail app{% endblock %}</title>
  <meta name="author" content="" />

  <meta name="dc.language" content="en" />

  <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/style.css" />

  {% block additional_headers %}
  {% endblock %}
</head>

<body>

  <!-- Header -->
  <div class="header">
    <div id="headline">
      <ul class="inline-block">
        {% if list_address  %}
        <li id="list_name"><a href="/list/{{list_address}}">{{list_name}}</a></li>
        {% else %}
        <li id="list_name"><a href="/list/">{{list_name}}</a></li>
        {% endif %}
        <li id="page_date">{{month}}</li>
      </ul>
      <div id="top_right">
        <form action="/search/{{list_address}}" method="get">
          <ul class="inline-block">
            {{ search_form.as_ul }}
          </ul>
        </form> 
      </div>
    </div>
    <p id="list_email">
      <a href="mailto:{{list_address}}">
        {{list_address}}
      </a>
    </p>
    <p id="list_email" class='inline'>
      <a href="/">
        All lists
      </a>
    </p>
    <div id="thread_nav">
      {% if next_thread %}
      <div id="newewthread" class="inline-block">
        <a href="{{ next_thread_id }}">
          <img src="{{ STATIC_URL }}img/button_newer.png" alt="New thread" />
        </a>
        <br />
        {{next_thread}}
      </div>
      {% endif %}

      <div class="inline-block thread_title">
        <span class="type type_question">
          <a href="/tag/question"> question </a>
        </span>
        <br />
        {{first_mail.email.subject}}
        <ul class="inline thread_info">
          <li class="participant"> {{participants|length}} participants</li>
          <li class="discussion"> {{answers}} comments</li>
        </ul>
      </div>
  
      {% if prev_thread %}
      <div id="olderhread" class="inline-block right">
        <a href="{{ prev_thread_id }}">
          <img src="{{ STATIC_URL }}img/button_older.png" alt="New thread" />
        </a>
        <br />
        {{prev_thread}}
      </div>
      {% endif %}
      
    </div>

    
    <hr id="white"/>
    <hr />
  </div>

  <div class="content">
    {% block content %}
    {% endblock %}
  </div>

</body>
</html>