You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.4 KiB
37 lines
1.4 KiB
<!doctype html>
|
|
<html lang="zh-cn">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>{% block title %}课堂点名系统{% endblock %}</title>
|
|
<link
|
|
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
|
|
rel="stylesheet"
|
|
/>
|
|
</head>
|
|
<body>
|
|
<nav class="navbar navbar-expand-lg navbar-dark bg-dark mb-4">
|
|
<div class="container-fluid">
|
|
<a class="navbar-brand" href="{{ url_for('main.rollcall') }}">课堂点名</a>
|
|
<div>
|
|
<a class="btn btn-outline-light me-2" href="{{ url_for('main.rollcall') }}">点名</a>
|
|
<a class="btn btn-outline-light me-2" href="{{ url_for('main.stats') }}">统计</a>
|
|
<a class="btn btn-outline-light me-2" href="{{ url_for('main.manage') }}">管理</a>
|
|
<a class="btn btn-warning" href="{{ url_for('auth.logout') }}">退出</a>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<div class="container">
|
|
{% with messages = get_flashed_messages() %}
|
|
{% if messages %}
|
|
<div class="alert alert-warning">
|
|
{% for m in messages %} {{ m }}<br /> {% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
{% endwith %}
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
|
|
</body>
|
|
</html>
|