mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-09-04 10:06:24 -07:00
Improve postbox for mobile displays, remove no longer used threadlinks-top from css
This commit is contained in:
parent
e4218beda3
commit
23d3cea759
5 changed files with 11 additions and 20 deletions
|
@ -30,8 +30,7 @@ div#staff, select.post-actions {
|
|||
|
||||
div#topbar,
|
||||
div#topbar a,
|
||||
div#topbar a:visited
|
||||
div#threadlinks-top {
|
||||
div#topbar a:visited {
|
||||
background: $topbarbg;
|
||||
border-bottom: 1px solid $topborder;
|
||||
}
|
||||
|
|
|
@ -74,10 +74,6 @@ table#pages td {
|
|||
float:right;
|
||||
}
|
||||
|
||||
#threadlinks-top {
|
||||
float:left;
|
||||
position:absolute;
|
||||
}
|
||||
|
||||
.reply {
|
||||
margin-bottom: 4px;
|
||||
|
@ -169,8 +165,9 @@ input[type=file] {
|
|||
width: 275px;
|
||||
}
|
||||
|
||||
input {
|
||||
input, textarea {
|
||||
filter: none;
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
table#postbox-static {
|
||||
|
|
|
@ -82,7 +82,7 @@ div#staff, select.post-actions {
|
|||
|
||||
div#topbar,
|
||||
div#topbar a,
|
||||
div#topbar a:visited div#threadlinks-top {
|
||||
div#topbar a:visited {
|
||||
background: #151515;
|
||||
border-bottom: 1px solid #B0790A;
|
||||
}
|
||||
|
|
|
@ -74,11 +74,6 @@ table#pages td {
|
|||
float: right;
|
||||
}
|
||||
|
||||
#threadlinks-top {
|
||||
float: left;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.reply {
|
||||
margin-bottom: 4px;
|
||||
padding: 4px 8px 4px 8px;
|
||||
|
@ -171,8 +166,9 @@ input[type=file] {
|
|||
width: 275px;
|
||||
}
|
||||
|
||||
input {
|
||||
input, textarea {
|
||||
filter: none;
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
table#postbox-static {
|
||||
|
|
|
@ -3,18 +3,17 @@
|
|||
<form id="postform" name="postform" action="/post" method="POST" enctype="multipart/form-data">
|
||||
{{- with .op}}
|
||||
<input type="hidden" name="threadid" value="{{$.op.ID}}" />
|
||||
<input type="hidden" name="boardid" value="{{$.board.ID}}" />
|
||||
{{- else -}}
|
||||
<input type="hidden" name="threadid" value="0" />
|
||||
<input type="hidden" name="boardid" value="{{$.board.ID}}" />
|
||||
{{- end}}
|
||||
<input type="hidden" name="boardid" value="{{$.board.ID}}" />
|
||||
<table id="postbox-static">
|
||||
<tr><th class="postblock">Name</th><td><input type="text" name="postname" maxlength="100" size="28" /></td></tr>
|
||||
<tr><th class="postblock">Email</th><td><input type="text" name="postemail" maxlength="100" size="28" /></td></tr>
|
||||
<tr><th class="postblock">Subject</th><td><input type="text" name="postsubject" size="28" maxlength="100">
|
||||
<tr><th class="postblock">Name</th><td><input type="text" name="postname" maxlength="100" size="25" /></td></tr>
|
||||
<tr><th class="postblock">Email</th><td><input type="text" name="postemail" maxlength="100" size="25" /></td></tr>
|
||||
<tr><th class="postblock">Subject</th><td><input type="text" name="postsubject" size="25" maxlength="100">
|
||||
<input type="text" name="username" style="display:none"/>
|
||||
<input type="submit" value="{{with .op}}Reply{{else}}Post{{end}}"/></td></tr>
|
||||
<tr><th class="postblock">Message</th><td><textarea rows="4" cols="48" name="postmsg" id="postmsg"></textarea></td></tr>
|
||||
<tr><th class="postblock">Message</th><td><textarea rows="5" cols="35" name="postmsg" id="postmsg"></textarea></td></tr>
|
||||
<tr><th class="postblock">File</th><td><input name="imagefile" type="file" accept="image/jpeg,image/png,image/gif,video/webm,video/mp4"><input type="checkbox" id="spoiler" name="spoiler"/><label for="spoiler">Spoiler</label></td></tr>
|
||||
<tr><th class="postblock">Password</th><td><input type="password" id="postpassword" name="postpassword" size="14" /> (for post/file deletion)</td></tr>
|
||||
{{if .useCaptcha -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue