-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## 🎫 Ticket No ticket ## 🛠 Changes Invitations login page less duplicates real login page ## ℹ️ Context for reviewers (Background context, more in-depth details of the implementation, and anything else you'd like to call out or ask reviewers.) ## ✅ Acceptance Validation (How were the changes verified? Did you fully test the acceptance criteria in the ticket? Provide reproducible testing instructions and screenshots if applicable.) ## 🔒 Security Implications - [ ] This PR adds a new software dependency or dependencies. - [ ] This PR modifies or invalidates one or more of our security controls. - [ ] This PR stores or transmits data that was not stored or transmitted before. - [ ] This PR requires additional review of its security implications for other reasons. If any security implications apply, add Jason Ashbaugh (GitHub username: StewGoin) as a reviewer and do not merge this PR without his approval.
- Loading branch information
1 parent
3d0e118
commit 5ed642b
Showing
2 changed files
with
2 additions
and
42 deletions.
There are no files selected for viewing
40 changes: 2 additions & 38 deletions
40
dpc-portal/app/components/page/session/invitation_login_component.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,14 @@ | ||
<section class="usa-section"> | ||
<div class="grid-row margin-x-neg-205 flex-justify-center"> | ||
<div class="grid-col-12 mobile-lg:grid-col-10 tablet:grid-col-8 desktop:grid-col-6 padding-x-205 margin-bottom-4"> | ||
<h1 class="desktop:display-none font-sans-lg margin-bottom-4 tablet:margin-top-neg-3"> | ||
Welcome to the production portal for the Data at the Point of Care (DPC) API | ||
Invitation Login | ||
</h1> | ||
<div class="bg-white padding-y-3 padding-x-5 border border-base-lighter"> | ||
<h1 class="margin-bottom-0">Sign in to your account</h1> | ||
<h1 class="margin-bottom-0">Sign in to Accept Invitation</h1> | ||
<p>You can access or create your account by signing in below.</p> | ||
<%= button_to login_organization_invitation_url(@invitation.provider_organization, @invitation), class: 'usa-button width-full margin-bottom-3', data: { turbo: false } do %> | ||
Sign in with <span class="login-button__logo">Login.gov</span> | ||
<% end %> | ||
</div> | ||
</div> | ||
<div class="grid-col-12 mobile-lg:grid-col-10 tablet:grid-col-8 desktop:grid-col-6 padding-x-205"> | ||
<div class="border-top border-base-lighter padding-top-4 desktop:border-0 desktop:padding-top-0"> | ||
<h2 class="display-none desktop:display-block margin-top-0"> | ||
Welcome to the production portal for the Data at the Point of Care (DPC) API | ||
</h2> | ||
<div class="usa-prose"> | ||
<p>Use this portal to get production credentials, manage X, and do X. If you're an | ||
Authorized Official, you'll need to take the following steps:</p> | ||
<section class="usa-graphic-list"> | ||
<div class="usa-graphic-list__row"> | ||
<div class="usa-media-block margin-y-2"> | ||
<%= image_tag 'circle-gray-20.svg', class: ['usa-media-block__img', 'height-7', 'width-7'] %> | ||
<div class="usa-media-block__body"> | ||
<p><strong>Add an organization.</strong> Vivavmus nec velit sed leo scelerisque laoreet vestibulum.</p> | ||
</div> | ||
</div> | ||
<div class="usa-media-block margin-y-2"> | ||
<%= image_tag 'circle-gray-20.svg', class: ['usa-media-block__img', 'height-7', 'width-7'] %> | ||
<div class="usa-media-block__body"> | ||
<p><strong>Invite a credential delegate.</strong> Vivavmus nec velit sed leo scelerisque laoreet vestibulum.</p> | ||
</div> | ||
</div> | ||
<div class="usa-media-block margin-y-2"> | ||
<%= image_tag 'circle-gray-20.svg', class: ['usa-media-block__img', 'height-7', 'width-7'] %> | ||
<div class="usa-media-block__body"> | ||
<p><strong>Lorem ipsum.</strong> Vivavmus nec velit sed leo scelerisque laoreet</p> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters