Apply DSFR instead of custom classes
This commit is contained in:
parent
f596216208
commit
8057f050f4
2 changed files with 28 additions and 54 deletions
|
@ -1,27 +0,0 @@
|
||||||
@import "constants";
|
|
||||||
@import "colors";
|
|
||||||
|
|
||||||
#link-sent {
|
|
||||||
padding-top: 2 * $default-padding;
|
|
||||||
padding-bottom: 2 * $default-padding;
|
|
||||||
text-align: center;
|
|
||||||
max-width: 700px;
|
|
||||||
|
|
||||||
section {
|
|
||||||
text-align: left;
|
|
||||||
margin: 3 * $default-padding auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.link-sent-info {
|
|
||||||
color: #000000;
|
|
||||||
background-color: $yellow;
|
|
||||||
padding: 0 $default-padding;
|
|
||||||
border: 1px solid transparent; // prevent margin collapse of first paragraph
|
|
||||||
}
|
|
||||||
|
|
||||||
.link-sent-help {
|
|
||||||
border-top: 1px solid $grey;
|
|
||||||
padding-top: $default-padding;
|
|
||||||
margin-bottom: $default-padding;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -3,22 +3,24 @@
|
||||||
- content_for :footer do
|
- content_for :footer do
|
||||||
= render partial: 'root/footer'
|
= render partial: 'root/footer'
|
||||||
|
|
||||||
#link-sent.container
|
.fr-container.fr-mt-4w.fr-mb-3w
|
||||||
|
.fr-grid-row.fr-grid-row--center
|
||||||
|
.fr-col-12.fr-col-md-9.fr-col-lg-7
|
||||||
|
.center
|
||||||
= image_tag('user/confirmation-email.svg', alt: "")
|
= image_tag('user/confirmation-email.svg', alt: "")
|
||||||
%h1
|
%h1.fr-mb-6w
|
||||||
= t('views.users.passwords.reset_link_sent.got_it')
|
= t('views.users.passwords.reset_link_sent.got_it')
|
||||||
%br
|
%br
|
||||||
= t('views.users.passwords.reset_link_sent.open_your_mailbox')
|
= t('views.users.passwords.reset_link_sent.open_your_mailbox')
|
||||||
|
|
||||||
%section.link-sent-info
|
.fr-callout.fr-callout--green-emeraude.fr-mb-6w
|
||||||
%p
|
%p.fr-callout__text.fr-mb-2w
|
||||||
= t('views.users.passwords.reset_link_sent.email_sent_html', email: @email, application_name: Current.application_name)
|
= t('views.users.passwords.reset_link_sent.email_sent_html', email: @email, application_name: Current.application_name)
|
||||||
%p
|
%p.fr-callout__text.fr-mb-2w
|
||||||
= t('views.users.passwords.reset_link_sent.click_link_to_reset_password')
|
= t('views.users.passwords.reset_link_sent.click_link_to_reset_password')
|
||||||
%p
|
%p.fr-callout__text
|
||||||
= t('views.users.shared.email_can_take_a_while_html')
|
= t('views.users.shared.email_can_take_a_while_html')
|
||||||
|
|
||||||
%section.link-sent-help
|
|
||||||
%h2= t('views.users.passwords.reset_link_sent.no_mail')
|
%h2= t('views.users.passwords.reset_link_sent.no_mail')
|
||||||
%ol
|
%ol
|
||||||
%li
|
%li
|
||||||
|
@ -28,7 +30,6 @@
|
||||||
- if FranceConnectService.enabled?
|
- if FranceConnectService.enabled?
|
||||||
%li
|
%li
|
||||||
= t('views.users.passwords.reset_link_sent.check_france_connect_html', href: france_connect_particulier_path)
|
= t('views.users.passwords.reset_link_sent.check_france_connect_html', href: france_connect_particulier_path)
|
||||||
|
|
||||||
%li
|
%li
|
||||||
= t('views.users.passwords.reset_link_sent.check_gpdr')
|
= t('views.users.passwords.reset_link_sent.check_gpdr')
|
||||||
%p
|
%p
|
||||||
|
|
Loading…
Reference in a new issue