Having a short explanation of what the quarantine interface provides,
in the end-user interface should help users who wonder why they get
mails from some system, and what quarantine means. Instead of adding
this to the regular documentation and linking it in the top-bar as we
do in the admin-view having a short description directly rendered on
the main panel should increase the chances of it getting read.
the code is inspired by the notesview (I found it when clicking
through a PBS system of mine looking for how to address this).
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
adds a theme switcher to the main view and quarantine so that users
can choose a theme.
this requires a bump to the widget toolkit so the necessary widget are
present.
Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Dominik Csapak <d.csapak@proxmox.com>
this moves the the login name to a button/menu like we have for pve
and adds a 'language' option there
this is useful for uses which explicitely login via ticket, which makes
it hard to change the language otherwise
(they'd have to logout, change the language, go to their mail client
and click again the link for the quarantine; also most users do not know
that they *can* change the language when they are logged out)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
optimized a few string
EMail/Email/E-mail -> E-Mail
No Data in Database/No data in database. -> No data in database
etc.
removed 'Outlook 2007' from gettext
added some strings to gettext where they were missing
(e.g. Active, etc.)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
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>
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>