Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

"Card" inconsistency in biblio display #45

Closed
mrenvoize opened this issue Sep 14, 2022 · 11 comments
Closed

"Card" inconsistency in biblio display #45

mrenvoize opened this issue Sep 14, 2022 · 11 comments
Assignees
Labels
status: needs testing A patch is available and needs to be tested type: bug Something isn't working

Comments

@mrenvoize
Copy link
Contributor

With the addition of a card layout to the Patron module pages, I think for consistency it would be nice to add such cards to Biblio details pages too..

screenshot-staff-gui sandboxes biblibre eu-2022 09 14-14_49_09

vs

screenshot-staff-gui sandboxes biblibre eu-2022 09 14-14_51_51

@mrenvoize
Copy link
Contributor Author

This is perhaps another one out of scope of the initial styling work.. however I thought it worth mentioning as it may be the right time to consider it.. right now it appears we're using a 'patroninfo-section' class for styling this on the patron pages.. maybe a more generic 'info-section' or something class would be beneficial to use more globally?

Happy to open this as a distinct bug to track the markup change it may require as a separate piece of work though.. let me know if you think that's more appropriate.

@kfischer
Copy link
Contributor

Not sure what is meant by adding the 'cards' on the detail page and what this would look like. What do you think about #48?

@mrenvoize
Copy link
Contributor Author

By 'Card' I mean 'box' around each content area on the page with a white background... so in the above images the 'Contact information' stuff is all in a 'Card'.. I could envisage the biblio details stuff all being in their own 'Card' too for consistency.

@kfischer
Copy link
Contributor

So should the main content always appear in a card?

@mrenvoize
Copy link
Contributor Author

So should the main content always appear in a card?

Card or Cards in my opinion.. it gives a nice clear distinction for 'sections' of the page.

@kfischer
Copy link
Contributor

I am not sure really how well that would work really, where is lots more page where this might play a role then.

jajm added a commit that referenced this issue Sep 27, 2022
@jajm
Copy link
Owner

jajm commented Sep 27, 2022

I added a CSS class page-section that can be reused everywhere it's needed. I didn't use the word 'card' because it would conflict with Bootstrap 4 cards (in case of upgrade)

image

@jajm jajm self-assigned this Sep 27, 2022
@jajm jajm added type: bug Something isn't working status: needs testing A patch is available and needs to be tested labels Sep 27, 2022
@mrenvoize
Copy link
Contributor Author

Thanks @jajm, I think this brings us a step closer... I think I'd keep the overall page heading outside of the page-section div for consistency.. but that's an easy follow-up I'd be happy to submit later.

@jajm
Copy link
Owner

jajm commented Oct 3, 2022

Thanks @jajm, I think this brings us a step closer... I think I'd keep the overall page heading outside of the page-section div for consistency.. but that's an easy follow-up I'd be happy to submit later.

I'm not sure if it can be done, as the title is part of the result of XSLT processing.

@mrenvoize
Copy link
Contributor Author

Thanks @jajm, I think this brings us a step closer... I think I'd keep the overall page heading outside of the page-section div for consistency.. but that's an easy follow-up I'd be happy to submit later.

I'm not sure if it can be done, as the title is part of the result of XSLT processing.

Good point.. I hadn't realized that.. Certainly not one to try to do as part of this bug.

jajm added a commit that referenced this issue Oct 12, 2022
@mrenvoize
Copy link
Contributor Author

Closing

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: needs testing A patch is available and needs to be tested type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants