From 9bf0e75e6ab34dfd90a4828fb8b413ff1922d352 Mon Sep 17 00:00:00 2001 From: yyd Date: Sat, 11 Oct 2025 16:51:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BAlogin.html=E6=96=87=E4=BB=B6=E7=BC=96?= =?UTF-8?q?=E5=86=99=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/login.html | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 src/login.html diff --git a/src/login.html b/src/login.html new file mode 100644 index 0000000..d1677cd --- /dev/null +++ b/src/login.html @@ -0,0 +1,52 @@ +//这个文件是用于实现用户登录页面 +{% extends 'share_layout/base_account.html' %}//继承基础模板:使用一个共享的账户布局模板,确保所有账户相关页面(登录、注册、密码重置)保持一致的样式和布局 +{% load static %}//加载静态文件 +{% load i18n %}//加载国际化系统,支持多语言 +{% block content %}//定义内容块 +
//主容器 + //页面标题 + //显示登录页面的主标题 + //登录卡片区域 + + //底部导航链接: +

+ //注册页面链接,注册新账户 + {% trans 'Create Account' %}//多语言翻译的"创建账户" + + | + Home Page//首页链接,返回网站首页 + | + //忘记密码页面链接 " + {% trans 'Forget Password' %}多语言翻译的"忘记密码" + +

+ +
+{% endblock %} \ No newline at end of file