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.

120 lines
5.1KB

  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 active_page = "thread"
  8. , board_name = "{{ board.uri }}"
  9. , thread_id = "{{ thread.id }}";
  10. </script>
  11. {% include 'header.html' %}
  12. {% set meta_subject %}{% if config.thread_subject_in_title and thread.subject %}{{ thread.subject|e }}{% else %}{{ thread.body_nomarkup[:256]|remove_modifiers|e }}{% endif %}{% endset %}
  13. <meta name="description" content="{{ board.url }} - {{ board.title|e }} - {{ meta_subject }}" />
  14. <meta name="twitter:card" value="summary">
  15. <meta property="og:title" content="{{ meta_subject }}" />
  16. <meta property="og:type" content="article" />
  17. <meta property="og:url" content="{{ config.domain }}/{{ board.uri }}/{{ config.dir.res }}{{ thread.id }}.html" />
  18. {% if thread.files.0.thumb %}<meta property="og:image" content="{{ config.domain }}/{{ board.uri }}/{{ config.dir.thumb }}{{ thread.files.0.thumb }}" />{% endif %}
  19. <meta property="og:description" content="{{ thread.body_nomarkup|e }}" />
  20. <title>{{ board.url }} - {{ meta_subject }}</title>
  21. </head>
  22. <body id="thread" class="8chan vichan {% if mod %}is-moderator{% else %}is-not-moderator{% endif %} active-thread" data-stylesheet="{% if config.default_stylesheet.1 != '' %}{{ config.default_stylesheet.1 }}{% else %}default{% endif %}">
  23. <div class="bar top">
  24. {{ boardlist.top }}
  25. </div>
  26. <a name="top"></a>
  27. {% 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 %}
  28. {% 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 %}
  29. <div id="pagewrap">
  30. <header>
  31. <h1 class="glitch" data-text="{{ board.url }} - {{ board.title|e }}">{{ board.url }} - {{ board.title|e }}</h1>
  32. <div class="subtitle">
  33. {% if board.subtitle %}
  34. {% if config.allow_subtitle_html %}
  35. {{ board.subtitle }}
  36. {% else %}
  37. {{ board.subtitle|e }}
  38. {% endif %}
  39. {% endif %}
  40. {% if mod %}<p><a href="?/">{% trans %}Return to dashboard{% endtrans %}</a></p>{% endif %}
  41. </div>
  42. </header>
  43. {% include 'attention_bar.html' %}
  44. {{ config.ad.top }}
  45. {% include 'post_form.html' %}
  46. {% if config.global_message %}<hr /><div class="blotter">{{ config.global_message }}</div>{% endif %}
  47. <hr />
  48. <div class="threadlinks-noup">
  49. <span class="threadlink">[ <a href="{{ return }}">{% trans %}Return{% endtrans %}</a> /</span>
  50. <span class="threadlink"><a href="#bottom" style="padding-left: 10px"> {% trans %}Go to bottom{% endtrans %}</a> ]</span>
  51. </div>
  52. <hr />
  53. <form name="postcontrols" action="{{ config.post_url }}" method="post">
  54. <input type="hidden" name="board" value="{{ board.uri }}" />
  55. {% if mod %}<input type="hidden" name="mod" value="1" />{% endif %}
  56. {{ body }}
  57. <div id="thread-interactions">
  58. <span id="thread-links">
  59. <a id="thread-return" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a>
  60. <a id="thread-top" href="#top">[{% trans %}Go to top{% endtrans %}]</a>
  61. {% if config.catalog_link %}
  62. <a id="thread-catalog" href="{{ config.root }}{{ board.dir }}{{ config.catalog_link }}">[{% trans %}Catalog{% endtrans %}]</a>
  63. {% endif %}
  64. {% if config.home_link %}
  65. | <a id="thread-home" href="{{ config.root }}">[{% trans %}Home{% endtrans %}]</a>
  66. {% endif %}
  67. </span>
  68. <span id="thread-quick-reply">
  69. <a id="link-quick-reply" href="#">[{% trans %}Post a Reply{% endtrans %}]</a>
  70. </span>
  71. {% include 'report_delete.html' %}
  72. </div>
  73. <div class="clearfix"></div>
  74. </form>
  75. {{ boardlist.bottom }}
  76. {{ config.ad.bottom }}
  77. <footer>
  78. {% include 'badges.html' %}
  79. <p class="unimportant" style="margin-top:20px;text-align:center;">- <a href="http://tinyboard.org/">Tinyboard</a> +
  80. <a href='https://int.vichan.net/devel/'>vichan</a> +
  81. <a href='https://github.com/lainchan/lainchan'>lainchan</a> {{ config.version }} -
  82. <br><a href="http://tinyboard.org/">Tinyboard</a> Copyright &copy; 2010-2014 Tinyboard Development Group
  83. <br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2016 vichan-devel
  84. <br><a href="https://github.com/lainchan/lainchan">lainchan</a> Copyright &copy; 2014-2017 lainchan Administration</p>
  85. {% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
  86. </footer>
  87. </div>
  88. <div class="bar bottom">
  89. <div class="threadlinks">
  90. <span class="threadlink">[ <a href="{{ return }}">{% trans %}Return{% endtrans %}</a> /</span>
  91. <span class="threadlink"><a href="#" style="padding-left: 10px"> {% trans %}Go to top{% endtrans %}</a> /</span>
  92. </div>
  93. <div class=pages></div>
  94. </div>
  95. <script type="text/javascript">{% raw %}
  96. ready();
  97. {% endraw %}</script>
  98. <a href="#" id="bottom"></a>
  99. </body>
  100. </html>