Commit graph

99 commits

Author SHA1 Message Date
Mouse Reeve
ac2b63d0cd More templatetag files 2021-05-11 15:14:42 -07:00
Mouse Reeve
58da17d694 Use smaller templatetag modules 2021-05-11 14:41:28 -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
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
33ca7b4b76 Adds datepicker script dependencies to templates 2021-05-04 08:54:53 -07:00
Mouse Reeve
ad8666ebec Removes extra "content" field in status editor that broke dms 2021-05-01 07:20:54 -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
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
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
dae31459e4 Show correct book when url param is provided 2021-04-03 13:56:41 -07:00
Mouse Reeve
34a32032c9 Align suggested users when there are fewer than 5 2021-04-01 20:01:09 -07:00
Mouse Reeve
13e153412e Adds profile and user get started views 2021-03-31 14:53:15 -07:00
Mouse Reeve
3be420944e Fixes display of dms pagination 2021-03-29 13:51:06 -07:00
Mouse Reeve
0ef33d2acb Adds shared books as a metric for recommending follows 2021-03-27 07:36:14 -07:00
Mouse Reeve
b0e1095fe6 Adds "suggested follows" panel 2021-03-26 10:32:42 -07:00
Mouse Reeve
8d5630e059 Adds css transitions to notification and unread statuses 2021-03-23 17:52:58 -07:00
Mouse Reeve
9e9fd5c5a6 Only show feed additions on the first page 2021-03-23 12:54:49 -07:00
Mouse Reeve
2acf1355e9 Merge branch 'main' into redis-activity-stream 2021-03-23 12:53:12 -07:00
Mouse Reeve
b8cd1d5bce Show unread status reload link 2021-03-23 12:52:38 -07:00
Mouse Reeve
2fe9d1044a Moves tab title translations into templates 2021-03-22 18:42:12 -07:00
Mouse Reeve
5890386fba Only show reading goal insert on first page of feed 2021-03-22 08:50:41 -07:00
Mouse Reeve
942c4a6664 Move progress updates into modal 2021-03-20 17:18:18 -07:00
Mouse Reeve
443daab128 Move tabs javascript into separate file 2021-03-19 10:47:32 -07:00
Mouse Reeve
77f11572f3 Remove invalid aria tag
thank you, bot
2021-03-18 09:08:19 -07:00
Mouse Reeve
9a20b5dbd5 Hide goal using database field instead of localstorage 2021-03-18 09:00:25 -07:00
erion
cb8ec01ccf Indicate which page is the current. 2021-03-07 13:55:50 +01:00
erion
09c5275ec4 Fix typo. 2021-03-07 13:18:10 +01:00
Mouse Reeve
2c37893790 Adds default shelf names translations 2021-03-02 10:32:46 -08:00
Mouse Reeve
5938c438e2 Translate table titles in header 2021-03-02 09:59:15 -08:00
Mouse Reeve
bd44bf0980 Merge branch 'main' into i18n-second-pass 2021-02-28 17:22:25 -08:00
Mouse Reeve
6a18803417 Catches more template translation moments 2021-02-28 17:10:30 -08:00
Mouse Reeve
10130f01d4
Merge pull request #662 from mouse-reeve/titles
Puts titles in templates instead of views
2021-02-28 16:15:39 -08:00
Mouse Reeve
3e9ee0973b cleans up i18n titles 2021-02-28 10:09:56 -08:00
Ned Zimmerman
263b13f157 Adapt tab handler to vanilla JS, fix focus jump, improve accessible naming of tabs/panels 2021-02-28 14:04:04 -04:00
Mouse Reeve
c483768544 Moves titles into templates and adds i18n support 2021-02-28 10:00:36 -08:00
Mouse Reeve
c4116c93b7 Merge branch 'main' into titles 2021-02-28 09:02:21 -08:00
Ned Zimmerman
b324e668ca Merge branch 'upstream' into tab-keyboard-accessibility 2021-02-28 12:39:56 -04:00
Mouse Reeve
4f76d21b85 Snags more strings for i18n 2021-02-27 18:48:10 -08:00
Mouse Reeve
9ed5226b58 Switches layout to use in-template html header titles 2021-02-27 11:07:16 -08:00
Ned Zimmerman
bc7f830b2b Merge branch 'upstream' into tab-keyboard-accessibility 2021-02-27 11:53:27 -04:00
Mouse Reeve
a0b57837a7 Moves status templates into dir 2021-02-23 13:37:16 -08:00
Mouse Reeve
6ff70d0d2c directory for shelve button templates 2021-01-30 15:59:50 -08:00
Mouse Reeve
7afab352b1 Fixes incorrect tempalte path in threaded status page 2021-01-30 15:49:43 -08:00
Mouse Reeve
93ef9e31ad Send message to a particular user 2021-01-29 11:44:04 -08:00
Mouse Reeve
779a5e0cbf Compose window for dms 2021-01-29 11:14:18 -08:00
Mouse Reeve
b53ef73faf Feed templates 2021-01-29 10:25:31 -08:00