Commit graph

42 commits

Author SHA1 Message Date
Joachim f206f61e9a Use global switch to enable/disable preview images 2021-05-28 17:00:07 +02:00
Joachim f848dcd756 Fix issue with protocol 2021-05-26 18:20:22 +02:00
Joachim e362c82495 Expose static & media paths 2021-05-26 17:54:59 +02:00
Joachim 7ea3153026 Fix site_path tag 2021-05-26 16:57:28 +02:00
Joachim e5e549d125 Add opengraph image depending on context 2021-05-26 14:44:15 +02:00
Mouse Reeve f058aa8f1d Uses correct filter for book title 2021-05-24 06:54:43 -07:00
Mouse Reeve 9285f483c2 Query tweaks for book page 2021-05-22 20:14:57 -07:00
Mouse Reeve 49916a7498 Sorting for announcement headers and pagination 2021-05-20 09:43:29 -07: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 58a059c85f Fixes display of user ratings 2021-05-18 11:17:59 -07:00
Mouse Reeve 07d59c8c09 Don't show ratings below user statuses 2021-05-18 11:09:19 -07:00
Mouse Reeve 5cd5a6107f Show text with buttons in most places 2021-05-18 10:45:51 -07:00
Mouse Reeve 7dccce6b1f Adds keyboard focus to add readthrough form 2021-05-18 09:59:40 -07:00
Mouse Reeve ac2b63d0cd More templatetag files 2021-05-11 15:14:42 -07:00
Mouse Reeve 3f4807a345 Revert "Adds datepicker script dependencies to templates"
This reverts commit 33ca7b4b76.
2021-05-10 14:56:43 -07:00
Mouse Reeve 33ca7b4b76 Adds datepicker script dependencies to templates 2021-05-04 08:54:53 -07:00
Mouse Reeve 900e7feb1b Moved reviews into center column on books page 2021-04-30 12:06:21 -07:00
Mouse Reeve 57454afa42 Creates visual separation between reading activity and reviews 2021-04-30 12:02:19 -07:00
Mouse Reeve 0d7ffbc175 Hide user status tabs when there are none 2021-04-30 11:34:59 -07:00
Fabien Basmaison bcafc1bc6a Merge branch 'main' into frontend-book-cover 2021-04-30 09:54:42 +02:00
Mouse Reeve d1b788b61f Adds inventaire link to book page 2021-04-29 11:14:20 -07: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 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 30bed6c963 Merge branch 'main' into frontend-book-cover 2021-04-26 11:35:10 +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
Mouse Reeve 126594ec49 Cleans up queryset declarations 2021-04-23 13:47:13 -07:00
Mouse Reeve 888930f891 User request path for pagination 2021-04-23 13:35:12 -07:00
Mouse Reeve d2b2065db8 Show user's book content 2021-04-23 13:32:58 -07:00
Fabien Basmaison 66c72c8b41 Add book identifiers to list of Editions:
- Add template for identifiers.
- Remove `space-between` that adds too much space on narrow views.
- Apply the `content` class only on publisher infos to avoid applying automatic styles to the description list.
2021-04-18 15:59:02 +02:00
Fabien Basmaison ec2b4e533e Merge branch 'main' into frontend 2021-04-10 19:57:23 +02:00
Fabien Basmaison 4c4801e2da Add structured data to Book (#84). 2021-04-09 23:57:49 +02:00
Fabien Basmaison f77088b964 [assets] Remove redundant class already provided by bulma:
Replace all classes `hidden` with `is-hidden` in templates, CSS and JS.
2021-04-07 17:31:00 +02:00
Fabien Basmaison cbed5e331b [assets] Move some frontend assets to _vendor_ directories:
This simplifies linting of files we have no grasp on, and clarifies responsibilities.

- Add .eslintignore.
- Restrict linting to bookwyrm/static.
2021-04-05 16:17:11 +02:00
Mouse Reeve f2f700c7b8 Adds error messaging for invalid cover urls 2021-03-31 15:39:28 -07:00
Mouse Reeve 1a787fd218 Soft removal of tags feature 2021-03-31 11:11:15 -07:00
Mouse Reeve 7c9518afa6 Adds info to editions page 2021-03-29 10:21:48 -07:00
Mouse Reeve 63b319e286 Space between shelve button and isbn on book page 2021-03-28 11:27:09 -07:00
Mouse Reeve 323c72002b Fixes shelve menu display on book page 2021-03-28 11:18:01 -07:00
Mouse Reeve e513ea8b9c Adds javascript for tabs on book page 2021-03-22 12:37:01 -07:00
Mouse Reeve ae6d8529af Moves add cover into modal 2021-03-18 09:44:59 -07:00
Mouse Reeve 4e55018e41 Moves book templates into dir 2021-03-18 09:37:16 -07:00
Renamed from bookwyrm/templates/book.html (Browse further)