summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-09-15 00:53:45 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-09-15 00:53:45 +1000
commit92550d50848e5873002bfbe5428a568d4f8b6a00 (patch)
treef878836801aaac80d2d516573b1ae8a55b00cae8 /templates/index.html
parentc4a6116722f7798967a8424cb47aad2a319e7a9c (diff)
Better position of top nav bar? Shit css
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/templates/index.html b/templates/index.html
index 0b4fed8d..b8c5d1ae 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -7,8 +7,19 @@
</head>
<body>
{{ boardlist.top }}
+
+ {% if config.page_nav_top %}
+ <div class="pages top">
+ {% for page in pages %}
+ [<a {% if page.selected %}class="selected"{% endif %}{% if not page.selected %}href="{{ page.link }}"{% endif %}>{{ page.num }}</a>]{% if loop.last %} {% endif %}
+ {% endfor %}
+ {{ btn.next }}
+ </div>
+ {% endif %}
+
{% if pm %}<div class="top_notice">You have <a href="?/PM/{{ pm.id }}">an unread PM</a>{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.</div><hr />{% endif %}
{% if config.url_banner %}<img class="banner" src="{{ config.url_banner }}" {% if config.banner_width or config.banner_height %}style="{% if config.banner_width %}width:{{ config.banner_width }}px{% endif %};{% if config.banner_width %}height:{{ config.banner_height }}px{% endif %}" {% endif %}alt="" />{% endif %}
+
<header>
<h1>{{ board.url }} - {{ board.title|e }}</h1>
<div class="subtitle">
@@ -25,17 +36,6 @@
{% include 'post_form.html' %}
- {% if config.page_nav_top %}
- <div class="pages top">
- {% for page in pages %}
- [<a {% if page.selected %}class="selected"{% endif %}{% if not page.selected %}href="{{ page.link }}"{% endif %}>{{ page.num }}</a>]{% if loop.last %} {% endif %}
- {% endfor %} {{ btn.next }}
- {% if config.catalog_link %}
- | <a href="{{ config.root }}{{ board.dir }}{{ config.catalog_link }}">Catalog</a>
- {% endif %}
- </div>
- {% endif %}
-
{% if config.global_message %}<hr /><div class="blotter">{{ config.global_message }}</div>{% endif %}
<hr />
<form name="postcontrols" action="{{ config.post_url }}" method="post">