简化管理文章与管理用户页面信息。

Alpha
Lan Hui 2023-03-26 19:06:04 +08:00
parent 4d99405bfa
commit b3b154a24f
2 changed files with 2 additions and 10 deletions

View File

@ -12,7 +12,6 @@
<body class="container" style="width: 800px; margin: auto; margin-top:24px;">
<nav class="navbar navbar-expand-lg bg-light">
<div class="container-fluid">
<a class="navbar-brand" href="#">管理员 {{ username }} 您好!</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
@ -20,10 +19,7 @@
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="/{{ username }}">返回主页</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/logout">退出登录</a>
<a class="nav-link" href="/admin">前一页</a>
</li>
</ul>
</div>

View File

@ -13,7 +13,6 @@
<body class="container" style="width: 800px; margin: auto; margin-top:24px;">
<nav class="navbar navbar-expand-lg bg-light">
<div class="container-fluid">
<a class="navbar-brand" href="#">管理员 {{ username }} 您好!</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
@ -21,10 +20,7 @@
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="/{{ username }}">返回主页</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/logout">退出登录</a>
<a class="nav-link" href="/admin">前一页</a>
</li>
</ul>
</div>