chore(problem/remote): use monospace font for cookie input
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2023-02-03 17:50:25 +08:00
parent d1dace11b1
commit 42c473e1a0
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -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 {