Toggle navigation
Toggle navigation
This project
Loading...
Sign in
万朱浩
/
Venue-Ops
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
kpt
2024-07-02 18:33:10 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
00bed3ac63cf69457606a4a7d908f0f9a9f6a0fb
00bed3ac
1 parent
c7f6c15a
【register.html】基于base_login完成注册界面
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
0 deletions
views/user/templates/register.html
views/user/templates/register.html
View file @
00bed3a
{% extends 'base_login.html' %}
{% block title %}
注册
{% endblock %}
{% block content %}
<div
class=
"card-body"
>
<div
class=
"auth-logo"
>
<img
src=
"https://weibo.com/favicon.ico"
class=
"img-fluid rounded-normal light-logo"
alt=
"logo"
>
</div>
<h3
class=
"mb-3 font-weight-bold text-center"
>
注册
</h3>
<p
class=
"text-center text-secondary mb-4"
>
微博话题舆情分析可视化系统 - flask echarts SnowNLP
</p>
<div
class=
"mb-5"
>
<p
class=
"line-around text-secondary mb-0"
><span
class=
"line-around-1"
>
输填写好注册信息方可完成注册
</span></p>
</div>
<form
method=
"POST"
action=
"/user/register"
>
<div
class=
"row"
>
<div
class=
"col-lg-12"
>
<div
class=
"form-group"
>
<label
class=
"text-secondary"
>
用户名
</label>
<input
class=
"form-control"
name=
"username"
type=
"text"
placeholder=
"请输入您的用户名"
>
</div>
</div>
<div
class=
"col-lg-12 mt-2"
>
<div
class=
"form-group"
>
<div
class=
"d-flex justify-content-between align-items-center"
>
<label
class=
"text-secondary"
>
密码
</label>
</div>
<input
class=
"form-control"
name=
"password"
type=
"password"
placeholder=
"请输入您的密码"
>
</div>
</div>
<div
class=
"col-lg-12 mt-2"
>
<div
class=
"form-group"
>
<div
class=
"d-flex justify-content-between align-items-center"
>
<label
class=
"text-secondary"
>
确认密码
</label>
</div>
<input
class=
"form-control"
name=
"checkPassword"
type=
"password"
placeholder=
"请再次输入您的密码"
>
</div>
</div>
</div>
<button
type=
"submit"
class=
"btn btn-primary btn-block mt-2"
>
注册
</button>
<div
class=
"col-lg-12 mt-3"
>
<p
class=
"mb-0 text-center"
>
已有账号?
<a
href=
"/user/login"
>
登录
</a></p>
</div>
</form>
</div>
{% endblock %}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment