Skip to content

Commit

Permalink
🚨(dashboard) improve djlint execution speed
Browse files Browse the repository at this point in the history
Embed svgs as images (with <img>) in templates rather than directly in code (with <svg>).
Removed unused consent form JavaScript for toggling checkboxes, as it is no longer required.
  • Loading branch information
ssorin committed Dec 19, 2024
1 parent 46ed0e6 commit edf796b
Show file tree
Hide file tree
Showing 8 changed files with 184 additions and 50 deletions.
8 changes: 0 additions & 8 deletions src/dashboard/apps/consent/static/consent/js/app.js

This file was deleted.

38 changes: 38 additions & 0 deletions src/dashboard/dashboard/static/dashboard/img/error.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions src/dashboard/dashboard/static/dashboard/img/information.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
61 changes: 61 additions & 0 deletions src/dashboard/dashboard/static/dashboard/img/technical-error.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions src/dashboard/dashboard/static/dashboard/img/warning.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 1 addition & 14 deletions src/dashboard/templates/403.html

Large diffs are not rendered by default.

15 changes: 1 addition & 14 deletions src/dashboard/templates/404.html

Large diffs are not rendered by default.

15 changes: 1 addition & 14 deletions src/dashboard/templates/500.html

Large diffs are not rendered by default.

0 comments on commit edf796b

Please sign in to comment.