Commit graph

62 commits

Author SHA1 Message Date
Mouse Reeve
ac2b63d0cd More templatetag files 2021-05-11 15:14:42 -07:00
Mouse Reeve
01f2d80cbd Show book descriptions in list items 2021-04-30 13:21:19 -07:00
Fabien Basmaison
b0f414570b cover: Fix code that was reverted during a merge conflict. 2021-04-28 15:42:22 +02:00
Fabien Basmaison
baaaeef4c0 cover: Fix little details. 2021-04-28 10:47:14 +02:00
Fabien Basmaison
8ddc292ee6 cover: Change the logic again:
- Work on feeds.
- Add `.is-cover` to modify the behaviours of columns.
- Only apply logic for dimensions on the cover container; too many contextual side effects otherwise.
- Add classes to dimension and align, including auto margins for flex.
- Rename classes in templates accordingly.
2021-04-27 16:24:20 +02:00
Fabien Basmaison
56d821970a Merge branch 'main' into frontend-book-cover 2021-04-27 09:16:10 +02:00
Mouse Reeve
7fcf48e84d Adds success notification for adding books to lists 2021-04-26 09:57:01 -07:00
Mouse Reeve
0cb80aeb55 Preserve search results after adding a book 2021-04-26 07:24:03 -07:00
Fabien Basmaison
26cacf502c Rationalise behaviours of context, container and cover:
- Set minimum dimensions to avoid having to pass classes all over the place.
- Outline the container to show white on white covers properly.
- Remove extraneous code.
- Better size caption when no cover is available.
- Create Alignments, Positions and Spacings sections and move some existing dimensions.
- Update previous templates.
2021-04-26 13:39:17 +02:00
Fabien Basmaison
953dff90bb cover: tweak styles:
- `optimizeQuality` > `smooth` (CSS language evolution)
- Use `auto` instead of a fixed width.
- Add exceptions for heights and apply them to some previously modified templates.
- Remove `is-large` exception.
- Widen the content column on list curation.
2021-04-25 15:37:46 +02:00
Fabien Basmaison
eea8b4e750 cover: Handle covers with specific heights:
- Have an explicit contextual class on `cover-container`.
- Use more flexible, consistent and searchable variable name for passing classes to covers.
- Consistently use `'…'` with django variables.
- Give the option to not hide covers to screen readers.
- consitently give a title to the cover container if `alt_text` exists.
- [lists] Remove `.content` which is applying too extensive default styles.
2021-04-24 21:27:05 +02:00
Fabien Basmaison
783cc6edf0 cover: List curation:
- Reduce Padding around covers.
- Remove `content` which is applying too extensive default styles.
- Style headings.
- Replace table with definition list.
- Clip cover container to avoid caption overflowing.
2021-04-24 15:49:30 +02:00
Fabien Basmaison
75a69988e4 cover: List:
- Reduce Padding around covers.
- Remove `content` which is applying too extensive default styles.
2021-04-24 14:24:25 +02:00
Mouse Reeve
d47bbde651 Only one row of footer on list items 2021-04-20 13:02:43 -07:00
Pablo Barton
fa75438070 per review, removing custom pagination for booklist and handling all pending books at the end of the list 2021-04-18 14:46:28 -04:00
Pablo Barton
9031184176 addressing some review 2021-04-17 21:31:38 -04:00
Pablo Barton
f6824268ed 584 sorting of lists 2021-04-16 22:17:15 -04:00
Joachim
74573b5355
Restrict list creation form to authenticated users
When visiting the `/list` route on an instance while unauthenticated, the button to toggle the List creation form is shown. This PR aims to hide the button to unauthenticated visitors.
2021-04-14 20:07:51 +02:00
Fabien Basmaison
125915f1b3 [l10n] Add missing i18n string to template. 2021-04-05 12:53:20 +02:00
Mouse Reeve
9b949d9845 Merges display of lists to show all
Rather than separating out "your lists"
2021-03-30 10:19:51 -07:00
Mouse Reeve
f0711ad40e Fixes margins on lists 2021-03-16 14:13:42 -07:00
Mouse Reeve
f0a936f15e Add books to lists from the book page 2021-03-15 14:44:03 -07:00
Mouse Reeve
0bd27928e4 Removes username snippet 2021-03-07 10:24:46 -08:00
Mouse Reeve
27914d07b9 Missing translation strings on book and list pages 2021-03-02 10:23:11 -08:00
Mouse Reeve
01df4ad321 Small fixes for translation 2021-03-02 09:25:45 -08:00
Mouse Reeve
bd44bf0980 Merge branch 'main' into i18n-second-pass 2021-02-28 17:22:25 -08:00
Mouse Reeve
6a18803417 Catches more template translation moments 2021-02-28 17:10:30 -08:00
Mouse Reeve
c483768544 Moves titles into templates and adds i18n support 2021-02-28 10:00:36 -08:00
Mouse Reeve
4f76d21b85 Snags more strings for i18n 2021-02-27 18:48:10 -08:00
Mouse Reeve
152107a9af
Merge pull request #637 from mouse-reeve/mobile-header-buttons
Fixes header wrap on mobile headers
2021-02-23 13:25:17 -08:00
Mouse Reeve
8a3d1a0bf2 Fixes header wrap on mobile headers 2021-02-23 13:04:24 -08:00
Mouse Reeve
d1a21b851a Maintain list columns in mobile 2021-02-23 12:46:41 -08:00
Mouse Reeve
03dddaa064 Fixes list display 2021-02-12 09:58:57 -08:00
Mouse Reeve
11504e9cef Makes covers clickable in places they aren't
Fixes #598
2021-02-10 16:45:53 -08:00
Mouse Reeve
8842db3c1b Create notification when adding or suggesting a book to a list 2021-02-10 13:46:56 -08:00
Mouse Reeve
7381536ad6 circular import issues and added_by migration 2021-02-04 14:27:26 -08:00
Mouse Reeve
ae0034e678 Fixes mismatched html tags 2021-02-03 18:09:07 -08:00
Mouse Reeve
3f2f27bcac Fixes logged out list view 2021-02-03 16:40:29 -08:00
Mouse Reeve
39d31060e1 Sort list preview by most recently added 2021-02-03 16:11:42 -08:00
Mouse Reeve
6ce4be7406 Adds inline form component 2021-02-03 12:25:33 -08:00
Mouse Reeve
627b2ae90a Set header when opening forms 2021-02-02 15:46:58 -08:00
Mouse Reeve
ec7a9f68c2 Adds tabs to user profile page 2021-02-01 11:34:08 -08:00
Mouse Reeve
d7c32cc314 Paginates lists view 2021-01-31 17:34:06 -08:00
Mouse Reeve
6e0d258c97 Cards on list page 2021-01-31 14:03:51 -08:00
Mouse Reeve
fd9b98d443 Fixes logged out list view 2021-01-31 13:38:26 -08:00
Mouse Reeve
944503dde5 Use close button instead of cancel button on edit form 2021-01-31 12:36:53 -08:00
Mouse Reeve
697bcb0edb sidebar css class 2021-01-31 12:31:39 -08:00
Mouse Reeve
6824bdd5ed Fixes shelve menu display 2021-01-31 12:30:33 -08:00
Mouse Reeve
b17761cfc3 remove items from list 2021-01-31 12:15:38 -08:00
Mouse Reeve
13b38d40bb Curation view 2021-01-31 12:07:54 -08:00