mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-04-18 17:57:30 +00:00
Completed first-round updates for the email confirmation views.
This commit is contained in:
parent
f977a42cea
commit
b3c80df674
@ -1,10 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>Email confirmation - {{ SITE_NAME }}</title>
|
||||
<title>Email Confirmation - {{ SITE_NAME }}</title>
|
||||
<link rel="icon" href="{{ url_for('static', filename='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">
|
||||
@ -13,7 +12,6 @@
|
||||
{%- endassets %}
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body class="hold-transition register-page">
|
||||
<section class="content">
|
||||
<div class="error-page">
|
||||
@ -30,14 +28,17 @@
|
||||
<i class="fa fa-hand-stop-o text-info"></i> Already verified!
|
||||
</h3>
|
||||
<p>
|
||||
You have confirmed your account already. <a href="{{ url_for('index.login') }}">Click here</a> to login.
|
||||
You have confirmed your account already. <a href="{{ url_for('index.login') }}">Click here</a> to
|
||||
login.
|
||||
</p>
|
||||
{% else %}
|
||||
<h3>
|
||||
<i class="fa fa-warning text-yellow"></i> Email verification failed!
|
||||
</h3>
|
||||
<p>
|
||||
The confirmation link is invalid or has expired. <a href="{{ url_for('index.resend_confirmation_email') }}">Click here</a> if you want to resend a new link.
|
||||
The confirmation link is invalid or has expired. <a
|
||||
href="{{ url_for('index.resend_confirmation_email') }}">Click here</a> if you want to resend a new
|
||||
link.
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
@ -1,10 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>Resend a confirmation email - {{ SITE_NAME }}</title>
|
||||
<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">
|
||||
@ -13,7 +12,6 @@
|
||||
{%- endassets %}
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body class="hold-transition register-page">
|
||||
<div class="register-box">
|
||||
<div class="register-logo">
|
||||
@ -33,7 +31,8 @@
|
||||
<input type="hidden" name="_csrf_token" value="{{ csrf_token() }}">
|
||||
<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>
|
||||
<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>
|
||||
@ -59,14 +58,12 @@
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<!-- /.form-box -->
|
||||
<div class="login-box-footer">
|
||||
<center>
|
||||
<p>Powered by <a href="https://github.com/PowerDNS-Admin/PowerDNS-Admin">PowerDNS-Admin</a></p>
|
||||
</center>
|
||||
<!-- /.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>
|
||||
<!-- /.login-box -->
|
||||
|
||||
{% assets "js_login" -%}
|
||||
<script type="text/javascript" src="{{ ASSET_URL }}"></script>
|
||||
@ -82,5 +79,4 @@
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user