-
Notifications
You must be signed in to change notification settings - Fork 133
Open
Labels
Description
Pending
Description
We have ended up with two different designs for pages that index collections with a filter. We would like to unify them in one design by changing the design of /staff/pets to match the others.
Some notable differences:
manage_fostersdesign puts the content in a bootstrapcontainerclass which is limiting how wide it will expand.petsexpands to full viewport width no matter how large screen width gets.manage_fostersdesign places the filter content in a white rounded rectanglemanage_fostersdesktop design places the buttons below the inputs whilepetsspreads them away from inputs.manage_fostersdesign has inputs equal width and they expand to container width.petsthey have fixed widths for form inputs, and they wrap.
The tables themselves are also different, but in these cases that is intentional, and I think they can remain unchanged for now.
One thing that is nice that we want to keep is:
- "Search" button and "clear filters" for mobile views in
petsdesign expand full width.
Let's go ahead and apply that button styling to manage_fosters index and adopter_applications_review index.
If there are any differences that are unclear to you, please feel free to ask for clarification here or on slack.
Acceptance Criteria
- Refactor
app/views/organizations/staff/pets/index.html.erbto match theapp/views/organizations/staff/manage_fosters/index.html.erblayout - Apply mobile button sizing of search button and clear filter to:
-
app/views/organizations/staff/manage_fosters/index.html.erb -
app/views/organizations/staff/adoption_application_reviews/index.html.erb
-