mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 12:58:40 +00:00
fix: style
This commit is contained in:
parent
3a26ee7092
commit
dcb4417e75
@ -125,7 +125,7 @@ EOD;
|
|||||||
<aside class="col mt-3 mt-md-0">
|
<aside class="col mt-3 mt-md-0">
|
||||||
<?php
|
<?php
|
||||||
uojIncludeView('sidebar', array());
|
uojIncludeView('sidebar', array());
|
||||||
?>
|
?>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -154,7 +154,7 @@ EOD;
|
|||||||
<aside class="col mt-3 mt-md-0">
|
<aside class="col mt-3 mt-md-0">
|
||||||
<?php
|
<?php
|
||||||
uojIncludeView('sidebar', array());
|
uojIncludeView('sidebar', array());
|
||||||
?>
|
?>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -287,7 +287,7 @@ $('#input-show_submit_mode').click(function() {
|
|||||||
<aside class="col mt-3 mt-md-0">
|
<aside class="col mt-3 mt-md-0">
|
||||||
<?php
|
<?php
|
||||||
uojIncludeView('sidebar', array());
|
uojIncludeView('sidebar', array());
|
||||||
?>
|
?>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
<?php foreach ($groups as $group): ?>
|
<?php foreach ($groups as $group): ?>
|
||||||
<?php
|
<?php
|
||||||
$group_detail = DB::selectFirst("select * from groups where id = {$group['id']}");
|
$group_detail = DB::selectFirst("select * from groups where id = {$group['id']}");
|
||||||
$group_announcement = $group_detail['announcement'];
|
$group_announcement = $group_detail['announcement'];
|
||||||
?>
|
?>
|
||||||
<li class="list-group-item">
|
<li class="list-group-item">
|
||||||
<a class="fw-bold text-decoration-none" href="<?= HTML::url('/group/'.$group['id']) ?>">
|
<a class="fw-bold text-decoration-none" href="<?= HTML::url('/group/'.$group['id']) ?>">
|
||||||
<?= $group['title'] ?>
|
<?= $group['title'] ?>
|
||||||
@ -34,7 +34,7 @@
|
|||||||
<?php if (!isset($upcoming_contests_hidden)): ?>
|
<?php if (!isset($upcoming_contests_hidden)): ?>
|
||||||
<?php
|
<?php
|
||||||
$upcoming_contests = DB::selectAll("SELECT * FROM contests WHERE status = 'unfinished' ORDER BY start_time ASC, id ASC LIMIT 7");
|
$upcoming_contests = DB::selectAll("SELECT * FROM contests WHERE status = 'unfinished' ORDER BY start_time ASC, id ASC LIMIT 7");
|
||||||
?>
|
?>
|
||||||
<div class="card card-default mb-2" id="group-user-announcements">
|
<div class="card card-default mb-2" id="group-user-announcements">
|
||||||
<div class="card-header fw-bold bg-transparent">
|
<div class="card-header fw-bold bg-transparent">
|
||||||
近期比赛
|
近期比赛
|
||||||
@ -54,8 +54,8 @@
|
|||||||
<?= UOJLocale::get('contests::in progress') ?>
|
<?= UOJLocale::get('contests::in progress') ?>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<?php
|
<?php
|
||||||
$rest_seconds = $contest['start_time']->getTimestamp() - UOJTime::$time_now->getTimestamp();
|
$rest_seconds = $contest['start_time']->getTimestamp() - UOJTime::$time_now->getTimestamp();
|
||||||
?>
|
?>
|
||||||
<?php if ($rest_seconds > 86400): ?>
|
<?php if ($rest_seconds > 86400): ?>
|
||||||
<?= UOJLocale::get('contests::will start in x days', floor($rest_seconds / 86400)) ?>
|
<?= UOJLocale::get('contests::will start in x days', floor($rest_seconds / 86400)) ?>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user