Commit Graph

26 Commits

Author SHA1 Message Date
Thomas Lamprecht
3d233789a6 quranatine view: make navtree more like main navtree
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-03 22:48:23 +02:00
Thomas Lamprecht
13f8df5c6c quarantine view: change ui to pve-nav
since 'nav' contains some styling we do not want (in extjs 7.0)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-03 22:47:39 +02:00
Thomas Lamprecht
e810c530ec quranatine view: adapt to new beforeChangePath signature to fix routing/app
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-03 22:31:28 +02:00
Thomas Lamprecht
28eb60c0bd eslint fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-30 14:08:16 +01:00
Thomas Lamprecht
a36756b058 drop jslint hint for Proxmox global
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-23 14:03:17 +02:00
Thomas Lamprecht
c87d46fbe8 tree wide: eslint --fix
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-23 13:17:15 +02:00
Dominik Csapak
903548bc3c use LanguageEditWindow from widget-toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-04-20 12:14:32 +02:00
Dominik Csapak
11f43687bb align spacing with pve
it really irked me that the buttons/text was a few pixels off in pmg....

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-04-16 15:42:02 +02:00
Dominik Csapak
590a3b9fa3 fix #2667: and 'language' option to QuarantineView
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>
2020-04-16 11:00:29 +02:00
Dominik Csapak
64fb657f83 improve gettext usage
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>
2018-01-24 06:26:26 +01:00
Dominik Csapak
3cac8c4e6b add icons for white/blacklist in QuarantineView
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-23 17:34:26 +02:00
Dominik Csapak
5a768cc51a jslint: empty block and || syntax
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-23 17:34:02 +02:00
Dominik Csapak
07adbc8947 jslint: correctly escape regexes
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-23 17:33:37 +02:00
Dominik Csapak
cac4542e01 jslint: declare variables correctly
some were never declared, some ware doubly declared

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-23 17:32:45 +02:00
Dominik Csapak
de0ebd99a1 jslint: type confusion
resolve/mark several type confusions

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-23 17:30:26 +02:00
Dominik Csapak
771bd0b94b jslint: remove trailing commas
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-23 17:29:17 +02:00
Dominik Csapak
ff735274ca jslint: add Proxmox global to files
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-23 17:28:56 +02:00
Dietmar Maurer
c407e16892 QuarantineView.js - do not display @quarantine realm 2017-10-11 11:11:56 +02:00
Dominik Csapak
2fa0b5059a reuse do quarantineAction
and make it possible to show both subscription and action window after
one another

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-06 07:31:22 +02:00
Dominik Csapak
7bd1a4b7dc remove superfluous/wrong 'xcalss'
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-06 07:30:08 +02:00
Dominik Csapak
207471c040 select mail when coming from link in SpamQuarantine mail
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-06 07:29:58 +02:00
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