This is a partial series to migrate the UX to Bulma and rework many of the view flows. Bulma was chosen as it's well maintained and reasonably concise. Tailwind, Bootstrap 4 and Zurb Foundation 6 were also evaluated and could conceivably work, but Tailwind proved incredibly slow to work with (too many options!) and the latter two were significantly beefier without providing significant advantages over Bulma.
The series is RFC as it almost certainly conflicts with Raxel's series and I'm not entirely sure all of the ideas included are good ones. I also need additional context in many of the commit messages and unit tests for the code changes. It's also incomplete as I've yet to main the main patch list and submission pages. Depending on feedback though, I can address all of these issues and resolve conflicts with Raxel's work. I'd also be open to people taking the ideas and running with them. We should probably merge the bottom 3-5 patches though. Those seem broadly useful. Changes since v1: - Rebased onto master and resolved merge conflicts Stephen Finucane (19): templates: Use standard indentation templatetags: Trivial cleanup templatetags: Add 'site_admin' tag REST: Include 'first', 'last' refs in 'Link' header settings: Enable django-cors-headers WIP: REST: Change permissions for '/people', '/users' htdocs: Integrate bulma, fontawesome trivial: Run views through black templates: Convert login, password reset views templates: Convert user profile view templates: Enhance profile view further view: Simplify user opt-in, opt-out templates: Convert bundles view templates: Convert projects view WIP: templates: Convert todo-list view templates: Convert project view templates: Convert about page templates: Convert mail settings pages templates: Convert registration template htdocs/css/bulma.css.map | 1 + htdocs/css/bulma.min.css | 1 + htdocs/css/fontawesome.css | 4619 +++++++++++++++ htdocs/css/fontawesome.min.css | 5 + htdocs/webfonts/fa-brands-400.eot | Bin 0 -> 136822 bytes htdocs/webfonts/fa-brands-400.svg | 3717 ++++++++++++ htdocs/webfonts/fa-brands-400.ttf | Bin 0 -> 136516 bytes htdocs/webfonts/fa-brands-400.woff | Bin 0 -> 92136 bytes htdocs/webfonts/fa-brands-400.woff2 | Bin 0 -> 78472 bytes htdocs/webfonts/fa-regular-400.eot | Bin 0 -> 34350 bytes htdocs/webfonts/fa-regular-400.svg | 801 +++ htdocs/webfonts/fa-regular-400.ttf | Bin 0 -> 34052 bytes htdocs/webfonts/fa-regular-400.woff | Bin 0 -> 16776 bytes htdocs/webfonts/fa-regular-400.woff2 | Bin 0 -> 13588 bytes htdocs/webfonts/fa-solid-900.eot | Bin 0 -> 204814 bytes htdocs/webfonts/fa-solid-900.svg | 5028 +++++++++++++++++ htdocs/webfonts/fa-solid-900.ttf | Bin 0 -> 204528 bytes htdocs/webfonts/fa-solid-900.woff | Bin 0 -> 104280 bytes htdocs/webfonts/fa-solid-900.woff2 | Bin 0 -> 80252 bytes patchwork/api/base.py | 33 +- patchwork/api/person.py | 4 +- patchwork/api/user.py | 5 +- patchwork/forms.py | 338 +- patchwork/settings/dev.py | 26 +- patchwork/templates/patchwork/about.html | 149 +- patchwork/templates/patchwork/bundle.html | 37 +- patchwork/templates/patchwork/bundles.html | 135 +- .../templates/patchwork/confirm-error.html | 19 - patchwork/templates/patchwork/list.html | 2 +- patchwork/templates/patchwork/login.html | 105 +- .../templates/patchwork/mail-configure.html | 70 + .../templates/patchwork/mail-settings.html | 103 +- patchwork/templates/patchwork/mail.html | 38 - .../templates/patchwork/optin-request.html | 49 - patchwork/templates/patchwork/optin.html | 18 - .../templates/patchwork/optout-request.html | 50 - patchwork/templates/patchwork/optout.html | 21 - .../patchwork/partials/download-buttons.html | 34 +- .../templates/patchwork/partials/filters.html | 83 +- .../patchwork/partials/pagination.html | 42 +- .../patchwork/partials/patch-list.html | 479 +- patchwork/templates/patchwork/profile.html | 515 +- patchwork/templates/patchwork/project.html | 401 +- patchwork/templates/patchwork/projects.html | 83 +- .../patchwork/registration-confirm.html | 13 - .../templates/patchwork/registration.html | 217 +- patchwork/templates/patchwork/submission.html | 400 +- patchwork/templates/patchwork/todo-list.html | 43 +- patchwork/templates/patchwork/todo-lists.html | 31 +- .../patchwork/user-link-confirm.html | 15 - patchwork/templates/patchwork/user-link.html | 26 - patchwork/templatetags/admins.py | 29 + patchwork/templatetags/listurl.py | 22 +- patchwork/templatetags/patch.py | 24 +- patchwork/templatetags/person.py | 9 +- patchwork/templatetags/project.py | 11 +- patchwork/templatetags/syntax.py | 55 +- patchwork/tests/views/test_user.py | 52 +- patchwork/urls.py | 21 +- patchwork/views/__init__.py | 107 +- patchwork/views/api.py | 13 +- patchwork/views/bundle.py | 71 +- patchwork/views/cover.py | 42 +- patchwork/views/mail.py | 166 +- patchwork/views/notification.py | 35 +- patchwork/views/patch.py | 90 +- patchwork/views/project.py | 88 +- patchwork/views/pwclient.py | 5 +- patchwork/views/series.py | 3 +- patchwork/views/user.py | 322 +- patchwork/views/utils.py | 27 +- patchwork/views/xmlrpc.py | 63 +- requirements-dev.txt | 1 + templates/404.html | 2 - templates/base.html | 252 +- templates/base2.html | 97 + .../registration/password_change_done.html | 2 - .../registration/password_change_form.html | 52 +- .../registration/password_reset_complete.html | 9 - .../registration/password_reset_confirm.html | 110 +- .../registration/password_reset_done.html | 37 +- .../registration/password_reset_email.html | 2 +- .../registration/password_reset_form.html | 85 +- 83 files changed, 17589 insertions(+), 2071 deletions(-) create mode 100644 htdocs/css/bulma.css.map create mode 100644 htdocs/css/bulma.min.css create mode 100644 htdocs/css/fontawesome.css create mode 100644 htdocs/css/fontawesome.min.css create mode 100644 htdocs/webfonts/fa-brands-400.eot create mode 100644 htdocs/webfonts/fa-brands-400.svg create mode 100644 htdocs/webfonts/fa-brands-400.ttf create mode 100644 htdocs/webfonts/fa-brands-400.woff create mode 100644 htdocs/webfonts/fa-brands-400.woff2 create mode 100644 htdocs/webfonts/fa-regular-400.eot create mode 100644 htdocs/webfonts/fa-regular-400.svg create mode 100644 htdocs/webfonts/fa-regular-400.ttf create mode 100644 htdocs/webfonts/fa-regular-400.woff create mode 100644 htdocs/webfonts/fa-regular-400.woff2 create mode 100644 htdocs/webfonts/fa-solid-900.eot create mode 100644 htdocs/webfonts/fa-solid-900.svg create mode 100644 htdocs/webfonts/fa-solid-900.ttf create mode 100644 htdocs/webfonts/fa-solid-900.woff create mode 100644 htdocs/webfonts/fa-solid-900.woff2 delete mode 100644 patchwork/templates/patchwork/confirm-error.html create mode 100644 patchwork/templates/patchwork/mail-configure.html delete mode 100644 patchwork/templates/patchwork/mail.html delete mode 100644 patchwork/templates/patchwork/optin-request.html delete mode 100644 patchwork/templates/patchwork/optin.html delete mode 100644 patchwork/templates/patchwork/optout-request.html delete mode 100644 patchwork/templates/patchwork/optout.html delete mode 100644 patchwork/templates/patchwork/registration-confirm.html delete mode 100644 patchwork/templates/patchwork/user-link-confirm.html delete mode 100644 patchwork/templates/patchwork/user-link.html create mode 100644 patchwork/templatetags/admins.py create mode 100644 templates/base2.html delete mode 100644 templates/registration/password_reset_complete.html -- 2.31.1 _______________________________________________ Patchwork mailing list Patchwork@lists.ozlabs.org https://lists.ozlabs.org/listinfo/patchwork