Yuyao Huang 3c325bdb0f feat(notes): add notes feature with CRUD operations and UI
- Implement notes database schema and API endpoints
- Add notes page with filtering, search, and markdown support
- Persist selected goal and task preferences for better UX
- Include responsive design and mobile-friendly layout
2026-05-08 17:42:42 +08:00

30 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}GoalsBreakDown{% endblock %}</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
{% block extra_css %}{% endblock %}
</head>
<body>
<nav class="navbar">
<div class="nav-brand">GoalsBreakDown</div>
<div class="nav-links">
<a href="/goals" class="nav-link">Goals</a>
<a href="/tasks" class="nav-link">Tasks</a>
<a href="/notes" class="nav-link">Notes</a>
<a href="/admin" class="nav-link" id="admin-link" style="display: none;">Admin</a>
<span id="user-info" class="nav-user"></span>
<button id="logout-btn" class="nav-btn">Logout</button>
</div>
</nav>
<main class="container">
{% block content %}{% endblock %}
</main>
<script src="{{ url_for('static', filename='js/api.js') }}"></script>
<script src="{{ url_for('static', filename='js/auth.js') }}"></script>
{% block extra_js %}{% endblock %}
</body>
</html>