mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-23 07:11:52 +00:00
fix(web): add missing .form-select
class
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
ec74277e8a
commit
d562f18de5
@ -108,7 +108,13 @@ d-inline-block
|
||||
<?php endif ?>
|
||||
">
|
||||
<label for="input-status" class="control-label"><?= UOJLocale::get('problems::result') ?>:</label>
|
||||
<select class="form-control input-sm" id="input-status" name="status">
|
||||
<select class="input-sm
|
||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||
form-select
|
||||
<?php else: ?>
|
||||
form-control
|
||||
<?php endif ?>
|
||||
" id="input-status" name="status">
|
||||
<option value=""<?= $selected_all?>>All</option>
|
||||
<option value="1"<?= $selected_succ ?>>Success!</option>
|
||||
<option value="2"<?= $selected_fail ?>>Failed.</option>
|
||||
|
@ -123,7 +123,7 @@ EOD;
|
||||
<div id="div-$name" class="form-group">
|
||||
<label for="input-$name" class="col-sm-2 control-label">$label_text</label>
|
||||
<div class="col-sm-3">
|
||||
<select class="form-control" id="input-$name" name="$name">
|
||||
<select class="form-control form-select" id="input-$name" name="$name">
|
||||
|
||||
EOD;
|
||||
foreach ($options as $opt_name => $opt_label) {
|
||||
@ -161,7 +161,7 @@ EOD;
|
||||
$html = <<<EOD
|
||||
<div id="div-$name">
|
||||
<label for="input-$name" class="control-label">$label_text</label>
|
||||
<select class="form-control" id="input-{$name}" name="$name">
|
||||
<select class="form-control form-select" id="input-{$name}" name="$name">
|
||||
|
||||
EOD;
|
||||
foreach ($options as $opt_name => $opt_label) {
|
||||
|
Loading…
Reference in New Issue
Block a user