summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html21
1 files changed, 19 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html
index e32ac253..12150d0b 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -2,6 +2,18 @@
<html>
<head>
<meta charset="utf-8">
+
+ <script type="text/javascript">
+ {% if config.quick_reply %}
+ var new_reply_string = "{{ config.button_reply }}";
+ {% endif %}
+ {% if not no_post_form %}
+ var active_page = "index";
+ {% else %}
+ var active_page = "ukko";
+ {% endif %}
+ </script>
+
{% include 'header.html' %}
<title>{{ board.url }} - {{ board.title|e }}</title>
</head>
@@ -19,8 +31,13 @@
</div>
</header>
- {% include 'post_form.html' %}
-
+ {% include 'attention_bar.html' %}
+ {% if not no_post_form %}
+ {% include 'post_form.html' %}
+ {% else %}
+ {% include 'boardlist.html' %}
+ {% endif %}
+
{% if config.global_message %}<hr /><div class="blotter">{{ config.global_message }}</div>{% endif %}
<hr />
<form name="postcontrols" action="{{ config.post_url }}" method="post">