From 92550d50848e5873002bfbe5428a568d4f8b6a00 Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Sun, 15 Sep 2013 00:53:45 +1000 Subject: [PATCH] Better position of top nav bar? Shit css --- stylesheets/style.css | 3 +++ templates/index.html | 22 +++++++++++----------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/stylesheets/style.css b/stylesheets/style.css index 10ddb8e8..aa5d121e 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -322,6 +322,9 @@ div.pages { div.pages.top { display: inline-block; padding: 4px 8px; + margin-top: 40px; + float: left; + position: absolute; } div.pages a.selected { color: black; 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 @@ {{ boardlist.top }} + + {% if config.page_nav_top %} +
+ {% for page in pages %} + [{{ page.num }}]{% if loop.last %} {% endif %} + {% endfor %} + {{ btn.next }} +
+ {% endif %} + {% if pm %}
You have an unread PM{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.

{% endif %} {% if config.url_banner %}{% endif %} +

{{ board.url }} - {{ board.title|e }}

@@ -25,17 +36,6 @@ {% include 'post_form.html' %} - {% if config.page_nav_top %} -
- {% for page in pages %} - [{{ page.num }}]{% if loop.last %} {% endif %} - {% endfor %} {{ btn.next }} - {% if config.catalog_link %} - | Catalog - {% endif %} -
- {% endif %} - {% if config.global_message %}
{{ config.global_message }}
{% endif %}