2020-05-17 09:11:52 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2023-02-20 17:12:22 +00:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<title>Resend Confirmation Email - {{ SITE_NAME }}</title>
|
|
|
|
<link rel="icon" href="/static/img/favicon.png">
|
|
|
|
<!-- Tell the browser to be responsive to screen width -->
|
|
|
|
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
|
|
|
{% assets "css_login" -%}
|
|
|
|
<link rel="stylesheet" href="{{ ASSET_URL }}">
|
|
|
|
{%- endassets %}
|
|
|
|
<![endif]-->
|
2020-05-17 09:11:52 +00:00
|
|
|
</head>
|
|
|
|
<body class="hold-transition register-page">
|
2023-02-20 17:12:22 +00:00
|
|
|
<div class="register-box">
|
2020-05-17 09:11:52 +00:00
|
|
|
<div class="register-logo">
|
2023-02-20 17:12:22 +00:00
|
|
|
<a href="{{ url_for('index.index') }}"><b>PowerDNS</b>-Admin</a>
|
2020-05-17 09:11:52 +00:00
|
|
|
</div>
|
|
|
|
<div class="register-box-body">
|
2023-02-20 17:12:22 +00:00
|
|
|
{% if error %}
|
|
|
|
<div class="alert alert-danger alert-dismissible">
|
|
|
|
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
|
|
|
{{ error }}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
<p>
|
2020-05-17 09:11:52 +00:00
|
|
|
Enter your email address to get account confirmation link.
|
2023-02-20 17:12:22 +00:00
|
|
|
</p>
|
|
|
|
<form method="post" data-toggle="validator">
|
2020-05-17 09:11:52 +00:00
|
|
|
<input type="hidden" name="_csrf_token" value="{{ csrf_token() }}">
|
2023-02-20 17:12:22 +00:00
|
|
|
<div class="form-group has-feedback">
|
|
|
|
<input type="hidden" name="_csrf_token" value="{{ csrf_token() }}">
|
|
|
|
<input type="email" name="email" class="form-control" placeholder="Email address"
|
|
|
|
data-error="Please input your email" required>
|
|
|
|
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
|
|
|
<span class="help-block with-errors"></span>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-4 pull-left">
|
|
|
|
<button type="button" class="btn btn-flat btn-block" id="button_back">Back</button>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-4 pull-right">
|
|
|
|
<button type="submit" class="btn btn-flat btn-primary btn-block">Resend</button>
|
|
|
|
</div>
|
|
|
|
<!-- /.col -->
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<p>
|
|
|
|
{% if status == 0 %}
|
|
|
|
<font color="red">Email not found!</font>
|
|
|
|
{% elif status == 1 %}
|
|
|
|
<font color="red">Email already confirmed!</font>
|
|
|
|
{% elif status == 2 %}
|
|
|
|
<font color="green">Confirmation email sent!</font>
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</form>
|
2019-12-21 14:43:03 +00:00
|
|
|
</div>
|
2023-02-20 17:12:22 +00:00
|
|
|
<!-- /.register-box-body -->
|
|
|
|
</div>
|
|
|
|
<!-- /.register-box -->
|
|
|
|
<div class="text-center pt-3">
|
|
|
|
<p>Powered by <a href="https://powerdnsadmin.org" target="_blank">PowerDNS-Admin</a></p>
|
|
|
|
</div>
|
2020-05-17 09:11:52 +00:00
|
|
|
|
2023-02-20 17:12:22 +00:00
|
|
|
{% assets "js_login" -%}
|
|
|
|
<script type="text/javascript" src="{{ ASSET_URL }}"></script>
|
|
|
|
{%- endassets %}
|
|
|
|
{% assets "js_validation" -%}
|
|
|
|
<script type="text/javascript" src="{{ ASSET_URL }}"></script>
|
|
|
|
{%- endassets %}
|
|
|
|
<script>
|
2020-05-17 09:11:52 +00:00
|
|
|
$(function () {
|
2023-02-20 17:12:22 +00:00
|
|
|
$('#button_back').click(function () {
|
|
|
|
window.location.href = '{{ url_for('index.login') }}';
|
|
|
|
})
|
2020-05-17 09:11:52 +00:00
|
|
|
});
|
2023-02-20 17:12:22 +00:00
|
|
|
</script>
|
2020-05-17 09:11:52 +00:00
|
|
|
</body>
|
2023-02-20 17:12:22 +00:00
|
|
|
</html>
|