diff options
| author | czaks <marcin@6irc.net> | 2014-01-06 16:38:48 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-01-06 16:38:48 +0100 |
| commit | cdb988c6d4cf48d0bb3e7e8b32e2d17b0ac4a703 (patch) | |
| tree | 8a0575d924953983a6fae4030d9d9f26e95a1853 /templates | |
| parent | c8bccecc2327316626a12729806f7018d3d3d3a2 (diff) | |
rename banner class to board_image in order to evade some adblock rules
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/index.html | 2 | ||||
| -rw-r--r-- | templates/thread.html | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/index.html b/templates/index.html index c45e51fe..b694950c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -21,7 +21,7 @@ {{ boardlist.top }} {% 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 %} + {% if config.url_banner %}<img class="board_image" 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> diff --git a/templates/thread.html b/templates/thread.html index aecc9098..13159148 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -13,7 +13,7 @@ <body> {{ boardlist.top }} {% 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 %} + {% if config.url_banner %}<img class="board_image" 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"> @@ -28,9 +28,9 @@ </div> </header> - <div class="banner">{% trans %}Posting mode: Reply{% endtrans %} <a class="unimportant" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a></div> + {% include 'attention_bar.html' %} - {% include 'attention_bar.html' %} + <div class="banner">{% trans %}Posting mode: Reply{% endtrans %} <a class="unimportant" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a></div> {{ config.ad.top }} |
