1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/templates
catborise 7359fbb147 fix(accounts): a page whose session ended says so; a form sent then is not lost in a 405
A session that ended while a page was open went unnoticed: the VM list,
the VM page and the job panel kept asking, were sent to the sign-in
page, and showed what they had as if it were current. A button pressed
then sent the user to sign in and, after it, to the form's own address
by GET, where its view answered an empty 405 and the action was lost.

The panel's LoginRequiredMiddleware (webvirtcloud.middleware) answers a
page's script 401, upon which session_end.js says the user was signed
out, with a link to sign in and come back, and the page stops asking
and reloading. A form sent after the end (or with a token a sign-in
elsewhere replaced) goes back, after the sign-in, to the page it was on,
and the sign-in page says it was not done. accounts.E002 asks for this
middleware; Django's own is a warning (W002), so an update keeps a
panel whose local settings name it running.
2026-11-21 23:48:34 +03:00
..
common fix(ui): pages have a main heading, a skip link and labelled search boxes 2026-11-21 15:16:49 +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 fix(accounts): a page whose session ended says so; a form sent then is not lost in a 405 2026-11-21 23:48:34 +03:00
error.html fix(ui): pages have a main heading, a skip link and labelled search boxes 2026-11-21 15:16:49 +03:00
navbar.html fix(i18n): form fields shown with their form's label are translated 2026-11-21 15:41:11 +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