1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/templates
catborise 10eb0d1c2e feat: error pages that say what happened and what to do
The 403, 404 and 500 pages said "Oops!" and one generic sentence; a bad
request and a failed CSRF check fell back to Django's plain pages.

Every error page now shares templates/error.html: a card with the status
in a coloured badge with an icon, a heading in plain words, what happened
and what to do, and Back and Home buttons. It uses only theme-defined
Bootstrap classes, so it reads in the light and dark themes alike.

- 400: the request was not accepted; a new address belongs in ALLOWED_HOSTS.
- 403: the account lacks the permission; ask an administrator.
- 403 CSRF: the form's security check failed; reload and submit again,
  and where to look when it happens on every form.
- 404: the path, and that the object may be gone or hidden from the account.
- 500: a libvirt failure on a page says the host's data could not be
  loaded, under libvirt's message; any other failure says it was logged
  and shows the time to give an administrator.
2026-10-29 17:52:16 +03:00
..
common fix(templates): each delete page says what deleting its object does 2026-10-22 11:15:00 +03:00
400.html feat: error pages that say what happened and what to do 2026-10-29 17:52:16 +03:00
403.html feat: error pages that say what happened and what to do 2026-10-29 17:52:16 +03:00
403_csrf.html feat: error pages that say what happened and what to do 2026-10-29 17:52:16 +03:00
404.html feat: error pages that say what happened and what to do 2026-10-29 17:52:16 +03:00
500.html feat: error pages that say what happened and what to do 2026-10-29 17:52:16 +03:00
base.html refactor(templates): the page width, headings and paragraphs as Bootstrap sets them 2026-10-27 19:13:38 +03:00
error.html feat: error pages that say what happened and what to do 2026-10-29 17:52:16 +03:00
navbar.html feat(instances): a report of every VM with its addresses and OS, as an Excel file 2026-10-24 22:30:07 +03:00
pleasewaitdialog.html refactor(templates): the last inline styles that Bootstrap covers 2026-10-27 20:37:30 +03:00
radio_card.html feat(networks): the network pages on Bootstrap's cards, tables and dialogs 2026-10-29 10:09:27 +03:00
search_block.html refactor(templates): Bootstrap utilities instead of the upstream rules that redid them 2026-10-27 19:05:48 +03:00