hidden div, css tweaks
This commit is contained in:
parent
c10029bc37
commit
58c51a2671
@ -1414,7 +1414,7 @@
|
|||||||
QR.qr = qr = ui.dialog('qr', {
|
QR.qr = qr = ui.dialog('qr', {
|
||||||
top: '0',
|
top: '0',
|
||||||
left: '0'
|
left: '0'
|
||||||
}, " <a class=close>X</a> <input type=checkbox id=autohide title=autohide> <div class=move> <span class=click> <button>File</button> <span class=input><input form=qr_form name=sub placeholder=Subject><span>Subject</span></span> <span class=input><input form=qr_form name=name placeholder=Name><span>Name</span></span> <span class=input><input form=qr_form name=email placeholder=Email><span>Email</span></span> </span> </div> <form enctype=multipart/form-data method=post action=http://sys.4chan.org/" + g.BOARD + "/post target=iframe id=qr_form> <input name=resto value=" + tid + "> <input name=mode value=regist> <input name=recaptcha_challenge_field id=challenge> <input name=recaptcha_response_field id=response> <input type=file name=upfile> <textarea placeholder=Comment name=com></textarea> <div><img></div> <div id=captcha> <span id=cl>120 Captchas</span> <input id=recaptcha_response_field> </div> <div id=thumbs></div> <div> <button>Submit</button> <input type=checkbox id=autopost title=autopost> <a class=error>Derp</span> </div> </form> ");
|
}, " <a class=close>X</a> <input type=checkbox id=autohide title=autohide> <div class=move> <span class=click> <button>File</button> <span><input form=qr_form name=sub placeholder=Subject><span>Subject</span></span> <span><input form=qr_form name=name placeholder=Name><span>Name</span></span> <span><input form=qr_form name=email placeholder=Email><span>Email</span></span> </span> </div> <form enctype=multipart/form-data method=post action=http://sys.4chan.org/" + g.BOARD + "/post target=iframe id=qr_form> <div hidden> <input name=resto value=" + tid + "> <input name=mode value=regist> <input name=recaptcha_challenge_field id=challenge> <input name=recaptcha_response_field id=response> <input type=file name=upfile> </div> <textarea placeholder=Comment name=com></textarea> <div><img></div> <div id=captcha> <span id=cl>120 Captchas</span> <input id=recaptcha_response_field> </div> <div id=thumbs></div> <div> <button>Submit</button> <input type=checkbox id=autopost title=autopost> <a class=error>Derp</span> </div> </form> ");
|
||||||
c = d.cookie;
|
c = d.cookie;
|
||||||
$('[name=name]', qr).value = (m = c.match(/4chan_name=([^;]+)/)) ? decodeURIComponent(m[1]) : '';
|
$('[name=name]', qr).value = (m = c.match(/4chan_name=([^;]+)/)) ? decodeURIComponent(m[1]) : '';
|
||||||
$('[name=email]', qr).value = (m = c.match(/4chan_email=([^;]+)/)) ? decodeURIComponent(m[1]) : '';
|
$('[name=email]', qr).value = (m = c.match(/4chan_email=([^;]+)/)) ? decodeURIComponent(m[1]) : '';
|
||||||
@ -3476,16 +3476,14 @@
|
|||||||
#qr #autohide, #qr .close {\
|
#qr #autohide, #qr .close {\
|
||||||
float: right;\
|
float: right;\
|
||||||
}\
|
}\
|
||||||
#qr .input input {\
|
#qr .click input {\
|
||||||
width: 60px;\
|
width: 60px;\
|
||||||
}\
|
|
||||||
#qr input {\
|
|
||||||
display: none;\
|
display: none;\
|
||||||
}\
|
}\
|
||||||
#qr .input:hover input, #qr input:focus {\
|
#qr .click span:hover input, #qr .click input:focus {\
|
||||||
display: inline;\
|
display: inline;\
|
||||||
}\
|
}\
|
||||||
#qr .input:hover span, #qr .input input:focus + span {\
|
#qr .click span:hover span, #qr .click input:focus + span {\
|
||||||
display: none;\
|
display: none;\
|
||||||
}\
|
}\
|
||||||
#qr form {\
|
#qr form {\
|
||||||
|
|||||||
@ -1101,17 +1101,19 @@ QR =
|
|||||||
<div class=move>
|
<div class=move>
|
||||||
<span class=click>
|
<span class=click>
|
||||||
<button>File</button>
|
<button>File</button>
|
||||||
<span class=input><input form=qr_form name=sub placeholder=Subject><span>Subject</span></span>
|
<span><input form=qr_form name=sub placeholder=Subject><span>Subject</span></span>
|
||||||
<span class=input><input form=qr_form name=name placeholder=Name><span>Name</span></span>
|
<span><input form=qr_form name=name placeholder=Name><span>Name</span></span>
|
||||||
<span class=input><input form=qr_form name=email placeholder=Email><span>Email</span></span>
|
<span><input form=qr_form name=email placeholder=Email><span>Email</span></span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<form enctype=multipart/form-data method=post action=http://sys.4chan.org/#{g.BOARD}/post target=iframe id=qr_form>
|
<form enctype=multipart/form-data method=post action=http://sys.4chan.org/#{g.BOARD}/post target=iframe id=qr_form>
|
||||||
<input name=resto value=#{tid}>
|
<div hidden>
|
||||||
<input name=mode value=regist>
|
<input name=resto value=#{tid}>
|
||||||
<input name=recaptcha_challenge_field id=challenge>
|
<input name=mode value=regist>
|
||||||
<input name=recaptcha_response_field id=response>
|
<input name=recaptcha_challenge_field id=challenge>
|
||||||
<input type=file name=upfile>
|
<input name=recaptcha_response_field id=response>
|
||||||
|
<input type=file name=upfile>
|
||||||
|
</div>
|
||||||
<textarea placeholder=Comment name=com></textarea>
|
<textarea placeholder=Comment name=com></textarea>
|
||||||
<div><img></div>
|
<div><img></div>
|
||||||
<div id=captcha>
|
<div id=captcha>
|
||||||
@ -2778,16 +2780,14 @@ main =
|
|||||||
#qr #autohide, #qr .close {
|
#qr #autohide, #qr .close {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
#qr .input input {
|
#qr .click input {
|
||||||
width: 60px;
|
width: 60px;
|
||||||
}
|
|
||||||
#qr input {
|
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
#qr .input:hover input, #qr input:focus {
|
#qr .click span:hover input, #qr .click input:focus {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
#qr .input:hover span, #qr .input input:focus + span {
|
#qr .click span:hover span, #qr .click input:focus + span {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
#qr form {
|
#qr form {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user