mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-26 11:08:41 +00:00
fix: margin-right of status icon
This commit is contained in:
parent
236c338a68
commit
a2a2a559fc
@ -140,12 +140,12 @@ function fTime($time, $gran = -1) {
|
|||||||
<?php $last_visited = strtotime($user['last_visited']) ?>
|
<?php $last_visited = strtotime($user['last_visited']) ?>
|
||||||
<?php if (time() - $last_visited < 60 * 15): // 15 mins ?>
|
<?php if (time() - $last_visited < 60 * 15): // 15 mins ?>
|
||||||
<span class="text-success">
|
<span class="text-success">
|
||||||
<i class="bi bi-circle-fill"></i>
|
<i class="bi bi-circle-fill me-1"></i>
|
||||||
<?= UOJLocale::get('online') ?>
|
<?= UOJLocale::get('online') ?>
|
||||||
</span>
|
</span>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<span class="text-danger">
|
<span class="text-danger">
|
||||||
<i class="bi bi-circle-fill"></i>
|
<i class="bi bi-circle-fill me-1"></i>
|
||||||
<?= UOJLocale::get('offline') ?>
|
<?= UOJLocale::get('offline') ?>
|
||||||
</span>
|
</span>
|
||||||
<?php if ($last_visited > 0): ?>
|
<?php if ($last_visited > 0): ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user