-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reCAPTCHA: Enrollment index #2575
Changes from all commits
32d41d4
f2ca459
2eb8197
d559c19
e187a60
56b9322
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
{% extends "enrollment/index.html" %} | ||
{% load i18n %} | ||
|
||
{% block media-items %} | ||
<div class="col-12 col-sm-12 col-lg-8"> | ||
<ul class="mb-5 mx-0 px-0 d-flex list-unstyled justify-content-center flex-column"> | ||
{% include "enrollment/includes/media-item--contactless-card--index--calfresh.html" %} | ||
</ul> | ||
</div> | ||
{% endblock media-items %} | ||
|
||
{% block additional-info %} | ||
<div class="col-12 col-sm-12 col-lg-8">{% include "enrollment/includes/alert-box--warning--calfresh.html" %}</div> | ||
{% endblock additional-info %} | ||
{% block info %} | ||
<h2 class="h3 pb-1">{% translate "The next step is to connect your contactless card to your transit benefit" %}</h2> | ||
|
||
<p class="mb-4"> | ||
{% translate "You will be directed to our payment partner, " %} | ||
{% include "core/includes/modal-trigger.html" with modal="modal--littlepay" text="Littlepay" period=True %} | ||
{% translate "We don’t store your information, and you won’t be charged." %} | ||
</p> | ||
|
||
{% include "enrollment/includes/modal--littlepay.html" with id="modal--littlepay" size="modal-md" header="p-md-2 p-3" body="pb-md-3 mb-md-3 mx-md-3 py-0 pt-0 absolute-top" %} | ||
|
||
{% include "enrollment/includes/alert-box--warning--calfresh.html" %} | ||
{% endblock info %} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -592,26 +592,6 @@ footer .footer-links li a.footer-link:visited { | |
outline-offset: 1px !important; | ||
} | ||
|
||
/* Media List */ | ||
|
||
:root { | ||
--media-item-icon-size: calc(64rem / 16); | ||
--media-item-icon-margin: calc(24rem / 16); | ||
} | ||
|
||
@media (min-width: 992px) { | ||
:root { | ||
--media-item-icon-size: calc(90rem / 16); | ||
--media-item-icon-margin: calc(32rem / 16); | ||
} | ||
} | ||
|
||
.media-list-icon-left-margin { | ||
margin-left: calc( | ||
var(--media-item-icon-size) + var(--media-item-icon-margin) | ||
); | ||
} | ||
|
||
Comment on lines
-595
to
-614
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are officially zero Media Item classes now. It's just a single Media items are used on two pages:
Should this PR refactor Enrollment Index so it doesn't use the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @thekaveman jinx! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Media item now removed from Enrollment Index. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
(this question was essentially the same as the one in #2575 (comment)) Done by @machikoyasuda in 56b9322 |
||
/* Cards */ | ||
|
||
:root { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This block is only used by
enrollment-index
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note for #2540
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm interesting observation 👍 Sounds like you're leaving any potential clean-up on this to be done in #2540?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah and this is turning into a true PR rabbit hole, but in the next PR for Enrollment Success/Logged Out, https://github.com/cal-itp/benefits/pull/2579/files#r1876743474, I moved some code out of
call-to-action
to clean it up further. After https://github.com/cal-itp/benefits/pull/2579/files#r1876743474, in #2540 will be able to consolidate some of the blocks in base.