SACC / templates /base.html
cacode's picture
Deploy updated SCU course catcher
e28c9e4 verified
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}SCU 选课控制台{% endblock %}</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;800&family=Space+Grotesk:wght@500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body class="app-body {% block body_class %}{% endblock %}">
<div class="bg-orb bg-orb-a"></div>
<div class="bg-orb bg-orb-b"></div>
<div class="bg-grid"></div>
<main class="page-shell">
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
<section class="flash-stack">
{% for category, message in messages %}
<article class="flash flash-{{ category }}">{{ message }}</article>
{% endfor %}
</section>
{% endif %}
{% endwith %}
{% block content %}{% endblock %}
</main>
<script src="{{ url_for('static', filename='app.js') }}"></script>
{% block scripts %}{% endblock %}
</body>
</html>