初始化

This commit is contained in:
zg
2026-07-15 16:08:17 +08:00
parent f0d70aded4
commit 4e0057ece5
89 changed files with 13512 additions and 0 deletions

37
templates/base.html Normal file
View File

@@ -0,0 +1,37 @@
<!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>