mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 17:28:41 +00:00
This commit is contained in:
parent
86ec60fa3a
commit
edef725860
@ -68,6 +68,12 @@ EOD;
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<?php echoUOJPageHeader(UOJLocale::get('contests')) ?>
|
<?php echoUOJPageHeader(UOJLocale::get('contests')) ?>
|
||||||
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
|
<div class="d-flex justify-content-between">
|
||||||
|
<?php endif ?>
|
||||||
|
<h1 class="h2">
|
||||||
|
<?= UOJLocale::get('contests') ?>
|
||||||
|
</h1>
|
||||||
<?php
|
<?php
|
||||||
if (isSuperUser($myUser)) {
|
if (isSuperUser($myUser)) {
|
||||||
if (isset($REQUIRE_LIB['bootstrap5'])) {
|
if (isset($REQUIRE_LIB['bootstrap5'])) {
|
||||||
@ -79,6 +85,10 @@ if (isSuperUser($myUser)) {
|
|||||||
echo '</div>';
|
echo '</div>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
|
</div>
|
||||||
|
<?php endif ?>
|
||||||
<h4><?= UOJLocale::get('contests::current or upcoming contests') ?></h4>
|
<h4><?= UOJLocale::get('contests::current or upcoming contests') ?></h4>
|
||||||
<?php
|
<?php
|
||||||
$table_header = '';
|
$table_header = '';
|
||||||
|
@ -71,6 +71,14 @@
|
|||||||
|
|
||||||
<?php echoUOJPageHeader(UOJLocale::get('problems lists')) ?>
|
<?php echoUOJPageHeader(UOJLocale::get('problems lists')) ?>
|
||||||
|
|
||||||
|
|
||||||
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
|
<div class="d-flex justify-content-between">
|
||||||
|
<?php endif ?>
|
||||||
|
<h1 class="h2">
|
||||||
|
<?= UOJLocale::get('problems lists') ?>
|
||||||
|
</h1>
|
||||||
|
|
||||||
<?php if (isSuperUser($myUser)): ?>
|
<?php if (isSuperUser($myUser)): ?>
|
||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
<div class="text-end mb-2">
|
<div class="text-end mb-2">
|
||||||
@ -78,6 +86,7 @@
|
|||||||
<?php $new_list_form->printHTML(); ?>
|
<?php $new_list_form->printHTML(); ?>
|
||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
|
@ -158,6 +158,14 @@ EOD;
|
|||||||
: array('table', 'table-bordered', 'table-hover', 'table-striped');
|
: array('table', 'table-bordered', 'table-hover', 'table-striped');
|
||||||
?>
|
?>
|
||||||
<?php echoUOJPageHeader(UOJLocale::get('problems')) ?>
|
<?php echoUOJPageHeader(UOJLocale::get('problems')) ?>
|
||||||
|
|
||||||
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
|
<div class="d-flex justify-content-between">
|
||||||
|
<?php endif ?>
|
||||||
|
<h1 class="h2">
|
||||||
|
<?= UOJLocale::get('problems') ?>
|
||||||
|
</h1>
|
||||||
|
|
||||||
<?php if (isSuperUser($myUser) || isProblemManager($myUser) || isProblemUploader($myUser)): ?>
|
<?php if (isSuperUser($myUser) || isProblemManager($myUser) || isProblemUploader($myUser)): ?>
|
||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
<div class="text-end">
|
<div class="text-end">
|
||||||
@ -165,6 +173,7 @@ EOD;
|
|||||||
<?php $new_problem_form->printHTML(); ?>
|
<?php $new_problem_form->printHTML(); ?>
|
||||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -44,6 +44,11 @@
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<?php echoUOJPageHeader(UOJLocale::get('submissions')) ?>
|
<?php echoUOJPageHeader(UOJLocale::get('submissions')) ?>
|
||||||
|
|
||||||
|
<h1 class="h2">
|
||||||
|
<?= UOJLocale::get('submissions') ?>
|
||||||
|
</h1>
|
||||||
|
|
||||||
<div class="d-none d-sm-block">
|
<div class="d-none d-sm-block">
|
||||||
<?php if ($myUser != null): ?>
|
<?php if ($myUser != null): ?>
|
||||||
<div class="float-right">
|
<div class="float-right">
|
||||||
|
Loading…
Reference in New Issue
Block a user