Commit Graph

49 Commits

Author SHA1 Message Date
Thomas Lamprecht
1aaba242fb net/node: add some "hint" for VLAN add window
The three naming schemes are not ideal, but well here we are for now.
Add some hint to explain what one can do with which version - try to
keep it rather short. It's not ideal but hopefully better than
nothing :)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-01-30 17:36:47 +01:00
Thomas Lamprecht
25f37cbf9f node/net: add onlineHelp reference to interface add windows
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-01-30 17:24:41 +01:00
Thomas Lamprecht
5c833deffe node/net: move MTU to advanced section
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-01-30 17:23:01 +01:00
Thomas Lamprecht
ea7da80cda node/net: fix indentation a bit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-01-30 17:22:03 +01:00
Alexandre Derumier
8aefd47ceb add vlan interface support
vlan-raw-device && vlan-id field are only
enabled if interface name is different than interfaceX.Y

I have added a listener on iface,
to enable them live if user want a custom name for vlan interface

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-01-30 16:14:30 +01:00
Alexandre Derumier
aedaf2b6f1 networkedit: add mtu field
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-01-13 18:37:33 +01:00
Alexandre Derumier
b154853a74 networkedit: bond: add bond-primary field
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-01-13 18:37:33 +01:00
Thomas Lamprecht
4beef5c455 node network: adapt pending changes diff text
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-11-26 12:13:09 +01:00
Thomas Lamprecht
03e93db5d5 node network: disable revert button if there are no changes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-11-26 12:07:06 +01:00
Thomas Lamprecht
1cf31d6bac node network: add separators in top bar
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-11-26 12:06:42 +01:00
Thomas Lamprecht
2877ddea0b ask for confirmation before hot-applying network changes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-11-26 12:06:05 +01:00
Dominik Csapak
21cd6c09e2 NetworkView: add apply config button
when the host has ifupdown2 installed, we can hot apply the config
add a button to do this

if the user does not meet the requirements, the api call
will show why and throw an error (without changing anything)

the button has to be enabled via 'showApplyBtn', because for now,
we do not want it for pmg

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-11-26 10:11:30 +01:00
Aaron Lauterer
13fc756dfd tree-wide trailing whitespace cleanup
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-09-30 08:00:34 +02:00
Dominik Csapak
211bdf934f node network: add Bond Mode and Hash Policy columns
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-07-10 12:26:54 +02:00
Dominik Csapak
4211996ab0 node network: hide ip and netmask by default
CIDR column displays the same information in only on column,
no need to duplicate the information (by default)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-07-10 12:26:54 +02:00
Dominik Csapak
8093ded0c3 fix syslog resizing
makes the logview autosize with the window

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-07-02 13:29:03 +02:00
Thomas Lamprecht
f12e1aba6e node/APT: whitespace cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-03 16:38:49 +02:00
Thomas Lamprecht
6895e13f39 node/apt updates: show full package description conditionally
The full package description is often quite long, and for upgrades
it's not relevant most of the time. But, it can be intresting to
have, if one wonders what a package is even used for.
So add a checkbox in the top bar which allows to switch between
showing and hiding the description, simply done by re-using the
'grid-row-body-hidden' ExtJS CSS class (got the idea from the
RowBody feature source code).
Default it to off, as it's better to not overwhelm users here with a
huge pile of text by default, showing the list of package with the
short one line title is enough most of the times, I'd guess.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Tim Marx <t.marx@proxmox.com>
2019-06-03 16:37:57 +02:00
Dominik Csapak
8e2d096c7f change network input from address/netmask to cidr and change labels
this makes the ui easier and is consistent with the rest of our ui
(container and cloud init)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-05-08 14:56:52 +00:00
Dominik Csapak
d0c2b8781a show cidr in network view and optimize renderer
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-05-08 14:56:52 +00:00
Thomas Lamprecht
94ec386d9a node/TimeEdit: allow to 'search' time zone
follow the logic we use in file selectors of the PVE gui, i.e., allow
editable but force a match and do not allow blank, this lets
quick filter this big list instead of scrolling, and searching if
something appears or not, even if one is may not be sure if/how this
was sorted...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-16 05:53:09 +00:00
Dominik Csapak
9629b6ca03 node/DNS: render DNS fields htmlEncoded
and change to a better code formatting of the properties

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-22 08:57:24 +02:00
Dominik Csapak
3cf341e92a add node/HostsView
to show/edit /etc/hosts

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-09-14 11:51:31 +02:00
Dominik Csapak
9307eda498 allow pressing enter in ObjectGrids to edit a field
for this we need to overwrite the 'run_editor' function
of the ObjectGrid if we use a custom one

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-04-06 13:46:36 +02:00
Wolfgang Link
9b575917b9 change the hard coded text against the translated text 2018-01-25 11:03:44 +01:00
Wolfgang Link
8947a4fc13 show VLAN aware setting in NetworkView. 2018-01-25 11:03:44 +01:00
Thomas Lamprecht
bf49d2da0f TimeEdit: use schematic declaration
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-01-17 12:21:04 +01:00
Dominik Csapak
c47f5f46f4 place space on correct side of colon 2018-01-11 14:48:13 +01:00
Dominik Csapak
ec0296eb11 change invalid class
so that we can safely create a css style for it
(in our namespace)
2018-01-11 14:48:13 +01:00
Dominik Csapak
b33f451f98 change 'create' parameter to 'isCreate'
this mirrors the changes from Emmanuel in commit
9af71828d42c67b13144b568eee828b215054399
of pve-manager

