Merge lp:~deadlight/canonical-identity-provider/design-review into lp:~deadlight/canonical-identity-provider/vanilla

Proposed by Karl Williams
Status: Merged
Merged at revision: 1722
Proposed branch: lp:~deadlight/canonical-identity-provider/design-review
Merge into: lp:~deadlight/canonical-identity-provider/vanilla
Diff against target: 151 lines (+14/-17)
10 files modified
src/identityprovider/static_src/scss/styles.scss (+2/-2)
src/webui/templates/account/confirm_new_email.html (+1/-1)
src/webui/templates/account/delete_email.html (+1/-1)
src/webui/templates/account/edit.html (+2/-5)
src/webui/templates/account/emails.html (+1/-1)
src/webui/templates/account/new_email.html (+1/-1)
src/webui/templates/device/addition-generic.html (+1/-1)
src/webui/templates/menu_item.html (+1/-1)
src/webui/templates/registration/sync_2fa.html (+3/-3)
src/webui/templates/versions.html (+1/-1)
To merge this branch: bzr merge lp:~deadlight/canonical-identity-provider/design-review
Reviewer Review Type Date Requested Status
Anthony Dillon (community) Approve
Review via email: mp+372493@code.launchpad.net

Description of the change

Various minor changes from the design review with Karlos

To post a comment you must log in.
Revision history for this message
Anthony Dillon (ya-bo-ng) wrote :

LGTM but there are some conflicts in the code

review: Needs Fixing
1722. By Karl Williams

Merge from feature branch

Revision history for this message
Anthony Dillon (ya-bo-ng) wrote :

