完善用户中心功能

This commit is contained in:
2020-04-15 14:56:30 +08:00
parent 906dccda61
commit 10b40f0071
14 changed files with 370 additions and 16 deletions

View File

@@ -6,6 +6,7 @@
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title>用户中心</title>
<link rel="stylesheet" type="text/css" href="__static__/common/css/main.css?time={:time()}">
<link rel="stylesheet" type="text/css" href="__css__/style.css?time={:time()}">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
@@ -34,6 +35,35 @@
<div class="container">
<!-- Main content -->
<section class="content">
<div class="log-box row">
<div class="col-sm-6"></div>
<div class="col-sm-6">
<h3 class="title">用户登录</h3>
<!-- 修改密码表单 -->
<form method="post" class="form-horizontal" role="form">
<div class="form-group">
<label class="col-sm-2 control-label">用户名:</label>
<div class="col-sm-10">
<input type="text" name="username" class="form-control " data-rule="required" autocomplete="off" />
<div class="help-block"></div>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">密码:</label>
<div class="col-sm-10">
<input type="password" name="password" class="form-control " data-rule="required;password" autocomplete="off" />
<div class="help-block"></div>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-7">
<button type="submit" class="btn btn-success submit-btn">确认提交</button>
</div>
<div class="col-sm-3" style="text-align: right;"><a href="{:url('/user/index/forget')}" class="btn btn-link">忘记密码</a></div>
</div>
</form>
</div>
</div>
</section>
</div>
</div>