From 2f009c3b145eff1d4d38b1b2816f31742d6fbe3c Mon Sep 17 00:00:00 2001 From: SouthFox Date: Wed, 21 Sep 2022 05:09:00 +0800 Subject: [PATCH] feat/use user timezone setting and search feat --- BDSM/static/css/style.css | 6 ++ BDSM/templates/base.html | 6 +- BDSM/templates/view.html | 8 ++- BDSM/views.py | 119 +++++++++++++++++++++++++------------- 4 files changed, 95 insertions(+), 44 deletions(-) diff --git a/BDSM/static/css/style.css b/BDSM/static/css/style.css index 581e977..f447c5c 100644 --- a/BDSM/static/css/style.css +++ b/BDSM/static/css/style.css @@ -17,6 +17,12 @@ body { color: #606984; } +.search-bar { + float: right; + padding: 5px; + display: flex; +} + .visibility-icon .fa-globle { color: #388E3C; } diff --git a/BDSM/templates/base.html b/BDSM/templates/base.html index 11eb689..1550606 100644 --- a/BDSM/templates/base.html +++ b/BDSM/templates/base.html @@ -30,7 +30,11 @@
  • 主页
  • 设置
  • 存档
  • - + + {% block content %}{% endblock %}