1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-23 23:20:57 +01:00

Update footer

Remove duplicate code footer in all pages
Updated the link to the project on github
This commit is contained in:
27chan 2022-12-06 16:55:26 -03:00
parent 7571df84c8
commit cd444a1c1b
11 changed files with 22 additions and 64 deletions

7
templates/footer.html Normal file
View File

@ -0,0 +1,7 @@
<footer>
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://github.com/vichan-devel/vichan">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://github.com/vichan-devel/vichan">vichan</a> Copyright &copy; 2012-2022 vichan-devel</p>
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
</footer>

View File

@ -35,13 +35,7 @@
[<a {% if page.selected %}class="selected"{% endif %}{% if not page.selected %}href="{{ page.link }}"{% endif %}>{{ page.num }}</a>]{% if loop.last %} {% endif %} [<a {% if page.selected %}class="selected"{% endif %}{% if not page.selected %}href="{{ page.link }}"{% endif %}>{{ page.num }}</a>]{% if loop.last %} {% endif %}
{% endfor %} {{ btn.next }}</div> {% endfor %} {{ btn.next }}</div>
{{ boardlist.bottom }} {{ boardlist.bottom }}
<footer> {% include 'footer.html' %}
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel</p>
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
</footer>
<script type="text/javascript">{% verbatim %} <script type="text/javascript">{% verbatim %}
ready(); ready();
{% endverbatim %}</script> {% endverbatim %}</script>

View File

@ -88,14 +88,7 @@
{{ config.ad.bottom }} {{ config.ad.bottom }}
<footer> {% include 'footer.html' %}
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel</p>
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
</footer>
<script type="text/javascript">{% verbatim %} <script type="text/javascript">{% verbatim %}
ready(); ready();
{% endverbatim %}</script> {% endverbatim %}</script>

View File

@ -23,11 +23,6 @@
</header> </header>
{{ body }} {{ body }}
<hr> <hr>
<footer> {% include 'footer.html' %}
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel</p>
</footer>
</body> </body>
</html> </html>

View File

@ -37,12 +37,7 @@
</div> </div>
<hr/> <hr/>
<footer> {% include 'footer.html' %}
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel</p>
</footer>
</body> </body>
</html> </html>
{% endfilter %} {% endfilter %}

View File

@ -74,12 +74,7 @@
</div> </div>
<hr/> <hr/>
<footer> {% include 'footer.html' %}
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel</p>
</footer>
<script type="text/javascript">{% verbatim %} <script type="text/javascript">{% verbatim %}
var styles = { var styles = {
{% endverbatim %} {% endverbatim %}

View File

@ -31,12 +31,7 @@
{% endif %} {% endif %}
</div> </div>
<footer> {% include 'footer.html' %}
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel</p>
</footer>
</body> </body>
</html> </html>
{% endfilter %} {% endfilter %}

View File

@ -30,12 +30,7 @@
{% endif %} {% endif %}
</div> </div>
<footer> {% include 'footer.html' %}
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel</p>
</footer>
</body> </body>
</html> </html>
{% endfilter %} {% endfilter %}

View File

@ -98,12 +98,9 @@
</div> </div>
<hr/> <hr/>
<footer>
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard + {% include 'footer.html' %}
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel
</footer>
</body> </body>
</html> </html>
{% endfilter %} {% endfilter %}

View File

@ -55,12 +55,9 @@
</div> </div>
<hr/> <hr/>
<footer>
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard + {% include 'footer.html' %}
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel</p>
</footer>
</body> </body>
</html> </html>
{% endfilter %} {% endfilter %}

View File

@ -82,13 +82,8 @@
{{ config.ad.bottom }} {{ config.ad.bottom }}
<footer> {% include 'footer.html' %}
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel</p>
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
</footer>
<script type="text/javascript">{% verbatim %} <script type="text/javascript">{% verbatim %}
ready(); ready();
{% endverbatim %}</script> {% endverbatim %}</script>