diff --git a/main.py b/main.py index ce271de..65adb65 100644 --- a/main.py +++ b/main.py @@ -1,7 +1,7 @@ import app_conf import db.util import db.file, file -from flask import * +from flask import Flask from router.api_Img import api_Img_bp from router.page import page_bp @@ -28,6 +28,6 @@ if __name__ == "__main__": app.run( debug=conf.getboolean("server", "debug"), host=conf.get("server", "host"), - port=conf.get("server", "port"), + port=int(conf.get("server", "port")), threaded=conf.getboolean("server", "threaded"), ) diff --git a/templates/book.html.j2 b/templates/book.html.j2 index 1088e1c..18be80e 100644 --- a/templates/book.html.j2 +++ b/templates/book.html.j2 @@ -7,37 +7,55 @@ ComiPy-详情页面 diff --git a/templates/login.html b/templates/login.html index 4c13a96..de2784e 100644 --- a/templates/login.html +++ b/templates/login.html @@ -5,50 +5,84 @@ ComiPy-登录 + .form-group button:hover { background-color: #4cae4c; } diff --git a/templates/overview.html.j2 b/templates/overview.html.j2 index d2cdea7..0613727 100644 --- a/templates/overview.html.j2 +++ b/templates/overview.html.j2 @@ -7,26 +7,38 @@ ComiPy-概览 diff --git a/templates/view.html.j2 b/templates/view.html.j2 index ec2d2ab..4769058 100644 --- a/templates/view.html.j2 +++ b/templates/view.html.j2 @@ -6,82 +6,229 @@ ComiPy-漫画详情页 -
- + + +
+
+
+
+