Thanks for fixing the conflicts +1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/identityprovider/static_src/scss/styles.scss'
--- src/identityprovider/static_src/scss/styles.scss 2019-08-30 16:17:49 +0000
+++ src/identityprovider/static_src/scss/styles.scss 2019-09-10 15:54:51 +0000
@@ -48,11 +48,11 @@
4848
49 &::before {49 &::before {
50 background-color: $color-mid-light;50 background-color: $color-mid-light;
51 bottom: -$spv-inner--x-small;51 bottom: 0;
52 content: '';52 content: '';
53 left: -$sph-inner;53 left: -$sph-inner;
54 position: absolute;54 position: absolute;
55 top: -$spv-inner--x-small;55 top: 0;
56 width: $bar-thickness;56 width: $bar-thickness;
57 }57 }
58 }58 }
5959
=== modified file 'src/webui/templates/account/confirm_new_email.html'
--- src/webui/templates/account/confirm_new_email.html 2019-09-04 16:27:41 +0000
+++ src/webui/templates/account/confirm_new_email.html 2019-09-10 15:54:51 +0000
@@ -30,8 +30,8 @@
30 </p>30 </p>
31 {% endif %}31 {% endif %}
32 <input type="hidden" name="post" value="yes" />32 <input type="hidden" name="post" value="yes" />
33 <button type="submit" name="continue" class="p-button--positive" data-qa-id="confirm_email_validation">{% trans "Yes, I'm sure" %}</button>
33 <a class="p-button--base" href="{% if token %}/{{ token }}{% endif %}/" data-qa-id="cancel_email_validation">{% trans "Cancel" %}</a>34 <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>
35 </form>35 </form>
36</div>36</div>
37{% endblock %}37{% endblock %}
3838
=== modified file 'src/webui/templates/account/delete_email.html'
--- src/webui/templates/account/delete_email.html 2019-09-04 16:27:41 +0000
+++ src/webui/templates/account/delete_email.html 2019-09-10 15:54:51 +0000
@@ -23,7 +23,7 @@
23 <form action="" method="POST">23 <form action="" method="POST">
24 {% csrf_token %}24 {% csrf_token %}
25 <button type="submit" class="p-button--negative" name="delete" data-qa-id="confirm_delete_email">{% trans "Yes, delete" %}</button>25 <button type="submit" class="p-button--negative" name="delete" data-qa-id="confirm_delete_email">{% trans "Yes, delete" %}</button>
26 {% include "common/cancel_link.html" %}26 <a href="/" class="p-button--base">Cancel</a>
27 </form>27 </form>
28 </div>28 </div>
29 </div>29 </div>
3030
=== modified file 'src/webui/templates/account/edit.html'
--- src/webui/templates/account/edit.html 2019-09-04 16:27:41 +0000
+++ src/webui/templates/account/edit.html 2019-09-10 15:54:51 +0000
@@ -137,9 +137,8 @@
137 </div>137 </div>
138138
139 {% if not readonly %}139 {% if not readonly %}
140 <button type="submit" class="p-button--positive" name="update" data-qa-id="update_preferences">140 <button type="submit" class="p-button--positive" name="update" data-qa-id="update_preferences">{% trans "Save changes" %}</button>
141 <span>{% trans "Save changes" %}</span>141 <a href="/+delete" data-qa-id="delete_account_link" class="p-button--base">{% trans "Permanently delete account" %}</a>
142 </button>
143 {% endif %}142 {% endif %}
144 {% if token %}143 {% if token %}
145 {% trans "or" %}144 {% trans "or" %}
@@ -147,8 +146,6 @@
147 {% endif %}146 {% endif %}
148 </form>147 </form>
149148
150 <p><a href="/+delete" data-qa-id="delete_account_link">{% trans "Permanently delete account" %}</a></p>
151
152 {% include "widgets/last_auth_sites.html" %}149 {% include "widgets/last_auth_sites.html" %}
153150
154{% endblock %}151{% endblock %}
155152
=== modified file 'src/webui/templates/account/emails.html'
--- src/webui/templates/account/emails.html 2019-08-21 16:06:42 +0000
+++ src/webui/templates/account/emails.html 2019-09-10 15:54:51 +0000
@@ -20,7 +20,7 @@
20 <p>{% blocktrans %}You have no email addresses associated with your account.{% endblocktrans %}</p>20 <p>{% blocktrans %}You have no email addresses associated with your account.{% endblocktrans %}</p>
21 {% endif %}21 {% endif %}
22 {% if verified_emails %}22 {% if verified_emails %}
23 <section class="p-strip is-shallow u-no-padding--bottom">23 <section class="p-strip is-shallow {% if unverified_emails %} u-no-padding--bottom{% endif %}">
24 <table class="p-table">24 <table class="p-table">
25 <thead>25 <thead>
26 <tr>26 <tr>
2727
=== modified file 'src/webui/templates/account/new_email.html'
--- src/webui/templates/account/new_email.html 2019-09-05 13:35:47 +0000
+++ src/webui/templates/account/new_email.html 2019-09-10 15:54:51 +0000
@@ -27,8 +27,8 @@
27 </p>27 </p>
28 {% endif %}28 {% endif %}
29 </div>29 </div>
30 <button type="submit" class="p-button--primary" name="continue" data-qa-id="send_instructions_confirm_email">{% trans "Send instructions" %}</button>
30 <a class="p-button--base" href="/">{% trans "Cancel" %}</a>31 <a class="p-button--base" href="/">{% trans "Cancel" %}</a>
31 <button type="submit" class="p-button--positive" name="continue" data-qa-id="send_instructions_confirm_email">{% trans "Send instructions" %}</button>
32 </form>32 </form>
33 </div>33 </div>
34</div>34</div>
3535
=== modified file 'src/webui/templates/device/addition-generic.html'
--- src/webui/templates/device/addition-generic.html 2019-08-21 16:06:42 +0000
+++ src/webui/templates/device/addition-generic.html 2019-09-10 15:54:51 +0000
@@ -70,6 +70,6 @@
70 <input type="hidden" name="type" value="{{ type }}">70 <input type="hidden" name="type" value="{{ type }}">
71 <input type="hidden" name="hex_key" value="{{ hex_key }}">71 <input type="hidden" name="hex_key" value="{{ hex_key }}">
72 <button class="p-button--primary" type="submit" data-qa-id="confirm_add_device">{% trans "Add device" %}</button>72 <button class="p-button--primary" type="submit" data-qa-id="confirm_add_device">{% trans "Add device" %}</button>
73 <a data-qa-id="cancel_add_device" href="{{ device_list_path }}" class="p-button--neutral">{% trans "cancel" %}</a>73 <a data-qa-id="cancel_add_device" href="{{ device_list_path }}" class="p-button--neutral">{% trans "Cancel" %}</a>
74 </form>74 </form>
75{% endblock %}75{% endblock %}
7676
=== modified file 'src/webui/templates/menu_item.html'
--- src/webui/templates/menu_item.html 2019-07-22 15:01:03 +0000
+++ src/webui/templates/menu_item.html 2019-09-10 15:54:51 +0000
@@ -9,7 +9,7 @@
9 {{ label }}9 {{ label }}
10 </span>10 </span>
11 {% else %}11 {% else %}
12 <a id="{{ section }}-link" data-qa-id="{{ section }}_link" href="{{ link }}">12 <a id="{{ section }}-link" data-qa-id="{{ section }}_link" href="{{ link }}" class="p-link--soft">
13 <span {% if extra_qa_data_id %}data-qa-id="{{ extra_qa_data_id }}"{% endif %}>13 <span {% if extra_qa_data_id %}data-qa-id="{{ extra_qa_data_id }}"{% endif %}>
14 {{ label }}14 {{ label }}
15 </span>15 </span>
1616
=== modified file 'src/webui/templates/registration/sync_2fa.html'
--- src/webui/templates/registration/sync_2fa.html 2019-08-27 12:48:53 +0000
+++ src/webui/templates/registration/sync_2fa.html 2019-09-10 15:54:51 +0000
@@ -61,10 +61,10 @@
61 </form>61 </form>
62 </div>62 </div>
63 </div>63 </div>
64 <div class="col-4">64 <div class="col-5 col-start-large-8">
65 <div class="p-card">65 <aside class="p-table-of-contents">
66 {% include "registration/two_factor_information.html" %}66 {% include "registration/two_factor_information.html" %}
67 </div>67 </aside>
68 </div>68 </div>
69 </div>69 </div>
70{% endblock %}70{% endblock %}
7171
=== modified file 'src/webui/templates/versions.html'
--- src/webui/templates/versions.html 2012-12-04 18:51:42 +0000
+++ src/webui/templates/versions.html 2019-09-10 15:54:51 +0000
@@ -2,7 +2,7 @@
2{% load i18n %}2{% load i18n %}
33
4{% comment %}4{% comment %}
5Copyright 2010 Canonical Ltd. This software is licensed under the5Copyright 2010-2019 Canonical Ltd. This software is licensed under the
6GNU Affero General Public License version 3 (see the file LICENSE).6GNU Affero General Public License version 3 (see the file LICENSE).
7{% endcomment %}7{% endcomment %}
88

Subscribers

People subscribed via source and target branches

to all changes: