mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-08 14:48:41 +00:00
fix(problem): tags text-align
This commit is contained in:
parent
aa4a2fa2d1
commit
0a16538df8
@ -458,7 +458,7 @@ if (UOJContest::cur()) {
|
|||||||
<span class="flex-shrink-0">
|
<span class="flex-shrink-0">
|
||||||
<?= UOJLocale::get('problems::uploader') ?>
|
<?= UOJLocale::get('problems::uploader') ?>
|
||||||
</span>
|
</span>
|
||||||
<span>
|
<span class="text-end">
|
||||||
<?= UOJProblem::cur()->getUploaderLink() ?>
|
<?= UOJProblem::cur()->getUploaderLink() ?>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
@ -466,7 +466,7 @@ if (UOJContest::cur()) {
|
|||||||
<span class="flex-shrink-0">
|
<span class="flex-shrink-0">
|
||||||
<?= UOJLocale::get('problems::problem source') ?>
|
<?= UOJLocale::get('problems::problem source') ?>
|
||||||
</span>
|
</span>
|
||||||
<span>
|
<span class="text-end">
|
||||||
<?= UOJProblem::cur()->getProviderLink() ?>
|
<?= UOJProblem::cur()->getProviderLink() ?>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
@ -475,7 +475,7 @@ if (UOJContest::cur()) {
|
|||||||
<span class="flex-shrink-0">
|
<span class="flex-shrink-0">
|
||||||
<?= UOJLocale::get('problems::difficulty') ?>
|
<?= UOJLocale::get('problems::difficulty') ?>
|
||||||
</span>
|
</span>
|
||||||
<span>
|
<span class="text-end">
|
||||||
<?= UOJProblem::cur()->getDifficultyHTML() ?>
|
<?= UOJProblem::cur()->getDifficultyHTML() ?>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
@ -484,9 +484,9 @@ if (UOJContest::cur()) {
|
|||||||
<span class="flex-shrink-0">
|
<span class="flex-shrink-0">
|
||||||
<?= UOJLocale::get('problems::historical score') ?>
|
<?= UOJLocale::get('problems::historical score') ?>
|
||||||
</span>
|
</span>
|
||||||
<?php $his_score = DB::selectSingle(["select max(score)", "from submissions", "where", ["problem_id" => UOJProblem::info('id'), "submitter" => Auth::id()]]) ?>
|
|
||||||
|
|
||||||
<a class="<?= is_null($his_score) ? '' : 'uoj-score' ?>" href="<?= HTML::url('/submissions', ['params' => ['problem_id' => UOJProblem::info('id'), 'submitter' => Auth::id()]]) ?>">
|
<?php $his_score = DB::selectSingle(["select max(score)", "from submissions", "where", ["problem_id" => UOJProblem::info('id'), "submitter" => Auth::id()]]) ?>
|
||||||
|
<a class="<?= is_null($his_score) ? '' : 'uoj-score' ?> text-end" href="<?= HTML::url('/submissions', ['params' => ['problem_id' => UOJProblem::info('id'), 'submitter' => Auth::id()]]) ?>">
|
||||||
<?= is_null($his_score) ? '无' : UOJSubmission::roundedScore($his_score) ?>
|
<?= is_null($his_score) ? '无' : UOJSubmission::roundedScore($his_score) ?>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@ -495,7 +495,7 @@ if (UOJContest::cur()) {
|
|||||||
<span class="flex-shrink-0">
|
<span class="flex-shrink-0">
|
||||||
<?= UOJLocale::get('problems::tags') ?>
|
<?= UOJLocale::get('problems::tags') ?>
|
||||||
</span>
|
</span>
|
||||||
<span>
|
<span class="text-end">
|
||||||
<?php if (UOJProblem::info('is_hidden')) : ?>
|
<?php if (UOJProblem::info('is_hidden')) : ?>
|
||||||
<a href="<?= HTML::url('/problems', ['params' => ['is_hidden' => 'on']]) ?>">
|
<a href="<?= HTML::url('/problems', ['params' => ['is_hidden' => 'on']]) ?>">
|
||||||
<span class="badge text-bg-danger">
|
<span class="badge text-bg-danger">
|
||||||
@ -518,7 +518,7 @@ if (UOJContest::cur()) {
|
|||||||
<span class="flex-shrink-0">
|
<span class="flex-shrink-0">
|
||||||
<?= UOJLocale::get('appraisal') ?>
|
<?= UOJLocale::get('appraisal') ?>
|
||||||
</span>
|
</span>
|
||||||
<span>
|
<span class="text-end">
|
||||||
<?= UOJProblem::cur()->getZanBlock() ?>
|
<?= UOJProblem::cur()->getZanBlock() ?>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user