From b747e5261c7f8127b274bac95364d1702c8f20fd Mon Sep 17 00:00:00 2001 From: hjdhnx Date: Wed, 7 Sep 2022 01:59:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 4 ++-- js/version.txt | 2 +- readme.md | 2 ++ static/css/home.css | 3 +++ static/css/login.css | 12 +++++++----- templates/index.html | 2 +- templates/login.html | 1 + utils/update.py | 4 ++++ 8 files changed, 21 insertions(+), 9 deletions(-) diff --git a/app.py b/app.py index d8c0694..0584e10 100644 --- a/app.py +++ b/app.py @@ -21,9 +21,9 @@ def create_flask_app(): app.register_blueprint(admin.admin, url_prefix='/admin') app.register_blueprint(vod.vod, url_prefix='') app.register_blueprint(cls.cls, url_prefix='/cls') - print('自定义播放解析地址:', app.config.get('PLAY_URL')) - print('当前操作系统', sys.platform) app.logger.name = "drLogger" + logger.info(f"自定义播放解析地址:{app.config.get('PLAY_URL')}") + logger.info(f'当前操作系统{sys.platform}') rule_list = getRuleLists() wlan_info,_ = get_wlan_info() logger.info(rule_list) diff --git a/js/version.txt b/js/version.txt index 9b7a431..448ada3 100644 --- a/js/version.txt +++ b/js/version.txt @@ -1 +1 @@ -3.2.4 \ No newline at end of file +3.2.5 \ No newline at end of file diff --git a/readme.md b/readme.md index 281518d..bedda0d 100644 --- a/readme.md +++ b/readme.md @@ -46,6 +46,8 @@ [dockerfile教程](https://blog.csdn.net/qq_46158060/article/details/125718218) [获取本地设备信息](https://blog.csdn.net/cui_yonghua/article/details/125508991) [获取本地设备信息](https://m.jb51.net/article/140716.htm) +###### 2022/09/07 +- [X] 1.优化后台管理登录界面,升级更新脚本 ###### 2022/09/06 - [X] 1.增加了后台管理界面在线检测升级系统功能 - [X] 2.增加了后台管理界面修改直播源地址和同步直播源 diff --git a/static/css/home.css b/static/css/home.css index daab842..42cdd8c 100644 --- a/static/css/home.css +++ b/static/css/home.css @@ -27,6 +27,9 @@ body { .tips{ color: #9b5df1; } +.kf{ + padding-top: 10px; +} .image::after{ content: ""; /*background:url('https://tuapi.eees.cc/api.php?category=dongman&type=302&px=m');*/ diff --git a/static/css/login.css b/static/css/login.css index d35fe44..302f13c 100644 --- a/static/css/login.css +++ b/static/css/login.css @@ -99,20 +99,22 @@ top: 0; left: 0; } .login-content{ - width: 400px; - height: 280px; + width: 350px; + height: 40%; + text-align:center; margin: 0 auto; position: relative; top: 300px; - border: 1px solid #2890fa; - background: rgba(40, 144, 250, 0.2); - border-radius: 5px; + border: 1px solid #2890fa; + background: rgba(40, 144, 250, 0.2); + border-radius: 5px; } .login-tit{ background: rgba(0, 0, 0, 0.8); border: 1px solid #2890fa; color: #fff; padding: 15px 20px; +text-align:center; font-size: 18px } .login-input { diff --git a/templates/index.html b/templates/index.html index 2264bda..bde234b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -29,7 +29,7 @@ }); }); -

欢迎使用DR-PY首页界面
当前版本: {{ver}}欢迎使用DR-PY首页界面
当前版本: {{ver}}框架开发:道长框架美化:蓝莓

可以简单的自定义爬虫实现cms数据接口

diff --git a/templates/login.html b/templates/login.html index 72eb39a..371207b 100644 --- a/templates/login.html +++ b/templates/login.html @@ -12,6 +12,7 @@
+