fix: margin-right of status icon

This commit is contained in:
Baoshuo Ren 2022-10-06 11:38:10 +08:00
parent 236c338a68
commit a2a2a559fc
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -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): ?>