Skip to content

Commit 2bd0993

Browse files
committed
feat(portal-theme): tweak styles
Authored-by: Brendan Bronzan
1 parent 3e1f83e commit 2bd0993

File tree

5 files changed

+25
-17
lines changed

5 files changed

+25
-17
lines changed

src/Themes/PortalTheme/Views/ModalProfile.liquid

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
</span>
1919
</div>
2020
<div class="col-md-9 col-12 d-flex flex-column align-items-md-start align-items-center justify-content-center">
21-
<p class="h5 text-secondary">{{ "Contact email" | t }}</p>
22-
<p class="h4 mb-4">{{ User | get_claim: "email" }}</p>
21+
<p class="h4 text-secondary">{{ "Contact email" | t }}</p>
22+
<p class="h3 mb-4">{{ User | get_claim: "email" }}</p>
2323

24-
<p class="h5 text-secondary">{{ "Azure account" | t }}</p>
25-
<p class="h4">{{ User.Identity.Name }}</p>
24+
<p class="h4 text-secondary">{{ "Azure account" | t }}</p>
25+
<p class="h3">{{ User.Identity.Name }}</p>
2626
</div>
2727
</div>
2828
</div>

src/Themes/PortalTheme/Views/OrchardCore.Users/ResetPassword/ForgotPassword.liquid

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
{% helper "span", id:"UserIdentifier-described-by", asp_validation_for:"UserIdentifier", class:"text-danger" %}
1111
</div>
1212
<div class="form-group d-flex flex-column align-items-center justify-content-center mb-3">
13-
<p class="text-center">{{ "The recovery link will be sent to the email address of your vLab account." | t }}</p>
13+
<p class="text-center">{{ "A recovery link will be sent to the email address tied to your account." | t }}</p>
1414
</div>
1515
<div class="form-group d-flex justify-content-center">
1616
<button type="submit" class="btn btn-lg btn-primary is-rounded">{{ "Send recovery email" | t }}</button>
1717
</div>
18-
<p class="text-center mt-5"><a href="https://digital.statcan.gc.ca/#contact">{{ "If you can no longer access the inbox, see if we can help." | t }}</a></p>
18+
<p class="text-center mt-5"><a href="https://digital.statcan.gc.ca/#contact">{{ "If you can't access the inbox tied to your account, see if we can help." | t }}</a></p>
1919
{% endform %}
2020
{{ "SharedLoginFooter" | shape_new | shape_render }}
Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
{% assign title = "Check your email" | t %}
2-
{{ "SharedLoginHeader" | shape_new: title: title | shape_render }}
3-
<p class="text-center">{{ "Please check your email to reset your password." | t }}</p>
1+
{% assign title = "Password recovery sent" | t %}
2+
{% assign subtitle = "Check your email" | t %}
3+
{% assign prompt = "It may take a few minutes" | t %}
4+
5+
{{ "SharedLoginHeader" | shape_new: title: title, subtitle: subtitle, prompt: prompt | shape_render }}
6+
<div class="form-group d-flex flex-column align-items-center justify-content-center mb-3">
7+
<p class="text-center">{{ "A recovery email has been sent to the email address tied to your account. " | t }}</p>
8+
</div>
9+
<p class="text-center mt-5"><a href="https://digital.statcan.gc.ca/#contact">{{ "If you're still stuck, see if we can help." | t }}</a></p>
410
{{ "SharedLoginFooter" | shape_new | shape_render }}

src/Themes/PortalTheme/Views/OrchardCore.Users/ResetPassword/ResetPassword.liquid

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% assign title = "Reset password" | t %}
2-
{% assign subtitle = "vLab account security" | t %}
3-
{% assign prompt = "New password, new beginning" | t %} <!-- the user already feels crappy, might as well make them laugh-->
2+
{% assign subtitle = "Set a new password" | t %}
3+
{% assign prompt = "Secure and memorable" | t %}
44

55
{{ "SharedLoginHeader" | shape_new: title: title, subtitle: subtitle, prompt: prompt | shape_render }}
66
{% form asp_controller:"ResetPassword", asp_action:"ResetPassword", method:"post" %}
Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
{% assign title = "Password reset" | t %}
2-
{{ "SharedLoginHeader" | shape_new: title: title | shape_render }}
3-
<div class="d-flex justify-content-center">
4-
<p class="text-center">{{ "Your password has been reset." | t }}</p>
5-
<a href="{{ '~/login' | href }}" class="btn btn-lg btn-primary is-rounded">{{ "Login" | t }}</a>
6-
</div>
1+
{% assign title = "Password reset complete" | t %}
2+
{% assign subtitle = "New password is set" | t %}
3+
{% assign prompt = "Give it try" | t %}
4+
5+
{{ "SharedLoginHeader" | shape_new: title: title, subtitle: subtitle, prompt: prompt | shape_render }}
6+
<div class="form-group d-flex flex-column align-items-center justify-content-center mb-3">
7+
<a href="{{ '~/login' | href }}" class="btn btn-lg btn-primary is-rounded">{{ "Login" | t }}</a>
8+
</div>
79
{{ "SharedLoginFooter" | shape_new | shape_render }}

0 commit comments

Comments
 (0)