refactor(web/user/system_msg): two-column layout
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-10-19 11:58:26 +08:00
parent b21e6c3500
commit 07b3388f56
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -45,7 +45,7 @@
} }
$pag_config = [ $pag_config = [
'page_len' => 20, 'page_len' => 10,
'col_names' => ['*'], 'col_names' => ['*'],
'table_name' => 'user_system_msg', 'table_name' => 'user_system_msg',
'cond' => "receiver = '{$user['username']}'", 'cond' => "receiver = '{$user['username']}'",
@ -72,6 +72,10 @@
<?php echoUOJPageHeader('系统消息') ?> <?php echoUOJPageHeader('系统消息') ?>
<div class="row">
<!-- left col -->
<div class="col-lg-9">
<h1 class="h2"> <h1 class="h2">
系统消息 系统消息
</h1> </h1>
@ -109,4 +113,15 @@
<?= $pag->pagination() ?> <?= $pag->pagination() ?>
</div>
<!-- end left col -->
<!-- right col -->
<aside class="col-lg-3 mt-3 mt-lg-0">
<?php uojIncludeView('sidebar', array()) ?>
</aside>
<!-- end right col -->
</div>
<?php echoUOJPageFooter() ?> <?php echoUOJPageFooter() ?>