新增paint页面,暂时放弃api来fetch数据构建页面,预计可能还有大量问题,暂时打算先整理所有的文件

This commit is contained in:
2026-06-19 20:08:22 +00:00
parent abdf1b4258
commit 45bac5e3c3
11 changed files with 147 additions and 67 deletions

View File

@@ -4,7 +4,7 @@
{"id":1, "name": "首页", "url": url_for('blog.home')},
{"id":2, "name": "关于", "url": url_for('blog.about')},
{"id":3, "name": "文章", "url": url_for('blog.posts_list')},
{"id":4, "name": "mirrors", "url": url_for('blog.autoindex')},
{"id":4, "name": "folders", "url": url_for('blog.autoindex')},
{"id":5, "name": "study", "url": url_for('study.home')},
]%}
<div id="navbar1">
@@ -16,4 +16,5 @@
{% endfor %}
<a id="url_" href="https://api.ww3.tw">api</a>
<a id="url_" href="https://gitea.ww3.tw">gitea</a>
</div>
<a id="url_" href="./class">class</a>
</div>

View File

@@ -0,0 +1,20 @@
{# navbar 部分 #}
{% set navbar_list = [
{"id":1, "name": "首页", "url": url_for('blog.home')},
{"id":2, "name": "关于", "url": url_for('blog.about')},
{"id":3, "name": "文章", "url": url_for('blog.posts_list')},
{"id":4, "name": "folders", "url": url_for('blog.autoindex')},
{"id":5, "name": "study", "url": url_for('study.home')},
]%}
<div id="navbar1">
<br>
</div>
<div id="navbar2" style="text-align: left;">
{% for navbar in navbar_list %}
<a href="{{ navbar.url }}" id="url_">{{ navbar.name }}</a></td>
{% endfor %}
<a id="url_" href="https://api.ww3.tw">api</a>
<a id="url_" href="https://gitea.ww3.tw">gitea</a>
<a id="url_" href="./class">class</a>
</div>

View File

@@ -1,8 +1,6 @@
{# 壁纸部分 #}
{% set wallpaper_apis =[
'https://www.loliapi.com/acg/pc/',
'https://api.sretna.cn/api/pc.php',
'https://www.api.plus/api/dongman',
'https://www.loliapi.com/acg/pc/',
'https://moe.jitsu.top/img/?sort=pc',
'https://www.dmoe.cc/random.php',
'https://api.mtyqx.cn/tapi/random.php'] %}