Files
mokeeText/templates/base.html
2026-07-15 16:08:17 +08:00

38 lines
1.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MoKeeText - Web 记事本</title>
<link rel="stylesheet" href="/static/css/style.css">
{% block head %}{% endblock %}
</head>
<body>
<!-- 顶部导航 -->
<nav class="topnav">
<a href="/notes" class="topnav-brand">MoKeeText</a>
<a href="/notes" class="topnav-link {% if active_page == 'notes' %}active{% endif %}">笔记</a>
<a href="/websites" class="topnav-link {% if active_page == 'websites' %}active{% endif %}">网站管理</a>
<!-- 用户 Widget后续接入 -->
<div class="user-widget" title="用户">
<span class="user-avatar">M</span>
<span class="user-name">Admin</span>
</div>
</nav>
<!-- 主内容区 -->
<div class="layout">
{% block content %}{% endblock %}
</div>
<!-- 底栏 -->
<footer class="footer">
<span>MoKeeText v1.0</span>
<span class="footer-icp">ICP备案号待接入</span>
</footer>
{% block scripts %}{% endblock %}
</body>
</html>