Commit graph

179 commits

Author SHA1 Message Date
Mouse Reeve
dbe74f6388 Uses the same snippet for the footer across different templates 2022-11-14 18:18:27 -08:00
Mouse Reeve
b81a5faff7 Remove extra whitespace in announcements 2022-10-20 07:45:53 -07:00
Mouse Reeve
bdf563748c
Merge pull request #2255 from joachimesque/front/mobile-header
Add notifications count on mobile header
2022-08-05 11:28:42 -07:00
Mouse Reeve
9407695328 Updates footer links
Adds a missing rel="nofollow noopener noreferrer" attribute for the
Patreon link, and makes the github link open in a new tab (and updates
the url, which was out of date)
2022-08-05 10:06:12 -07:00
Joachim
610d8fdf5b Add notifications count on mobile header 2022-08-05 11:15:11 +02:00
Hugh Rundle
39efb90870 add noscript message for guided tour 2022-07-03 16:10:32 +10:00
Hugh Rundle
3f67bc3b61 standardise ids for tour anchors
To make it harder to accidentally mess up the tour when making changes to pages, this commit adds ids with 'tour' prefixes to (nearly) all elements used by the guided tour as anchor points. The exception is where an element already had an id that is being used by something else in Bookwyrm.

Some minor changes also made to clean up the wording of the tour.
2022-07-03 15:57:10 +10:00
Hugh Rundle
57965973dc make guided tour cancel button DRY
Move cancel button function into a separate JS file.
The selector JS for this function cannot be within bookwyrm.js because the guided tour elements load after bookwyrm.js.
2022-06-18 13:27:00 +10:00
Hugh Rundle
6ffb0863d1 update tour link in main template 2022-06-13 15:27:05 +10:00
Hugh Rundle
07225c6ddc add guided tour link 2022-06-13 13:14:31 +10:00
Hugh Rundle
2b431986d6 help tour button styling updates 2022-06-12 20:39:37 +10:00
Hugh Rundle
806e2778df add help button if page has tour
- include logic in main layout to add button if there is a page tour available
- add button for main user feed page
2022-06-12 19:41:50 +10:00
Mouse Reeve
51f5c9562d Uses details for user menu in main navbar 2022-04-08 13:45:17 -07:00
Mouse Reeve
b32f3c1b7b
Merge pull request #1976 from viviicat/code-scanning
Add barcode scanning support
2022-03-13 12:26:31 -07:00
Mouse Reeve
b0c0af9617 Adds custom compile management command 2022-03-04 12:40:06 -08:00
Vivianne
3ee3e9a13c
Merge branch 'main' into code-scanning 2022-03-01 18:33:40 -08:00
Mouse Reeve
a99d482167 Temporary fix 2022-03-01 14:38:50 -08:00
Mouse Reeve
f4dc07b6b9 Select theme in context processors 2022-03-01 09:53:02 -08:00
Vivianne Langdon
62b4133e58 Move quagga to vendor. 2022-02-28 21:22:49 -08:00
Mouse Reeve
106ef2e3a4 Fixes reference to theme in layout 2022-02-28 09:46:05 -08:00
Mouse Reeve
8850b68b52 Show theme options 2022-02-27 10:48:33 -08:00
Vivianne Langdon
9b0874f889 Fix barcode button 2022-02-26 23:28:13 -08:00
Vivianne Langdon
340b306d2e Fix path 2022-02-26 18:08:07 -08:00
Vivianne Langdon
48c8166e58 Merge branch 'main' into code-scanning 2022-02-26 17:54:33 -08:00
Mouse Reeve
43269429ac Use selected theme 2022-02-26 13:40:06 -08:00
Mouse Reeve
e15193e100 Adds themes 2022-02-26 12:44:20 -08:00
Mouse Reeve
6daaffeaa7
Compiles css framework from sass (#1956)
* Compiles css framework from sass

* Adds watch commands

* Copies existing css to sass file

* Moves sass out of static path

* Removes global linter

I wasn't sure how to customize this, and it's not providing a lot of
additional value on top of the domain-specific linters

* Reverts invalid change to dockerfile

* Changes stylelint path

* Remove unused bulma files

* Properly minifies generated css

* Fixes regression in thread display

* rgba function only works with percents for whatever reason

* Hush stylelint

* Removes trailing zeros

* Compile sass in Django

Co-authored-by: Joachim <joachim.robert@protonmail.com>

* Python formatting

* Updates linter

* Updates commands

* Adds css-config file

Co-authored-by: Joachim <joachim.robert@protonmail.com>

* Stylelint fix

* Removes unused compiled bulma files

Co-authored-by: Joachim <joachim.robert@protonmail.com>
2022-02-19 15:29:47 -08:00
Mouse Reeve
1b63c19a9c Fixes error in previous PR 2022-02-17 17:10:12 -08:00
Mouse Reeve
561eaeaf54
Merge pull request #1935 from joachimesque/accessibility/fixes
[Accessibility] Fixes
2022-02-17 16:50:32 -08:00
Mouse Reeve
f6e2ec02aa Adds overview page to setup 2022-02-17 13:02:07 -08:00
Mouse Reeve
e9397eaedd Adds setup templates 2022-02-17 10:02:27 -08:00
Vivianne Langdon
1e04385f0c Worked more on visuals of modal
Need to finish camera selection mode.
2022-02-15 02:38:57 -08:00
Vivianne Langdon
5ae4eb9b8f Super messy initial working version. To clean up. 2022-02-14 02:56:05 -08:00
Joachim
bbb89605a5 Page must have one main landmark
https://dequeuniversity.com/rules/axe/4.3/landmark-one-main
2022-02-12 16:10:40 +01:00
Mouse Reeve
4b3d2e87a6
Merge pull request #1633 from joachimesque/tidy-header
Front-end: New modal component + header alignment
2021-12-28 16:24:27 -08:00
Joachim
8d64b2d55e Add serif styles 2021-12-20 23:38:18 +01:00
Joachim
ce0e2eb61a Handle navbar alignment thank to Bulma helper classes 2021-12-17 17:30:14 +01:00
Joachim
2544ea12c7 Revert changes on layout 2021-12-17 17:00:10 +01:00
Mouse Reeve
c3a32b3a54
Merge branch 'main' into tidy-header 2021-12-15 10:02:36 -08:00
Joachim
5b8c1bde89 Merge branch 'main' into list-embed 2021-12-08 16:40:15 +01:00
Joachim
78a0092f92 Translate home page on main layout 2021-12-04 16:17:51 +01:00
Hugh Rundle
fbb6368caf
undo footer component 2021-11-30 20:21:41 +11:00
Hugh Rundle
1d90ca6fa6
keep footer DRY
Pulls footer and scripts after it into a separate component template.
This allows ostatus/template to use the footer without having to use
layout without repeating the same code.
2021-11-29 20:35:26 +11:00
Joachim
c924f578e5 Fix linting errors 2021-11-28 18:26:01 +01:00
Joachim
4ed4278826 Tidy header for non-authenticated visitors
with the help of a login modal
2021-11-27 19:18:20 +01:00
Mouse Reeve
bec56180f0 Fixes label on layout login form 2021-10-16 10:20:06 -07:00
Mouse Reeve
7f75cd329a Use instance name instead of the word "instance" where possible
trying to use less jargon
2021-10-15 13:42:32 -07:00
Mouse Reeve
585c71e72a Adds html linting to test 2021-09-28 10:59:51 -07:00
Mouse Reeve
15fc31bf77 Merge branch 'main' into opensearch 2021-09-27 18:58:28 -07:00
Mouse Reeve
1ed3d4dde1 Updates search box placeholder for logged out users 2021-09-20 12:28:08 -07:00