2023-03-20 20:16:48 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2022-12-31 18:25:13 +08:00
|
|
|
|
|
|
|
<head>
|
2023-03-20 20:16:48 +08:00
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport"
|
|
|
|
content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=3.0, user-scalable=yes" />
|
|
|
|
<meta name="format-detection" content="telephone=no" />
|
|
|
|
{{ yml['header'] | safe }}
|
|
|
|
{% if yml['css']['item'] %}
|
|
|
|
{% for css in yml['css']['item'] %}
|
|
|
|
<link href="{{ css }}" rel="stylesheet">
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% if yml['js']['head'] %}
|
|
|
|
{% for js in yml['js']['head'] %}
|
|
|
|
<script src="{{ js }}"></script>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2022-12-31 18:25:13 +08:00
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body class="container" style="width: 800px; margin: auto; margin-top:24px;">
|
2023-03-20 20:16:48 +08:00
|
|
|
<nav class="navbar navbar-expand-lg bg-light">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
|
2022-12-31 18:25:13 +08:00
|
|
|
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
2023-03-20 20:16:48 +08:00
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
<div class="collapse navbar-collapse" id="navbarNav">
|
|
|
|
<ul class="navbar-nav">
|
|
|
|
<li class="nav-item">
|
2023-04-26 18:49:59 +08:00
|
|
|
<a class="nav-link" href="/{{ username }}/userpage">返回 {{ username }}</a>
|
2023-03-20 20:16:48 +08:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2022-12-31 18:25:13 +08:00
|
|
|
</div>
|
2023-03-20 20:16:48 +08:00
|
|
|
</nav>
|
2022-12-31 18:25:13 +08:00
|
|
|
|
2023-03-20 20:16:48 +08:00
|
|
|
<div class="card" style="margin-top:24px;">
|
2023-03-23 17:12:23 +08:00
|
|
|
<div class="card-header">
|
|
|
|
请选择您需要的操作
|
2023-03-20 20:16:48 +08:00
|
|
|
</div>
|
2023-03-23 17:12:23 +08:00
|
|
|
<ul class="list-group list-group-flush">
|
|
|
|
<li class="list-group-item">
|
|
|
|
<div class="d-grid gap-2">
|
|
|
|
<a href="/admin/article" class="btn btn-outline-primary" type="button">管理文章</a>
|
|
|
|
<a href="/admin/user" class="btn btn-outline-primary" type="button">管理用户</a>
|
2022-12-31 18:25:13 +08:00
|
|
|
</div>
|
2023-03-20 20:16:48 +08:00
|
|
|
</li>
|
|
|
|
</ul>
|
2022-12-31 18:25:13 +08:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
|
2023-03-26 18:59:15 +08:00
|
|
|
</html>
|