mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-08 14:48:41 +00:00
Compare commits
2 Commits
ae1d798795
...
80c569ab15
Author | SHA1 | Date | |
---|---|---|---|
80c569ab15 | |||
52ad8256d2 |
@ -194,7 +194,7 @@ if ($_POST['image_upload_file_submit'] == 'submit') {
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control" id="input-captcha" name="captcha" placeholder="<?= UOJLocale::get('enter verification code') ?>" maxlength="20" />
|
||||
<span class="input-group-text p-0 overflow-hidden rounded-0" style="border-bottom-right-radius: var(--bs-border-radius) !important">
|
||||
<img id="captcha" class="col w-100 h-100" src="/captcha">
|
||||
<img id="captcha" class="col w-100 h-100" src="/captcha" alt="Captcha">
|
||||
</span>
|
||||
</div>
|
||||
<div class="mt-3" id="modal-help-message" style="display: none"></div>
|
||||
|
@ -7,6 +7,8 @@ call_user_func(function () { // to prevent variable scope leak
|
||||
],
|
||||
function () {
|
||||
Route::post("/api/remote_judge/custom_account_validator", '/subdomain/api/remote_judge/custom_account_validator.php');
|
||||
|
||||
Route::any('/api/submission/submission_status_details', '/subdomain/api/submission/submission_status_details.php');
|
||||
}
|
||||
);
|
||||
});
|
||||
|
@ -54,7 +54,6 @@ Route::group(
|
||||
|
||||
Route::any('/submissions', '/submissions_list.php');
|
||||
Route::any('/submission/{id}', '/submission.php');
|
||||
Route::any('/submission-status-details', '/submission_status_details.php');
|
||||
|
||||
Route::any('/hacks', '/hack_list.php');
|
||||
Route::any('/hack/{id}', '/hack.php');
|
||||
|
@ -403,8 +403,8 @@ function update_judgement_status_details(id) {
|
||||
|
||||
$(document).ready(function() {
|
||||
function update() {
|
||||
$.get("/submission-status-details", {
|
||||
get: update_judgement_status_list
|
||||
$.get("/api/submission/submission_status_details", {
|
||||
get: update_judgement_status_list,
|
||||
},
|
||||
function(data) {
|
||||
for (var i = 0; i < update_judgement_status_list.length; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user