~deadlight/canonical-identity-provider/misc-account

« back to all changes in this revision

Viewing changes to src/webui/templates/account/confirm_new_email.html

  • Committer: Karl Williams
  • Date: 2019-09-04 16:27:41 UTC
  • Revision ID: karl@deadlight.net-20190904162741-nli4p6r411k2k7bs
Convert remaining accont templates and template fragments to vanilla

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{% extends "base.html" %}
 
1
{% extends "vanilla/base.html" %}
2
2
{% load i18n %}
3
3
 
4
4
{% comment %}
5
 
Copyright 2010 Canonical Ltd.  This software is licensed under the
 
5
Copyright 2010-2019 Canonical Ltd.  This software is licensed under the
6
6
GNU Affero General Public License version 3 (see the file  LICENSE).
7
7
{% endcomment %}
8
8
 
10
10
 
11
11
{% block title %}{% trans "Complete email address validation" %}{% endblock %}
12
12
 
13
 
{% block text_title %}<h1 class="u1-h-main">{% blocktrans %}Validate {{ email }}?{% endblocktrans %}</h1>{% endblock %}
 
13
{% block text_title %}<h1>{% blocktrans %}Validate {{ email }}?{% endblocktrans %}</h1>{% endblock %}
14
14
 
15
15
{% block content_id %}auth{% endblock %}
16
16
 
17
17
{% block content %}
18
 
<p>{% blocktrans %}Are you sure you want to confirm and validate this email address?{% endblocktrans %}</p>
19
 
 
20
 
<div class="actions">
 
18
<div class="row">
 
19
  <p>{% blocktrans %}Are you sure you want to confirm and validate this email address?{% endblocktrans %}</p>
21
20
  <form action="" method="post">
22
21
    {% csrf_token %}
23
 
 
24
22
    {% if captcha_required %}
25
23
    <p class="captcha" id="captcha">
26
 
        {% if captcha_error_message %}
27
 
            <span class="error">
28
 
                {{ captcha_error_message }}
29
 
            </span>
30
 
        {% endif %}
31
 
        {% include "widgets/recaptcha-v2.html" %}
 
24
      {% if captcha_error_message %}
 
25
      <span class="error">
 
26
        {{ captcha_error_message }}
 
27
      </span>
 
28
      {% endif %}
 
29
      {% include "widgets/recaptcha-v2.html" %}
32
30
    </p>
33
31
    {% endif %}
34
 
 
35
 
    <p>
36
 
      <input type="hidden" name="post" value="yes" />
37
 
      <button type="submit" name="continue" class="btn cta" data-qa-id="confirm_email_validation">
38
 
        <span>{% trans "Yes, I'm sure" %}</span>
39
 
      </button>
40
 
      <a class="cta secondary" href="{% if token %}/{{ token }}{% endif %}/" data-qa-id="cancel_email_validation">{% trans "Cancel" %}</a>
41
 
    </p>
 
32
    <input type="hidden" name="post" value="yes" />
 
33
    <a class="p-button--base" href="{% if token %}/{{ token }}{% endif %}/" data-qa-id="cancel_email_validation">{% trans "Cancel" %}</a>
 
34
    <button type="submit" name="continue" class="p-button--positive" data-qa-id="confirm_email_validation">{% trans "Yes, I'm sure" %}</button>
42
35
  </form>
43
36
</div>
44
 
 
45
 
<br style="clear: both" />
46
37
{% endblock %}