feat: add admin dashboard, pipeline service, lightbox, and update dependencies
This commit is contained in:
@@ -6,7 +6,9 @@
|
||||
<title>{% block title %}HF Daily Papers{% endblock %}</title>
|
||||
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg" />
|
||||
<link rel="stylesheet" href="/static/css/style.css" />
|
||||
{% if is_admin %}<link rel="stylesheet" href="/static/css/admin.css" />{% endif %}
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/katex.min.css" />
|
||||
{% block head_style %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
<header class="site-header">
|
||||
@@ -21,12 +23,12 @@
|
||||
/>
|
||||
</form>
|
||||
<div class="nav-links">
|
||||
<a href="/day/{{ today if today else '' }}">今日</a>
|
||||
<a id="nav-today-link" href="/">今日</a>
|
||||
<a href="/search">搜索</a>
|
||||
<a href="/trends">趋势</a>
|
||||
<a href="/reading-list">阅读列表</a>
|
||||
{% if is_admin %}
|
||||
<a href="/admin/logs">管理</a>
|
||||
<a href="/admin/">管理</a>
|
||||
<a href="/admin/logout" onclick="event.preventDefault();this.closest('form').submit()">退出</a>
|
||||
<form action="/admin/logout" method="post" style="display:none"></form>
|
||||
{% else %}
|
||||
|
||||
Reference in New Issue
Block a user