where he renamed the 'create' parameter of the Edit Window to
isCreate, to avoid countless jslint errors regarding type confusion

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-11-14 11:37:04 +01:00
Dominik Csapak
7c0e4c25c1 make network devices types configureable
so that we can show all on pve and only bonds on pmg

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-11-14 11:36:46 +01:00
Dominik Csapak
84af78a1be use (de)activate events for dns/timeview
this allows us to properly stop the updatestore when in a
tab/cardpanel

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-11-10 17:27:36 +01:00
Dietmar Maurer
917433e621 Tasks.js - correctly display load errors 2017-10-09 07:33:27 +02:00
Dietmar Maurer
b81cf17334 NetworkView.js - correctly set eror mask 2017-10-09 07:00:32 +02:00
Dietmar Maurer
5f93e01085 new checked_command helper, add APT.js 2017-09-25 12:31:36 +02:00
Dominik Csapak
1a68e95dec change time of startupdate
because these components are not always children of
a tabpanel or standalone, we cannot use activate here
else we do not trigger the startupdate

disadvantage: when used as a child of a tabpanel,
it starts immediately instead of when clicking on the tab

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 09:43:19 +02:00
Dietmar Maurer
ecb078243a ServiceView.js: add syslog button 2017-04-05 07:36:50 +02:00
Dietmar Maurer
f21840aa20 ServiceView.js: view syslog on dblclick 2017-04-04 06:36:31 +02:00
Dietmar Maurer
869439b1e9 NetworkView.js: improve column width 2017-03-07 17:35:18 +01:00
Dietmar Maurer
89f5745205 NetworkView: conditionally view pending changes 2017-03-07 17:29:12 +01:00
Dietmar Maurer
ab29b73d6b ServiceView.js: use flex instead of fixed width 2017-03-07 17:16:05 +01:00
Dietmar Maurer
eb874be792 add DNS view/edit widgets 2017-02-01 07:17:47 +01:00
Dietmar Maurer
fccec7c6c2 add Checkbox.js
Copied from pve-manager
2017-01-31 17:17:12 +01:00
Dietmar Maurer
a0ec162067 add TextField.js
Copied from pve-manager
2017-01-31 17:13:26 +01:00
Dietmar Maurer
a58001ddfc add NetworkView.js and NetworkEdit.js
Copied from pve-manager
2017-01-31 17:05:09 +01:00
Dietmar Maurer
d71391402c add ServiceView widget 2017-01-31 15:21:37 +01:00
Dietmar Maurer
53ac9bca54 add render_upid to Proxmox.Utils 2017-01-31 12:18:29 +01:00
Dietmar Maurer
09d6446578 add task list class 2017-01-31 09:26:42 +01:00
Dietmar Maurer
0669450939 add TimeView, TimeEdit and TaskViewer 2017-01-30 13:40:51 +01:00