summaryrefslogtreecommitdiffstats
path: root/templates/base_thread.html
diff options
context:
space:
mode:
authorPierre-Yves Chibon <pingou@pingoured.fr>2012-03-23 18:36:51 +0100
committerPierre-Yves Chibon <pingou@pingoured.fr>2012-03-23 18:36:51 +0100
commite2ad1c98414750d37ab259befe7b03886880651a (patch)
tree2d79563a24afb7d2b63c09a8882f7e5016543e12 /templates/base_thread.html
parent86c18f08b9621dcc373556ec14d0c6480d0aae65 (diff)
work on the thread view
Diffstat (limited to 'templates/base_thread.html')
-rw-r--r--templates/base_thread.html81
1 files changed, 81 insertions, 0 deletions
diff --git a/templates/base_thread.html b/templates/base_thread.html
new file mode 100644
index 0000000..f9e0579
--- /dev/null
+++ b/templates/base_thread.html
@@ -0,0 +1,81 @@
+<!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">
+ <li id="list_name"><a href="/2/">{{list_name}}</a></li>
+ <li id="page_date">{{month}}</li>
+ </ul>
+ <div id="top_right">
+ <form action="#search" method="get">
+ <input type="text" name="search_text"
+ placeholder="Search this list."/>
+ </form>
+ </div>
+ </div>
+ <p id="list_email">
+ <a href="mailto:devel@list.fedoraproject.org">
+ devel@list.fedoraproject.org
+ </a>
+ </p>
+
+ <div id="thread_nav">
+ <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>
+
+ <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>
+
+ <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>
+ </div>
+
+
+ <hr id="white"/>
+ <hr />
+ </div>
+
+ <div class="content">
+ {% block content %}
+ {% endblock %}
+ </div>
+
+</body>
+</html>