summaryrefslogtreecommitdiff
path: root/templates/generic_page.html
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2016-05-06 12:10:50 +0200
committerczaks <marcin@6irc.net>2016-05-06 12:14:28 +0200
commit293543878a10e1ef93990acb373f8f22ca655f64 (patch)
treebad2b7e1749fe33fb4879a1e4f9050f515fe750c /templates/generic_page.html
parent6c334a3b4494a9b1b3e9f801dab45e6e027dceed (diff)
backport parts of 2d6d449bd2d72, in particular html classes
Diffstat (limited to 'templates/generic_page.html')
-rw-r--r--templates/generic_page.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/generic_page.html b/templates/generic_page.html
index 35b58df3..fbfc3c50 100644
--- a/templates/generic_page.html
+++ b/templates/generic_page.html
@@ -6,7 +6,7 @@
<title>{{ board.url }} - {{ board.name }}</title>
{% endblock %}
</head>
-<body>
+<body class="8chan vichan {% if mod %}is-moderator{% else %}is-not-moderator{% endif %}" data-stylesheet="{% if config.default_stylesheet.1 != '' %}{{ config.default_stylesheet.1 }}{% else %}default{% endif %}">
{{ 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 %}