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.
|
|
|
|
{% extends 'Mindex.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 'Mindex' %}">管理员个人中心</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 'MGchangePassword' %}" 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 %}
|