mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 08:58:42 +00:00
chore(problem/remote): use monospace font for cookie input
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d1dace11b1
commit
42c473e1a0
@ -1013,8 +1013,8 @@ $.fn.remote_submit_type_group = function(oj, pid, url, submit_type) {
|
|||||||
|
|
||||||
if (oj == 'luogu') {
|
if (oj == 'luogu') {
|
||||||
var luogu_account_data = {"_uid": "", "__client_id": ""};
|
var luogu_account_data = {"_uid": "", "__client_id": ""};
|
||||||
var input_luogu_uid = $('<input class="form-control" type="text" name="luogu_uid" id="input-luogu_uid" />');
|
var input_luogu_uid = $('<input class="form-control font-monospace" type="text" name="luogu_uid" id="input-luogu_uid" />');
|
||||||
var input_luogu_client_id = $('<input class="form-control" type="text" name="luogu_client_id" id="input-luogu_client_id" />');
|
var input_luogu_client_id = $('<input class="form-control font-monospace" type="text" name="luogu_client_id" id="input-luogu_client_id" />');
|
||||||
|
|
||||||
if ('localStorage' in window) {
|
if ('localStorage' in window) {
|
||||||
try {
|
try {
|
||||||
@ -1060,7 +1060,7 @@ $.fn.remote_submit_type_group = function(oj, pid, url, submit_type) {
|
|||||||
).append(input_my_account_data);
|
).append(input_my_account_data);
|
||||||
} else if (oj == 'codeforces') {
|
} else if (oj == 'codeforces') {
|
||||||
var codeforces_account_data = {"JSESSIONID": ""};
|
var codeforces_account_data = {"JSESSIONID": ""};
|
||||||
var input_codeforces_jsessionid = $('<input class="form-control" type="text" name="codeforces_jsessionid" id="input-codeforces_jsessionid" />');
|
var input_codeforces_jsessionid = $('<input class="form-control font-monospace" type="text" name="codeforces_jsessionid" id="input-codeforces_jsessionid" />');
|
||||||
|
|
||||||
if ('localStorage' in window) {
|
if ('localStorage' in window) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user