1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00
vichan/templates/thread.html

157 lines
6.2 KiB
HTML
Raw Normal View History

2011-10-05 06:22:53 +02:00
<!DOCTYPE html>
2010-11-02 11:57:33 +01:00
<html>
<head>
2011-10-05 06:22:53 +02:00
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}" />
{% if config.url_favicon %}<link rel="shortcut icon" href="{{ config.url_favicon }}" />{% endif %}
<title>{{ board.url }} - {{ board.name }}</title>
2011-01-03 06:29:34 +01:00
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
2010-11-02 11:57:33 +01:00
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
2011-10-05 06:22:53 +02:00
{% if config.meta_keywords %}<meta name="keywords" content="{{ config.meta_keywords }}" />{% endif %}
<link rel="stylesheet" type="text/css" id="stylesheet" href="{{ config.uri_stylesheets }}{{ config.default_stylesheet.1 }}" />
<script type="text/javascript" src="{{ config.url_javascript }}"></script>
{% if config.recaptcha %}<style type="text/css">{% raw %}
2011-06-15 20:59:16 +02:00
.recaptcha_image_cell {
background: none !important;
}
table.recaptchatable {
border: none !important;
}
#recaptcha_logo, #recaptcha_tagline {
display: none;
float: right;
}
.recaptchatable a {
display: block;
}
2011-10-05 06:22:53 +02:00
{% endraw %}</style>{% endif %}
2010-11-02 11:57:33 +01:00
</head>
<body>
2011-10-05 06:22:53 +02:00
{{ boardlist.top }}
2011-10-05 10:41:34 +02:00
{% 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 %}
2011-10-05 10:46:46 +02:00
{% 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 %}
2011-10-05 06:22:53 +02:00
<h1>{{ board.url }} - {{ board.name }}</h1>
<div class="title">{% if board.title %}{{ board.title }}{% endif %}<p>{% if mod %}<a href="?/">Return to dashboard</a>{% endif %}</p></div>
<div class="banner">{% trans %}Posting mode: Reply{% endtrans %} <a rel="directory" class="unimportant" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a></div>
2011-10-05 06:22:53 +02:00
<form name="post" onsubmit="return dopost(this);" enctype="multipart/form-data" action="{{ config.post_url }}" method="post">
{{ hidden_inputs }}
<input type="hidden" name="thread" value="{{ id }}" />
<input type="hidden" name="board" value="{{ board.uri }}" />
{% if mod %}<input type="hidden" name="mod" value="1" />{% endif %}
2010-11-02 11:57:33 +01:00
<table>
<tr>
<th>
2011-10-11 12:49:14 +02:00
{% trans %}Name{% endtrans %}
2010-11-02 11:57:33 +01:00
</th>
<td>
2011-02-03 10:28:14 +01:00
<input type="text" name="name" size="25" maxlength="50" autocomplete="off" />
2010-11-02 11:57:33 +01:00
</td>
</tr>
<tr>
<th>
2011-10-11 12:49:14 +02:00
{% trans %}Email{% endtrans %}
2010-11-02 11:57:33 +01:00
</th>
<td>
2011-02-17 11:20:04 +01:00
<input type="text" name="email" size="25" maxlength="40" autocomplete="off" />
2010-11-02 11:57:33 +01:00
</td>
</tr>
<tr>
<th>
2011-10-11 12:49:14 +02:00
{% trans %}Subject{% endtrans %}
2010-11-02 11:57:33 +01:00
</th>
<td>
<input style="float:left;" type="text" name="subject" size="25" maxlength="100" autocomplete="off" />
2011-10-11 12:49:14 +02:00
<input accesskey="s" style="margin-left:2px;" type="submit" name="post" value="{{ config.button_reply }}" />{% if config.spoiler_images %} <input id="spoiler" name="spoiler" type="checkbox" /> <label for="spoiler">{% trans %}Spoiler Image{% endtrans %}</label>{% endif %}
2010-11-02 11:57:33 +01:00
</td>
</tr>
<tr>
<th>
2011-10-11 12:49:14 +02:00
{% trans %}Comment{% endtrans %}
2010-11-02 11:57:33 +01:00
</th>
<td>
<textarea name="body" id="body" rows="5" cols="30"></textarea>
</td>
</tr>
2011-10-05 06:22:53 +02:00
{% if config.recaptcha %}
2011-06-15 20:59:16 +02:00
<tr>
<th>
2011-10-11 12:49:14 +02:00
{% trans %}Verification{% endtrans %}
2011-06-15 20:59:16 +02:00
</th>
<td>
2011-10-05 06:22:53 +02:00
<script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k={{ config.recaptcha_public }}"></script>
2011-06-15 20:59:16 +02:00
</td>
</tr>
2011-10-05 06:22:53 +02:00
{% endif %}
2010-11-02 11:57:33 +01:00
<tr>
<th>
2011-10-11 12:49:14 +02:00
{% trans %}File{% endtrans %}
2010-11-02 11:57:33 +01:00
</th>
<td>
2011-10-05 06:22:53 +02:00
<input type="file" name="file" />
2010-11-02 11:57:33 +01:00
</td>
</tr>
2011-10-05 06:22:53 +02:00
{% if config.enable_embedding %}
2011-05-18 09:05:48 +02:00
<tr>
<th>
2011-10-11 12:49:14 +02:00
{% trans %}Embed{% endtrans %}
2011-05-18 09:05:48 +02:00
</th>
<td>
2011-05-25 11:44:48 +02:00
<input type="text" name="embed" size="30" maxlength="120" autocomplete="off" />
2011-05-18 09:05:48 +02:00
</td>
</tr>
2011-10-05 06:22:53 +02:00
{% endif %}
{% if mod %}
2011-02-03 10:28:14 +01:00
<tr>
<th>
2011-10-11 12:49:14 +02:00
{% trans %}Flags{% endtrans %}
2011-02-03 10:28:14 +01:00
</th>
<td>
<div>
2011-10-11 12:49:14 +02:00
<label for="raw">{% trans %}Raw HTML{% endtrans %}</label><br />
2011-10-05 06:22:53 +02:00
<input title="Raw HTML" type="checkbox" name="raw" id="raw" />
2011-02-03 10:28:14 +01:00
</div>
</td>
</tr>
2011-10-05 06:22:53 +02:00
{% endif %}
2010-11-02 11:57:33 +01:00
<tr>
<th>
2011-10-11 12:49:14 +02:00
{% trans %}Password{% endtrans %}
2010-11-02 11:57:33 +01:00
</th>
<td>
<input type="password" name="password" size="12" maxlength="18" autocomplete="off" />
2011-10-11 12:49:14 +02:00
<span class="unimportant">{% trans %}(For file deletion.){% endtrans %}</span>
2010-11-02 11:57:33 +01:00
</td>
</tr>
</table>
</form>
2011-10-05 06:22:53 +02:00
<script type="text/javascript">{% raw %}
rememberStuff();
2011-10-05 06:22:53 +02:00
{% endraw %}</script>
2011-10-01 14:09:25 +02:00
2011-10-05 06:22:53 +02:00
{% if config.blotter %}<hr /><div class="blotter">{{ config.blotter }}</div>{% endif %}
<hr />
<form name="postcontrols" action="{{ config.post_url }}" method="post">
2011-10-05 06:22:53 +02:00
<input type="hidden" name="board" value="{{ board.uri }}" />
{% if mod %}<input type="hidden" name="mod" value="1" />{% endif %}
{{ body }}
2011-01-21 03:13:50 +01:00
<div class="delete">
2011-10-11 12:49:14 +02:00
{% trans %}Delete Post{% endtrans %} [<input title="Delete file only" type="checkbox" name="file" id="delete_file" />
<label for="delete_file">{% trans %}File{% endtrans %}</label>] <label for="password">{% trans %}Password{% endtrans %}</label>
2011-02-20 12:48:41 +01:00
<input id="password" type="password" name="password" size="12" maxlength="18" />
2011-10-11 12:49:14 +02:00
<input type="submit" name="delete" value="{% trans %}Delete{% endtrans %}" />
2011-02-20 07:19:57 +01:00
</div>
<div class="delete" style="clear:both">
2011-10-11 12:49:14 +02:00
<label for="reason">{% trans %}Reason{% endtrans %}</label>
2011-02-20 07:19:57 +01:00
<input id="reason" type="text" name="reason" size="20" maxlength="30" />
2011-10-11 12:49:14 +02:00
<input type="submit" name="report" value="{% trans %}Report{% endtrans %}" />
2011-01-21 03:13:50 +01:00
</div>
</form>
<a rel="directory" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a>
2011-10-05 11:25:37 +02:00
2011-10-05 06:22:53 +02:00
{{ boardlist.bottom }}
<p class="unimportant" style="margin-top:20px;text-align:center;">Powered by <a href="http://tinyboard.org/">Tinyboard</a> {{ config.version }} | <a href="http://tinyboard.org/">Tinyboard</a> Copyright &copy; 2010-2011 Tinyboard Development Group</p>
2011-10-05 06:22:53 +02:00
<p class="unimportant" style="text-align:center;">All trademarks, copyrights, comments, and images on this page are owned by or are the responsibility of their respective parties.</p>
2010-11-02 11:57:33 +01:00
</body>
2011-10-05 09:38:36 +02:00
</html>