You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
2.7 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{% extends 'base.html' %}
{% block title %}
修改密码页面
{% endblock %}
{% block content %}
<div class="pagetitle" style="display:flex;align-items:center">
<div style="margin-right:auto">
<h1>修改密码</h1>
<nav>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{% url 'index' %}">个人中心</a></li>
<li class="breadcrumb-item active">修改密码页面</li>
</ol>
</nav>
</div>
<h5>
{{ nowTime.year}}-{{ nowTime.mon}}-{{ nowTime.day}}
</h5>
</div>
<section class="section dashboard">
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-body">
<h5 class="card-title">修改个人信息</h5>
<div class="activity">
<form action="{% url 'changePassword' %}" method="POST">
<div class="row mb-3">
<label for="inputText" class="col-sm-2 col-form-label">初始密码:</label>
<div class="col-sm-10">
<!-- disabled默认值不能改变 -->
<input type="password" name="oldPassword" class="form-control" placeholder="请输入初始密码" style="width:300px">
</div>
</div>
<div class="row mb-3">
<label for="inputText" class="col-sm-2 col-form-label">新密码:</label>
<div class="col-sm-10">
<input type="password" name="newPassword" class="form-control" placeholder="请输入新密码" style="width:300px">
</div>
</div>
<div class="row mb-3">
<label for="inputText" class="col-sm-2 col-form-label">确认新密码:</label>
<div class="col-sm-10">
<input type="password" name="newPasswordConfirm" class="form-control" placeholder="请再次输入新密码" style="width:300px">
</div>
</div>
<div class="row mb-3">
<label for="inputText" class="col-sm-2 col-form-label"></label>
<div class="col-sm-10">
<button type="submit" class="btn btn-primary">确认</button>
</div>
</div>
</form>
</div>
</div>
</div><!-- End 评分排名前十 -->
</div>
</div>
</section>
{% endblock %}
{% block echarts %}
<script>
</script>
{% endblock %}