ui: add Traffic Control UI

adds a list of traffic control rules (with their current usage)
and let the user add/edit/remove them

the edit window currently has a grid for timeframes to add/remove
with input fields for start/endtime and checkboxes for the days

there are still some improvements possible, like having a seperate
grid for networks (the input field is maybe too small), or
optimizing consecutive days to a range (e.g. mon..wed instead of mon,tue,wed)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak
2021-11-19 15:42:27 +01:00
committed by Thomas Lamprecht
parent 4fe77c36df
commit ac4e399a10
4 changed files with 669 additions and 0 deletions

View File

@ -50,6 +50,12 @@ Ext.define('PBS.store.NavigationStore', {
path: 'pbsRemoteView',
leaf: true,
},
{
text: gettext('Traffic Control'),
iconCls: 'fa fa-exchange fa-rotate-90',
path: 'pbsTrafficControlView',
leaf: true,
},
{
text: gettext('Certificates'),
iconCls: 'fa fa-certificate',