Attendance/templates/verifiedChgPassword.html
2021-12-12 18:38:10 +08:00

62 lines
No EOL
3.1 KiB
HTML

<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Attendance 點名系統 2.0</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<link rel="stylesheet" href="/static/allpages.css">
<link rel="stylesheet" href="/static/login.css">
<link rel="shortcut icon" type="image/x-icon" href="/static/favicon.ico" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-H6D61RSBHR"></script>
<script src="/static/gtag.js"></script>
<script src="https://kit.fontawesome.com/52a3d6c810.js" crossorigin="anonymous"></script>
<!-- <script src="https://www.google.com/recaptcha/api.js"></script> -->
</head>
<body>
<div class="showTime"><span id="showTime"></span></div>
<div class="text-center container">
<div class="loginPanel">
<h1 class="margin-top margin-bottom">
<div class="img"><img src="/static/favicon.ico" alt="" style="height: 100%"> Reset Password 重置密碼</div> </h1>
<form action="/resetPassword?resetCode={{resetCode}}" id="password_form" method="post">
<div class="form-group row" style="margin-bottom: 10px;">
<label for="password">New Password 新密碼:</label><br>
<div class="input-group mb-3 hasSmall">
<input type="password" class="form-control" id="password" name="password"
aria-describedby="passwordHelp" required>
<div class="input-group-append">
<span class="input-group-text toggle-password" onclick="password_show_hide();">
<i class="fas fa-eye" id="show_eye"></i>
<i class="fas fa-eye-slash d-none" id="hide_eye"></i>
</span>
</div>
</div>
<small id="passwordHelp" class="form-text text-muted">6 characters
minimum.</small>
</div>
<button class="btn btn-warning btn-block g-recaptcha" onclick="loadingAnimation()">Confirm
確認</button>
</form>
{% with messages = get_flashed_messages() %}
{% if messages %}
<div class="alert alert-danger" role="alert">
{% for message in messages %}
{% autoescape false %}{{message}}{% endautoescape %}
{% endfor %}
</div>
{% endif %}
{% endwith %}
{% include 'footer.html' %}
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="/static/pagejs/verifiedChgPassword.js"></script>
<script src="/static/time.js"></script>
</body>
</html>