forked from leftypol/leftypol
Add banners as default functionality & display them on mod login / dashboard when enabled (#513)
* Add banner support as a default, integrated option. Used lainchan's original banner script, authored by barrucadu * Display banners on moderator login and dashboard * Remove memes & better directory structure
This commit is contained in:
parent
fd0e3113b3
commit
2e84ebcbe2
2 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
{% 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 %}
|
||||
<ul>
|
||||
{% for board in boards %}
|
||||
<li>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{% if error %}<h2 style="text-align:center">{{ error }}</h2>{% 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 %}
|
||||
<form action="" method="post">
|
||||
<table style="margin-top:25px;">
|
||||
<tr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue