1
0
Fork 0

简化管理员页面信息。删除退出登录按钮,可以返回到前一页后再退出,不影响使用体验。删除'管理员您好'欢迎词,没啥意义。

Alpha
Lan Hui 2023-03-26 18:59:15 +08:00
parent 8d8b9197b6
commit 4d99405bfa
1 changed files with 2 additions and 6 deletions

View File

@ -23,7 +23,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>
@ -31,10 +30,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="/{{ username }}">返回 {{ username }}</a>
</li>
</ul>
</div>
@ -56,4 +52,4 @@
</div>
</body>
</html>
</html>