Commit graph

93 commits

Author SHA1 Message Date
Mouse Reeve
b23f6afa6c Adds context to curation type "open" 2021-10-06 16:24:23 -07:00
Mouse Reeve
0f57a43bfb Separate access controls for delete and re-order 2021-09-27 13:31:35 -07:00
Mouse Reeve
10098a402d Don't show list item controls to contributing viewers 2021-09-27 13:25:53 -07:00
Mouse Reeve
a304333acf Don't show delete button in create list form 2021-09-20 14:25:11 -07:00
Mouse Reeve
d212cbfd3c Adds new template 2021-09-06 11:54:53 -07:00
Mouse Reeve
1e037d20a4 Adds delete button to list 2021-09-06 10:03:00 -07:00
Mouse Reeve
eb67c4730f Renames list layout file 2021-09-06 09:48:57 -07:00
Mouse Reeve
2ec01803e0 Fixes error for logged out user viewing lists 2021-08-24 14:16:22 -07:00
Mouse Reeve
d59ac297bb Indicate if a list is saved on the lists tile view 2021-08-23 15:54:20 -07:00
Mouse Reeve
f267e53b56 let's call it save not bookmark 2021-08-23 15:07:38 -07:00
Mouse Reeve
a30094c822 View bookmarked lists 2021-08-23 13:40:07 -07:00
Mouse Reeve
42abc145c8 Adds action views 2021-08-23 13:15:35 -07:00
Mouse Reeve
135fcbd269 Adds button to template 2021-08-23 13:02:27 -07:00
Mouse Reeve
45e82abda4
Merge branch 'main' into images-django-imagekit 2021-08-11 12:47:25 -06:00
Mouse Reeve
21a954c7df Always use underscores in html ids
Plus some other shifting around
2021-08-08 19:44:12 -07:00
Joachim
e251b687dc Merge remote-tracking branch 'upstream/main' into images-django-imagekit 2021-06-19 19:32:56 +02:00
Mouse Reeve
7775d943d4 Fixes list link to user profile 2021-06-18 12:11:07 -07:00
Joachim
36f447210a Specify sizes on all templates 2021-05-24 16:18:05 +02:00
Joachim
354b511089 Fix flex styles 2021-05-23 17:18:16 +02:00
Joachim
1aa319d6ee Move description text below header 2021-05-23 17:17:46 +02:00
Joachim
cf7cbfdf8f Fix title styles 2021-05-23 17:17:30 +02:00
Joachim
9eb719106f Fix display bug 2021-05-23 17:17:02 +02:00
Joachim
251c8bbd08 Merge remote-tracking branch 'upstream/main' into list-style-fixes 2021-05-23 15:14:50 +02:00
Mouse Reeve
0bddad259b
Merge pull request #1095 from bookwyrm-social/display-fixes
Display fixes
2021-05-18 11:46:28 -07:00
Mouse Reeve
8b14f8585e Small fixes for list display 2021-05-18 10:55:05 -07:00
Mouse Reeve
5cd5a6107f Show text with buttons in most places 2021-05-18 10:45:51 -07:00
Mouse Reeve
ac2b63d0cd More templatetag files 2021-05-11 15:14:42 -07:00
Joachim
1f747e4f68
Merge branch 'main' into list-style-fixes 2021-05-05 16:06:48 +02:00
Joachim
4c021e6357 Add Mobile styles 2021-05-02 21:34:43 +02:00
Mouse Reeve
01f2d80cbd Show book descriptions in list items 2021-04-30 13:21:19 -07:00
Joachim
0a71fb094f Move counter in Ordered List 2021-04-29 21:41:43 +02:00
Joachim
b59b3e294f Arrange Sort List form fields 2021-04-29 21:41:31 +02:00
Joachim
daa7746f47 Stretch List card in list of lists 2021-04-29 21:40:54 +02: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