Commit graph

86 commits

Author SHA1 Message Date
Kylie d75f33cfb2 Apply preserve-whitespace to profile summaries 2021-07-31 13:16:47 -04:00
Joel Bradshaw eadf5cf410 Use shelved date for display
I'm not sure if there's a better way to access this field, accessing via
book.shelfbook__shelved_date in the template didn't seem to work
2021-07-13 21:26:38 -07:00
Mouse Reeve 973b23856c
Merge branch 'main' into opengraph-image-generation 2021-06-17 15:17:54 -07:00
Mouse Reeve a82bf99bd6 Icon-only link display on mobile for text links 2021-06-14 15:55:26 -07:00
Mouse Reeve 2a606eec3e scroll horizontally on user page shelf preview 2021-06-14 15:27:37 -07:00
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 22c13f639c Update layout.html 2021-05-26 15:18:35 +02:00
Joachim e5e549d125 Add opengraph image depending on context 2021-05-26 14:44:15 +02:00
Mouse Reeve 9f789cd5d4
Merge branch 'main' into top-bar 2021-05-18 11:39:36 -07:00
Mouse Reeve 5cd5a6107f Show text with buttons in most places 2021-05-18 10:45:51 -07:00
Mouse Reeve 865faf6714 Fixes tests 2021-05-11 15:52:41 -07:00
Mouse Reeve ac2b63d0cd More templatetag files 2021-05-11 15:14:42 -07:00
Mouse Reeve 63172ecf00 Fixes ratings on shelf pages 2021-05-11 13:54:38 -07:00
Mouse Reeve 202c43f610 Adds import option to books page 2021-05-10 16:13:17 -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 f55ded092c Fixes link on follow pages 2021-04-30 16:44:14 -07:00
Mouse Reeve b8711c820f
Merge pull request #1027 from arkhi/frontend-book-cover
Fix lists layout for user
2021-04-30 13:59:05 -07:00
Fabien Basmaison 544e29fe76 Fix lists layout for user. 2021-04-30 22:44:53 +02:00
Mouse Reeve a502a0c51d
Merge branch 'main' into following-display 2021-04-30 13:40:01 -07:00
Mouse Reeve 974de9e4c2 Removes set goal link from user page
It's already in the tabs
2021-04-30 11:47:28 -07:00
Mouse Reeve b8fc4f99a3 Don't calculate mutuals for logged out users 2021-04-30 11:11:18 -07:00
Mouse Reeve 62884c6111 Show mutual counts instead of totals for other users 2021-04-30 09:50:11 -07:00
Mouse Reeve b65d0d05c9 Tabs for relationship views 2021-04-30 09:23:59 -07:00
Mouse Reeve 418e656aea Uses layout for followers/following page 2021-04-30 09:17:46 -07:00
Mouse Reeve e4cecf2874 Coherent logic on which tabs show in the user page 2021-04-30 09:02:14 -07:00
Mouse Reeve 862ef83536 Move user templates into more subdirectories 2021-04-30 08:47:04 -07:00
Mouse Reeve d2355fef96 Consistent display on followers/following pages 2021-04-30 08:23:02 -07:00
Fabien Basmaison 30b273f193 cover: Update shelf (/user/arkhi/books/to-read, etc.) 2021-04-27 21:35:05 +02:00
Fabien Basmaison 182c18fe54 cover: Update /user/USERNAME. 2021-04-27 20:53:30 +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 786cf4fb97 Paginate followers/following pages 2021-04-26 10:26:49 -07: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
Joachim 482774f1e1 Add mobile styles for book preview table 2021-04-21 21:25:37 +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
Mouse Reeve 97192d3296 Changes orientation of move book menu on shelf page 2021-04-01 19:33:46 -07:00
Mouse Reeve c7863ec8f0 Fixes re-shelving books from all books view 2021-03-31 15:00:49 -07:00
Mouse Reeve ad2b938b4c Removes edit button from all books view 2021-03-31 10:36:10 -07:00
Mouse Reeve a670c8d366 Adds "all books" view" 2021-03-31 10:25:15 -07:00
Mouse Reeve e81de08e7f Missed a url 2021-03-31 09:54:52 -07:00
Mouse Reeve ab78da735f Adds books page header snippet 2021-03-31 09:50:40 -07:00
Mouse Reeve f8ce9b0956 Backwards compatibility with "shelf" urls 2021-03-31 09:50:16 -07:00
Mouse Reeve 4a490d25a8 CHanges urls from shelves to books 2021-03-31 09:34:16 -07:00
Mouse Reeve 83e4ec00f9 Renames "shelves" in the UI to "books"
Still haven't figure out the create/edit wording tho
2021-03-31 09:22:23 -07:00