Commit Graph

5 Commits

Author SHA1 Message Date
Dominik Csapak
c45e23e4ac make PMG header look like the PVE header
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-05 12:57:35 +02:00
Dominik Csapak
99bba12c7f improve login/logout/cookie behaviour
this changes the login/logout/cookie behaviour

if you go to /quarantine
    you get to the loginview
    except you have a valid cookie
    or you have a ticket via url (this takes precedence)

    when you have a valid login
	you go to the quarantineview
else if you have not a quarantine ticket
    you get to the mainview
else
    you get to the loginview

also adds a logout button to the quarantineview
and moves the viewchange/logout logic to the Application.js

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-05 12:51:38 +02:00
Dominik Csapak
033228c06d let the default token be chosen by the view
instead of the application, since we want a different default
token for the admin view and the quarantine view

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-08-18 16:26:57 +02:00
Dietmar Maurer
258d48b509 start implementing quarantine actions 2017-08-16 10:49:08 +02:00
Dietmar Maurer
0277bfebf0 add new quarantine view 2017-04-30 11:19:28 +02:00