迁移基本完成,还有一些页面需要核对
This commit is contained in:
@@ -17,15 +17,16 @@
|
||||
<table border="0" style="background-color: rgba(147, 185, 255, 0.644);">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td id="td_navbar_40px"><b><a href="https://ww3.tw/" id="url_">首页</a></b></td>
|
||||
<td id="td_navbar_40px"><b><a href="https://ww3.tw/blog/about/" id="url_">关于</a></b></td>
|
||||
<td id="td_navbar_40px"><b><a href="https://ww3.tw/blog/post/" id="url_">文章</a></b></td>
|
||||
<td id="td_navbar_75px"><b><a href="https://ww3.tw/jumping-message/" id="url_">弹幕留言</a></b></td>
|
||||
<td id="td_navbar_78px"><b><a href="https://ww3.tw/short-url/" id="url_">短链生成</a></b></td>
|
||||
<td id="td_navbar_40px"><b><a href="{{ url_for('blog.home') }}" id="url_">首页</a></b></td>
|
||||
<td id="td_navbar_40px"><b><a href="{{ url_for('blog.about') }}" id="url_">关于</a></b></td>
|
||||
<td id="td_navbar_40px"><b><a href="{{ url_for('blog.posts_list') }}" id="url_">文章</a></b></td>
|
||||
<td id="td_navbar_75px"><b><a href="#" id="url_">弹幕留言</a></b></td>
|
||||
<td id="td_navbar_78px"><b><a href="#" id="url_">短链生成</a></b></td>
|
||||
<td id="td_navbar_52px"><b><a href="https://gitea.ww3.tw/skimrme/" id="url_">gitea</a></b></td>
|
||||
<td id="td_navbar_160px"><b><a href="https://ww3.tw/docker-registry/" id="url_">docker-registry</a></b></td>
|
||||
<td id="td_navbar_140px"><b><a href="https://ww3.tw/docker-registry/" id="url_">docker-registry</a></b></td>
|
||||
<td id="td_navbar_40px"><b><a href="https://api.ww3.tw/" id="url_">api</a></b></td>
|
||||
<td id="td_navbar_40px"><b><a href="https://wiki.ww3.tw/" id="url_">wiki</a></b></td>
|
||||
<td id="td_navbar_52px"><b><a href="/mirrors" id="url_">mirrors</a></b></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -47,10 +48,20 @@
|
||||
<font size="3.2">
|
||||
<table border="0">
|
||||
<tbody>
|
||||
<?php
|
||||
// 引入数据库 sqlite
|
||||
include "./logs.php.text";
|
||||
?>
|
||||
{# 调用数据库 #}
|
||||
{% for logs in logs %}
|
||||
<tr>
|
||||
<td id="td_logs">
|
||||
<a style='font-size: 18px;'>
|
||||
{{ logs['date'] }}
|
||||
</a>
|
||||
<br>
|
||||
</td>
|
||||
<td id="td_logs_content">
|
||||
{{ logs['content'].replace('&&', '<br>') | safe }}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</font>
|
||||
@@ -58,6 +69,7 @@
|
||||
<!-- 屑站日志 -->
|
||||
|
||||
<div id="post_content">
|
||||
{#
|
||||
<?php
|
||||
//include "post/index.php";
|
||||
// 设定数据库路径
|
||||
@@ -105,6 +117,22 @@
|
||||
$db->close();
|
||||
}
|
||||
?>
|
||||
#}
|
||||
<center><b><h2>全部文章</h2></b></center>
|
||||
<br>
|
||||
文章如下↓
|
||||
<br>
|
||||
<br>
|
||||
{% for posts in posts %}
|
||||
文章id:{{ posts['id'] }}
|
||||
<br>
|
||||
{{ posts['date'] }}
|
||||
{{ posts['title'] }}
|
||||
<br>
|
||||
<a href="{{ url_for('blog.posts_list') }}{{ posts['id'] }}">页面跳转</a>
|
||||
<br>
|
||||
<br>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
<!-- 私の娘 -->
|
||||
@@ -118,6 +146,10 @@
|
||||
|
||||
<!-- css 部分 -->
|
||||
<style>
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#navbar1 {
|
||||
margin: -160px 0 100px -30px;
|
||||
}
|
||||
@@ -142,9 +174,9 @@
|
||||
width: 78px;
|
||||
}
|
||||
|
||||
#td_navbar_160px
|
||||
#td_navbar_140px
|
||||
{
|
||||
width: 160px;
|
||||
width: 140px;
|
||||
}
|
||||
|
||||
/* 日志 */
|
||||
@@ -233,7 +265,9 @@
|
||||
size: 200,
|
||||
autoFit: true,
|
||||
controls: true
|
||||
}).mount('#my_girl');
|
||||
})
|
||||
.setState({ y: 0, t: 0, w: 0, r: 0 })
|
||||
.mount('#my_girl');
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user