Compare commits

...

2 Commits

Author SHA1 Message Date
80c569ab15
chore(apps/image_hosting): captcha alt text
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-14 11:05:04 +08:00
52ad8256d2
refactor: move submission_status_detail.php into api folder 2023-03-14 11:03:37 +08:00
5 changed files with 5 additions and 4 deletions

View File

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

View File

@ -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');
}
);
});

View File

@ -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');

View File

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