diff --git a/apps/sspanel/views.py b/apps/sspanel/views.py index 8aecf1694..88f1c90d0 100644 --- a/apps/sspanel/views.py +++ b/apps/sspanel/views.py @@ -28,8 +28,8 @@ User, UserSocialProfile, ) -from apps.utils import get_current_datetime, traffic_format from apps.sub import UserSubManager +from apps.utils import get_current_datetime, traffic_format class HelpView(View): diff --git a/templates/basehead.html b/templates/basehead.html index 2a708b51b..2fc2410f4 100644 --- a/templates/basehead.html +++ b/templates/basehead.html @@ -7,29 +7,29 @@ type="image/x-icon" /> {% if user.theme and user.theme != "default" %} - + {% else %} - + {% endif %} {% if not simple_extra_static or user.is_authenticated %} - - - + + + {% endif %} {% if not simple_extra_static or user.is_authenticated %} - - - - - + + + + + {% endif %} diff --git a/templates/web/help.html b/templates/web/help.html index 3b1a72f06..6c03391c0 100644 --- a/templates/web/help.html +++ b/templates/web/help.html @@ -1,10 +1,4 @@ {% extends 'base.html' %} -{% block extra_head %} - - -{% endblock extra_head %} - {% block authed %}
diff --git a/templates/web/user_info.html b/templates/web/user_info.html index f2554647a..da0fd99b4 100644 --- a/templates/web/user_info.html +++ b/templates/web/user_info.html @@ -118,9 +118,7 @@

根据您的客户端一键选择

{% for node_type in active_node_types %} - {{ node_type }} - + data-query="protocol">{{ node_type }} {% endfor %}