Mouse Reeve
2f93e6d723
Merge branch 'main' into book-format-choices
2021-09-29 11:33:06 -07:00
Mouse Reeve
bc87856c2e
Merge branch 'main' into book-format-choices
2021-09-27 10:29:12 -07:00
Levi Bard
0e6895633c
Allow adding a cover by url when adding a new book ( #1443 )
2021-09-27 13:00:16 +02:00
Mouse Reeve
a4e6f610cd
Adds javascript cache value to templates
2021-09-10 10:57:16 -07:00
Mouse Reeve
8a748fa675
Adds format fields to edit book view
2021-09-07 12:49:28 -07:00
Mouse Reeve
a236163e67
Small cleanup
2021-09-02 09:12:56 -07:00
Mouse Reeve
3d394f96bf
Fixes testing if authors are present
2021-09-02 08:49:50 -07:00
Mouse Reeve
6f8ca302e5
Clearer form logic in edit book page
2021-08-21 11:38:57 -07:00
Mouse Reeve
270571668d
adds space between attributes on book page
2021-08-21 11:05:38 -07:00
Mouse Reeve
be94c0a76b
Remove stray </dl> tag
2021-08-21 10:30:15 -07:00
Mouse Reeve
0829696add
Merge pull request #1138 from joachimesque/images-django-imagekit
...
Generate thumnails for books
2021-08-18 19:53:12 -06:00
Mouse Reeve
3b54852536
Adds search filter to UI
2021-08-17 10:44:18 -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
Mouse Reeve
af34dc6520
Merge branch 'main' into images-django-imagekit
2021-08-02 13:43:59 -06:00
Joachim
78aa31afd5
Merge remote-tracking branch 'upstream/main' into storage-s3
2021-08-01 11:38:32 +02:00
Mouse Reeve
3f15e4410e
Fixes link to edit book
2021-07-12 16:17:20 -07:00
Mouse Reeve
fede777e9b
Hide deleted status counts from book page
2021-07-07 09:37:21 -07:00
Joachim
e251b687dc
Merge remote-tracking branch 'upstream/main' into images-django-imagekit
2021-06-19 19:32:56 +02:00
Joachim
d862be0564
Merge remote-tracking branch 'upstream/main' into storage-s3
2021-06-19 11:53:05 +02:00
Mouse Reeve
973b23856c
Merge branch 'main' into opengraph-image-generation
2021-06-17 15:17:54 -07:00
Fabien Basmaison
cc03460e00
Avoid space within parenthesises for series when no number is provided.
2021-06-17 17:18:55 +02:00
Fabien Basmaison
7f01dcf3b9
Merge branch 'main' into frontend/subtitle
2021-06-17 17:12:23 +02:00
Mouse Reeve
c4f7f34ad4
Fixes edit readthrough toggle display
2021-06-14 16:04:58 -07:00
Mouse Reeve
a82bf99bd6
Icon-only link display on mobile for text links
2021-06-14 15:55:26 -07:00
Mouse Reeve
fe2309f0bc
Fixes orientation of edition want to read menu
2021-06-14 15:45:39 -07:00
Mouse Reeve
6e6354bcce
Fixes trailing space in series text
...
Fixes #1145
2021-06-14 12:34:11 -07:00
Fabien Basmaison
17635b47db
Fix case where there is no subtitle.
...
Consequentially change back author to being a subtitle.
2021-06-11 09:41:55 +02:00
Fabien Basmaison
f58c1d1138
Tweak styles for subtitle:
...
- Make it bold as the title while preserving consistency with other subtitles.
- Pull the author closer to the subtitle to preserve a descending visual and typographic scales.
2021-06-09 12:20:34 +02:00
Fabien Basmaison
5047b8bf94
Do not break document structure with ratings.
2021-06-09 11:12:38 +02:00
Fabien Basmaison
b9562e44e3
Merge branch 'main' into frontend/subtitle
2021-06-09 10:14:34 +02:00
Joachim
d105ae9c78
Merge remote-tracking branch 'upstream/main' into images-django-imagekit
2021-06-07 19:53:11 +02:00
Joachim
b448d40514
Use the right snippets on Templates
2021-06-07 18:13:24 +02:00
Mouse Reeve
bbbae9fc9d
Merge branch 'main' into images-django-imagekit
2021-06-05 11:46:57 -07:00
Joachim
7d1e4aebbc
Better forms
2021-06-02 18:17:53 +02: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
e5e549d125
Add opengraph image depending on context
2021-05-26 14:44:15 +02:00
Fabien Basmaison
c894f5ef35
Update subtitle behaviour:
...
- on Book
- Remove problematic punctuation (locale and multiple punctuation if the title ends with `?`, `!` or similar).
- Update view.
- Use proper semantic to split combined title into `name`, `alternativeHeadline` and series-related microdata.
- The author is not a subtitle, just data.
- Use parenthesis in the `get_title` filter instead of punctuation.
2021-05-26 13:21:06 +02:00
Joachim
36f447210a
Specify sizes on all templates
2021-05-24 16:18:05 +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
d39374f13c
Fixes editions page
2021-05-20 18:41:36 -07:00
Mouse Reeve
a415991e96
Fixes clashing filter names in templates
2021-05-20 11:56:26 -07:00
Mouse Reeve
49916a7498
Sorting for announcement headers and pagination
2021-05-20 09:43:29 -07:00
Mouse Reeve
3d70a36d86
Editable announcement
2021-05-20 09:28:39 -07:00
Mouse Reeve
d64e0c4aa8
Adds admin view for individual announcement
2021-05-20 08:09:35 -07:00
Mouse Reeve
8fc0da8dc2
Adds inventaire ID field to edit book form
2021-05-18 16:10:43 -07:00
Mouse Reeve
6fff45d36c
Adds language field to edit book form
2021-05-18 15:56:11 -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
443109bac3
Adds aliases and inventaire id to edit author form
...
Plus consolidates some wording
2021-05-10 17:06:22 -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
485f4b7eba
Revert "Replaces date elements with datepicker"
...
This reverts commit 869cfa6d34
.
2021-05-10 14:56:33 -07:00
Mouse Reeve
dcde3ded95
Merge pull request #1049 from bookwyrm-social/datepicker
...
Datepicker
2021-05-05 07:00:07 -07:00
Mouse Reeve
748810cd41
Use reverse lookups for urls
2021-05-04 09:34:16 -07:00
Mouse Reeve
869cfa6d34
Replaces date elements with datepicker
2021-05-04 09:04:21 -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
5c8710c1c4
cover: Add removed link on Editions.
2021-04-28 15:08:58 +02:00
Fabien Basmaison
baaaeef4c0
cover: Fix little details.
2021-04-28 10:47:14 +02:00
Fabien Basmaison
d936417ddb
cover: Update /book/ID/edit.
2021-04-27 20:44:06 +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
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
Mouse Reeve
92bd5ab291
Merge pull request #970 from bookwyrm-social/display-fixes
...
Display fixes
2021-04-20 13:59:32 -07:00
Mouse Reeve
7012f95d6d
Use input instead of textarea for series
2021-04-20 13:07:55 -07:00
Mouse Reeve
6a50c021ce
Try naturalday for published date
2021-04-19 16:30:15 -07:00
Mouse Reeve
70a819951e
Fixes localization weirdness with dates
2021-04-19 16:18:29 -07:00
Fabien Basmaison
415d6c4e3f
Remove spacing between publisher info blocks.
2021-04-18 18:24:32 +02: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
37e48988b1
Don’t use linebreak in DTL block comments. (might break the linter on the length of line)
2021-04-10 00:07:01 +02:00
Fabien Basmaison
4c4801e2da
Add structured data to Book ( #84 ).
2021-04-09 23:57:49 +02:00
Fabien Basmaison
4bfae00e3c
Merge branch 'main' into frontend
2021-04-09 07:51:32 +02:00
Mouse Reeve
27664e323a
Fixes edit book form throwing error on empty dates
2021-04-08 16:08:35 -07:00
Fabien Basmaison
ad3e91db7d
Merge branch 'main' into frontend
2021-04-08 09:53:01 +02:00
Mouse Reeve
89af144105
Avoid showing "None" for title and subtitle fields
2021-04-07 18:38:26 -07:00
Mouse Reeve
9658123dd7
Merge pull request #893 from void-witch/fix-date
...
fix the book edit confirmation template dropping initial data for dates
2021-04-07 18:36:15 -07:00
Mouse Reeve
45006afdf3
Remove character limit on some book fields
2021-04-07 08:50:50 -07: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
n2no1
0941c50c69
ensure that the book edit confirmation receives initial date data as a datetime
2021-04-06 20:46:18 -04:00
n2no1
502f29082c
check the form for initial date values if the book has none
2021-04-06 19:57:57 -04: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
3ffe8a2ffb
Uses date input type for publication date fields
2021-04-03 12:10:21 -07: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
04ca6de968
Paginates editions page
2021-03-29 12:13:05 -07:00
Mouse Reeve
f8a321c74d
Fixes labels
...
Good bot
2021-03-29 11:16:34 -07:00
Mouse Reeve
9c798a4feb
Filter editions
2021-03-29 11:14:34 -07:00
Mouse Reeve
769ba6466c
Adds filters ui to editions page
2021-03-29 10:58:46 -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
e92a506e61
Upload cover via url form edit book view
2021-03-19 10:29:34 -07:00
Mouse Reeve
9470b2831f
Add cover via url
2021-03-18 10:04:33 -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