The version of vichan running on lainchan.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

119 line
4.3KB

  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
  6. <script type="text/javascript">
  7. var
  8. {% if not no_post_form %}
  9. active_page = "index"
  10. , board_name = "{{ board.uri }}";
  11. {% else %}
  12. active_page = "ukko";
  13. {% endif %}
  14. </script>
  15. {% include 'header.html' %}
  16. <title>{{ board.url }} - {{ board.title|e }}</title>
  17. </head>
  18. <body class="8chan vichan {% if mod %}is-moderator{% else %}is-not-moderator{% endif %} active-{% if not no_post_form %}index{% else %}ukko{% endif %}" data-stylesheet="{% if config.default_stylesheet.1 != '' %}{{ config.default_stylesheet.1 }}{% else %}default{% endif %}">
  19. <div class="bar top">
  20. {{ boardlist.top }}
  21. </div>
  22. {% 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 %}
  23. {% 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 %}
  24. <header>
  25. <h1>{{ board.url }} - {{ board.title|e }}</h1>
  26. <div class="subtitle">
  27. {% if board.subtitle %}
  28. {% if config.allow_subtitle_html %}
  29. {{ board.subtitle }}
  30. {% else %}
  31. {{ board.subtitle|e }}
  32. {% endif %}
  33. {% endif %}
  34. {% if mod %}<p><a href="?/">{% trans %}Return to dashboard{% endtrans %}</a></p>{% endif %}
  35. </div>
  36. </header>
  37. {% include 'attention_bar.html' %}
  38. {{ config.ad.top }}
  39. {% if not no_post_form %}
  40. {% include 'post_form.html' %}
  41. {% else %}
  42. {% include 'boardlist.html' %}
  43. {% endif %}
  44. {% if config.page_nav_top %}
  45. <!--<div class="pages top">
  46. {% for page in pages %}
  47. [<a {% if page.selected %}class="selected"{% endif %}{% if not page.selected %}href="{{ page.link }}"{% endif %}>{{ page.num }}</a>]{% if loop.last %} {% endif %}
  48. {% endfor %}
  49. {{ btn.next }}
  50. </div>-->
  51. {% endif %}
  52. {% if config.global_message %}<hr /><div class="blotter">{{ config.global_message }}</div>{% endif %}
  53. <hr />
  54. {% if config.catalog_link %}
  55. | <a href="{{ config.root }}{{ board.dir }}{{ config.catalog_link }}">Catalog</a>
  56. {% endif %}
  57. <hr />
  58. <form name="postcontrols" action="{{ config.post_url }}" method="post">
  59. <input type="hidden" name="board" value="{{ board.uri }}" />
  60. {% if mod %}<input type="hidden" name="mod" value="1" />{% endif %}
  61. {{ body }}
  62. {% include 'report_delete.html' %}
  63. </form>
  64. <div class="pages">
  65. {{ btn.prev }} {% for page in pages %}
  66. [<a {% if page.selected %}class="selected"{% endif %}{% if not page.selected %}href="{{ page.link }}"{% endif %}>{{ page.num }}</a>]{% if loop.last %} {% endif %}
  67. {% endfor %} {{ btn.next }}
  68. {% if config.catalog_link %}
  69. | <a href="{{ config.root }}{{ board.dir }}{{ config.catalog_link }}">{% trans %}Catalog{% endtrans %}</a>
  70. {% endif %}
  71. </div>
  72. {{ boardlist.bottom }}
  73. {{ config.ad.bottom }}
  74. <footer>
  75. <p class="unimportant" style="margin-top:20px;text-align:center;">- <a href="http://tinyboard.org/">Tinyboard</a> +
  76. <a href='https://int.vichan.net/devel/'>vichan</a> +
  77. <a href='https://github.com/lainchan/lainchan'>lainchan</a> {{ config.version }} -
  78. <br><a href="http://tinyboard.org/">Tinyboard</a> Copyright &copy; 2010-2014 Tinyboard Development Group
  79. <br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2016 vichan-devel
  80. <br><a href="https://github.com/lainchan/lainchan">lainchan</a> Copyright &copy; 2014-2016 lainchan Administration</p>
  81. {% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
  82. </footer>
  83. <div class="bar bottom">
  84. <div class="pages">
  85. {{ btn.prev }} [ {% for page in pages %}
  86. <a {% if page.selected %}class="selected"{% endif %}{% if not page.selected %}href="{{ page.link }}"{% endif %}>{{ page.num }}</a>{% if not loop.last %} /{% endif %}
  87. {% endfor %} ] {{ btn.next }}
  88. {% if config.catalog_link %}
  89. | <a href="{{ config.root }}{{ board.dir }}{{ config.catalog_link }}">Catalog</a>
  90. {% endif %}
  91. </div>
  92. </div>
  93. </div>
  94. <script type="text/javascript">{% raw %}
  95. ready();
  96. {% endraw %}</script>
  97. </body>
  98. </html>