Merge pull request #67 from AshtonHarding/master

Update zine.html & banned.html & re-added spoiler button in post
This commit is contained in:
Michael Walker 2016-08-23 20:34:09 +01:00 committed by GitHub
commit 8dcb5c7d3b
3 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,7 @@
{% filter remove_whitespace %} {% filter remove_whitespace %}
{# Automatically removes unnecessary whitespace #} {# Automatically removes unnecessary whitespace #}
<div class="ban"> <div class="ban">
<iframe width="420" height="315" src="https://www.youtube.com/embed/FXPKJUE86d0" frameborder="0" allowfullscreen></iframe>
{% if ban.expires and time() >= ban.expires %} {% if ban.expires and time() >= ban.expires %}
<h2>{% trans %}You were banned! ;_;{% endtrans %}</h2> <h2>{% trans %}You were banned! ;_;{% endtrans %}</h2>
{% else %} {% else %}

View File

@ -52,6 +52,7 @@
<td> <td>
<input style="float:left;" type="text" name="subject" size="25" maxlength="100" autocomplete="off"> <input style="float:left;" type="text" name="subject" size="25" maxlength="100" autocomplete="off">
<input accesskey="s" style="margin-left:2px;" type="submit" name="post" value="{% if id %}{{ config.button_reply }}{% else %}{{ config.button_newtopic }}{% endif %}" /> <input accesskey="s" style="margin-left:2px;" type="submit" name="post" value="{% if id %}{{ config.button_reply }}{% else %}{{ config.button_newtopic }}{% endif %}" />
<input id="spoiler" name="spoiler" type="checkbox"><label for="spoiler">Spoiler Image</label>
</td> </td>
</tr> </tr>
{% endif %} {% endif %}
@ -66,6 +67,7 @@
{% if not (not (config.field_disable_subject or (id and config.field_disable_reply_subject)) or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri))) %} {% if not (not (config.field_disable_subject or (id and config.field_disable_reply_subject)) or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri))) %}
{% if not (not config.field_disable_email or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri))) %} {% if not (not config.field_disable_email or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri))) %}
<input accesskey="s" style="margin-left:2px;" type="submit" name="post" value="{% if id %}{{ config.button_reply }}{% else %}{{ config.button_newtopic }}{% endif %}" /> <input accesskey="s" style="margin-left:2px;" type="submit" name="post" value="{% if id %}{{ config.button_reply }}{% else %}{{ config.button_newtopic }}{% endif %}" />
<input id="spoiler" name="spoiler" type="checkbox"><label for="spoiler">Spoiler Image</label> <!-- General idea, but it might need those {% code %}-->
{% endif %} {% endif %}
{% endif %} {% endif %}
</td> </td>

View File

@ -59,8 +59,9 @@
<span></span> <span></span>
</h2> </h2>
<div class="cont"> <div class="cont">
<a href="2015-04-20.pdf"><img src="2015-04-20.jpg"/><br/><span>01</span></a> <a href="http://lainzine.neocities.org/all-releases/lainzine01.pdf"><img src="http://lainzine.neocities.org/img/lainzine01.png"/><br/><span>01</span></a>
<a href="2015-08-28.pdf"><img src="2015-08-28.jpg"/><br/><span>02</span></a> <a href="http://lainzine.neocities.org/all-releases/lainzine02.pdf"><img src="http://lainzine.neocities.org/img/lainzine02.png"/><br/><span>02</span></a>
<a href="http://lainzine.neocities.org/all-releases/lainzine03.pdf"><img src="http://lainzine.neocities.org/img/lainzine03.png"/><br/><span>03</span></a>
</div> </div>
</div> </div>
</body> </body>