mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-24 22:25:00 +01:00
Makes the new thread stuff be collapsed by default and you have to click on [New Thread] for it to expand
This commit is contained in:
parent
4e2ad66d48
commit
a2efa13985
@ -80,7 +80,7 @@ header div.subtitle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
form {
|
form {
|
||||||
margin-bottom: 4em;
|
margin-bottom: 3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
form table {
|
form table {
|
||||||
@ -1217,3 +1217,28 @@ table.fileboard .intro a {
|
|||||||
div.mix {
|
div.mix {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Collapsed post area */
|
||||||
|
#PostAreaToggle + span {
|
||||||
|
font-size: 22px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
#PostAreaToggle + span > a > label {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
#PostAreaToggle + span + div {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#PostAreaToggle:checked + span {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#PostAreaToggle:checked + span + div {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
form[name="post"] {
|
||||||
|
margin-bottom: 0em;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
form[name="post"] > div {
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
@ -1,5 +1,10 @@
|
|||||||
<form name="post" onsubmit="return dopost(this);" enctype="multipart/form-data" action="{{ config.post_url }}" method="post">
|
<form name="post" onsubmit="return dopost(this);" enctype="multipart/form-data" action="{{ config.post_url }}" method="post">
|
||||||
{{ antibot.html() }}
|
{{ antibot.html() }}
|
||||||
|
{% if not id %}
|
||||||
|
<input type="checkbox" id="PostAreaToggle" class="hidden"/>
|
||||||
|
<span>[<a href="#" class="no-decoration" title="Start a new thread"><label for="PostAreaToggle">New Thread</label></a>]</span>
|
||||||
|
{% endif %}
|
||||||
|
<div>
|
||||||
{% if id %}<input type="hidden" name="thread" value="{{ id }}">{% endif %}
|
{% if id %}<input type="hidden" name="thread" value="{{ id }}">{% endif %}
|
||||||
{{ antibot.html() }}
|
{{ antibot.html() }}
|
||||||
<input type="hidden" name="board" value="{{ board.uri }}">
|
<input type="hidden" name="board" value="{{ board.uri }}">
|
||||||
@ -170,6 +175,7 @@
|
|||||||
</table>
|
</table>
|
||||||
{{ antibot.html(true) }}
|
{{ antibot.html(true) }}
|
||||||
<input type="hidden" name="hash" value="{{ antibot.hash() }}">
|
<input type="hidden" name="hash" value="{{ antibot.hash() }}">
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<script type="text/javascript">{% raw %}
|
<script type="text/javascript">{% raw %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user