Browse Source

Adding glitch class to h1 to enable glitch CSS effect on test CSS theme

pull/40/head
Benjamin Southall 7 years ago
parent
commit
1c18fcad2a
  1. 4
      templates/generic_page.html
  2. 7
      templates/index.html
  3. 8
      templates/page.html
  4. 6
      templates/thread.html

4
templates/generic_page.html

@ -12,8 +12,9 @@
{{ boardlist.top }} {{ 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 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="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 %}
<div id="pagewrap">
<header> <header>
<h1>{{ board.url }} - {{ board.name }}</h1> <h1 class="glitch" data-text="{{ board.url }} - {{ board.name }}">{{ board.url }} - {{ board.name }}</h1>
<div class="subtitle"> <div class="subtitle">
{% if board.title %} {% if board.title %}
{{ board.title|e }} {{ board.title|e }}
@ -47,6 +48,7 @@
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %} {% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
</footer> </footer>
</div>
<script type="text/javascript">{% raw %} <script type="text/javascript">{% raw %}
ready(); ready();
{% endraw %}</script> {% endraw %}</script>

7
templates/index.html

@ -26,7 +26,7 @@
{% 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 %} {% 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 %}
<div id="pagewrap"> <div id="pagewrap">
<header> <header>
<h1>{{ board.url }} - {{ board.title|e }}</h1> <h1 class="glitch" data-text="{{ board.url }} - {{ board.title|e }}">{{ board.url }} - {{ board.title|e }}</h1>
<div class="subtitle"> <div class="subtitle">
{% if board.subtitle %} {% if board.subtitle %}
{% if config.allow_subtitle_html %} {% if config.allow_subtitle_html %}
@ -35,7 +35,8 @@
{{ board.subtitle|e }} {{ board.subtitle|e }}
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if mod %}<p><a href="?/">{% trans %}Return to dashboard{% endtrans %}</a></p>{% endif %} {% if mod %}
<p><a href="?/">{% trans %}Return to dashboard{% endtrans %}</a></p>{% endif %}
</div> </div>
</header> </header>
@ -78,6 +79,8 @@
{{ config.ad.bottom }} {{ config.ad.bottom }}
<footer> <footer>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p class="unimportant" style="margin-top:20px;text-align:center;">- <a href="http://tinyboard.org/">Tinyboard</a> + <p class="unimportant" style="margin-top:20px;text-align:center;">- <a href="http://tinyboard.org/">Tinyboard</a> +
<a href='https://int.vichan.net/devel/'>vichan</a> + <a href='https://int.vichan.net/devel/'>vichan</a> +
<a href='https://github.com/lainchan/lainchan'>lainchan</a> {{ config.version }} - <a href='https://github.com/lainchan/lainchan'>lainchan</a> {{ config.version }} -

8
templates/page.html

@ -15,8 +15,8 @@
{% 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 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 %}
<div id="pagewrap"> <div id="pagewrap">
<header> <header>
<h1>{{ title }}</h1> <h1 class="glitch" data-text="{{ title }}">{{ title }}</h1>
<div class="subtitle"> <div class="subtitle">
{% if subtitle %} {% if subtitle %}
{{ subtitle }} {{ subtitle }}
@ -35,6 +35,10 @@
<br><a href="https://github.com/lainchan/lainchan">lainchan</a> Copyright &copy; 2014-2017 lainchan Administration</p> <br><a href="https://github.com/lainchan/lainchan">lainchan</a> Copyright &copy; 2014-2017 lainchan Administration</p>
</footer> </footer>
<div class="pages"></div>
<script type="text/javascript">{% raw %}
ready();
{% endraw %}</script>
</div> </div>
</body> </body>
</html> </html>

6
templates/thread.html

@ -34,7 +34,7 @@
{% 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 %} {% 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 %}
<div id="pagewrap"> <div id="pagewrap">
<header> <header>
<h1>{{ board.url }} - {{ board.title|e }}</h1> <h1 class="glitch" data-text="{{ board.url }} - {{ board.title|e }}">{{ board.url }} - {{ board.title|e }}</h1>
<div class="subtitle"> <div class="subtitle">
{% if board.subtitle %} {% if board.subtitle %}
{% if config.allow_subtitle_html %} {% if config.allow_subtitle_html %}
@ -89,7 +89,7 @@
{{ boardlist.bottom }} {{ boardlist.bottom }}
{{ config.ad.bottom }} {{ config.ad.bottom }}
<a name="bottom"></a>
<footer> <footer>
{% include 'badges.html' %} {% include 'badges.html' %}
<p class="unimportant" style="margin-top:20px;text-align:center;">- <a href="http://tinyboard.org/">Tinyboard</a> + <p class="unimportant" style="margin-top:20px;text-align:center;">- <a href="http://tinyboard.org/">Tinyboard</a> +
@ -100,7 +100,7 @@
<br><a href="https://github.com/lainchan/lainchan">lainchan</a> Copyright &copy; 2014-2017 lainchan Administration</p> <br><a href="https://github.com/lainchan/lainchan">lainchan</a> Copyright &copy; 2014-2017 lainchan Administration</p>
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %} {% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
</footer> </footer>
</div> </div>
<div class="bar bottom"> <div class="bar bottom">
<div class="threadlinks"> <div class="threadlinks">
<span class="threadlink">[ <a href="{{ return }}">{% trans %}Return{% endtrans %}</a> /</span> <span class="threadlink">[ <a href="{{ return }}">{% trans %}Return{% endtrans %}</a> /</span>

Loading…
Cancel
Save