Commit graph

35 commits

Author SHA1 Message Date
Mouse Reeve
1e5a8dc3db Create subdirectories for book view templates 2021-09-29 13:21:11 -07:00
Mouse Reeve
f0e31f730a Moves form into snippet and adds boxes around sections 2021-09-29 13:18:27 -07:00
Mouse Reeve
2d13fd0a1c Merge branch 'main' into add-edit-book 2021-09-29 12:53:46 -07:00
Mouse Reeve
4747bb2156 Hide cover preview column if cover is unset 2021-09-29 11:36:35 -07:00
Mouse Reeve
2f93e6d723 Merge branch 'main' into book-format-choices 2021-09-29 11:33:06 -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
8a748fa675 Adds format fields to edit book view 2021-09-07 12:49:28 -07:00
Mouse Reeve
6f8ca302e5 Clearer form logic in edit book page 2021-08-21 11:38:57 -07:00
Joachim
d105ae9c78 Merge remote-tracking branch 'upstream/main' into images-django-imagekit 2021-06-07 19:53:11 +02:00
Joachim
7d1e4aebbc Better forms 2021-06-02 18:17:53 +02:00
Joachim
36f447210a Specify sizes on all templates 2021-05-24 16:18:05 +02: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
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
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
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
7012f95d6d Use input instead of textarea for series 2021-04-20 13:07:55 -07:00
Mouse Reeve
27664e323a Fixes edit book form throwing error on empty dates 2021-04-08 16:08:35 -07: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
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
Mouse Reeve
3ffe8a2ffb Uses date input type for publication date fields 2021-04-03 12:10:21 -07:00
Mouse Reeve
e92a506e61 Upload cover via url form edit book view 2021-03-19 10:29:34 -07:00
Mouse Reeve
4e55018e41 Moves book templates into dir 2021-03-18 09:37:16 -07:00
Renamed from bookwyrm/templates/edit_book.html (Browse further)