| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- {% load staticfiles %}
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8" />
- <link href="{% static '/lib/bootstrap-3.3.7/css/bootstrap.css' %}" rel="stylesheet">
- <link rel="stylesheet" href="{% static '/lib/font-awesome/4.5.0/css/font-awesome.css' %}">
- <link rel="stylesheet" href="{% static '/lib/css/ace.min.css' %}"/>
- <link rel="stylesheet" href="{% static '/lib/css/ace-skins.min.css' %}">
- <link rel="stylesheet" href="{% static '/lib/css/ace-rtl.min.css' %}">
- <link rel="stylesheet" href="{% static '/lib/layui/css/layui.css' %}">
- <style type="text/css">
- body {
- overflow: hidden;
- background: #fff;
- }
- </style>
- </head>
- <body>
- <div class="content">
- <form action="#" method="post" class="form-horizontal">{% csrf_token %}
- <input type="hidden" id="userName" name="username">
- <div class="form-group">
- <label class="col-sm-3 control-label no-padding-right">
- 原始密码:</label>
- <div class="col-sm-9">
- <div class="data-input">
- <input id="oldpassword" type="password" maxlength="16" />
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label no-padding-right">
- 新密码:</label>
- <div class="col-sm-9">
- <div class="data-input">
- <input id="password" type="password" maxlength="16" />
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label no-padding-right">
- 确认新密码:</label>
- <div class="col-sm-9">
- <div class="data-input">
- <input id="password2" type="password" maxlength="16" />
- </div>
- </div>
- </div>
- <div class="">
- <div class="col-md-offset-3 col-md-9">
- <button onclick="sub()" type="button" class="btn btn-primary btn-save-cancel queding">确定</button>
- <button type="reset" class="btn btn-success btn-save-cancel">取消</button>
- <div id="status"></div>
- </div>
- </div>
- </form>
- <script src="{% static '/lib/js/jquery-2.1.4.min.js' %}"></script>
- <script src="{% static '/lib/layui/layui.all.js' %}"></script>
- <script type="text/javascript">
- $.ajaxSetup({
- data: { csrfmiddlewaretoken: '{{ csrf_token }}' },
- });
- </script>
- <script src="{% static '/js/home/change_pwd.js' %}?versions=0.5.0"></script>
- </body>
- </html>
|