Compare commits

...

3 Commits

Author SHA1 Message Date
f1a88fe4be
chore: remove docker image build test
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-23 08:13:31 +08:00
72b70d2911
fix: 9b8ffca752 2022-09-23 08:13:21 +08:00
3bf24bbbb9
fix: d3e99b0217 2022-09-23 08:03:55 +08:00
3 changed files with 14 additions and 41 deletions

View File

@ -14,30 +14,3 @@ jobs:
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --config=./web/.php-cs-fixer.php --diff --dry-run
docker-db:
name: Build Docker Image (uoj-db)
needs: php-cs-fixer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Docker Image (uoj-db)
run: docker-compose build uoj-db
docker-judger:
name: Build Docker Image (uoj-judger)
needs: php-cs-fixer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Docker Image
run: docker-compose build uoj-judger
docker-web:
name: Build Docker Image (uoj-web)
needs: php-cs-fixer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Docker Image (uoj-web)
run: docker-compose build uoj-web

View File

@ -74,9 +74,9 @@
echo '<td>' . getUserLink($username) . '</td>';
foreach ($problem_ids as $problem_id) {
if (!isset($finished[$username]) || !isset($finished[$username][$problem_id])) {
echo '<td class="failed"><span class="glyphicon glyphicon-ok"></span></td>';
echo '<td class="failed"><span class="glyphicon glyphicon-remove"></span></td>';
} else {
echo '<td class="success"><span class="glyphicon glyphicon-remove"></span></td>';
echo '<td class="success"><span class="glyphicon glyphicon-ok"></span></td>';
}
}
echo '</tr>';

View File

@ -584,6 +584,7 @@ EOD;
<a href="/contest/<?=$contest['id']?>/registrants" class="btn btn-info btn-block"><?= UOJLocale::get('contests::contest registrants') ?></a>
<?php if (isSuperUser($myUser)): ?>
<a href="/contest/<?=$contest['id']?>/manage" class="btn btn-primary btn-block">管理</a>
<?php endif ?>
<?php if (isset($start_test_form)): ?>
<div class="top-buffer-sm">
<?php $start_test_form->printHTML(); ?>
@ -594,7 +595,6 @@ EOD;
<?php $publish_result_form->printHTML(); ?>
</div>
<?php endif ?>
<?php endif ?>
<?php if (isset($self_reviews_update_form)) { ?>
</div>
<div class="col-sm-6">