69 Commits

Author SHA1 Message Date
Dietmar Maurer
2963616ae3 use auto-generated block IDs to reference online docu. 2016-10-13 11:26:06 +02:00
Dominik Csapak
155dce49ac fix width of panels in statusviews
since we introduced the vertical menus,
each panel is about 30px too wide for having
two side by side with a 1920x1080 resolution

this patch changes, the paddings/sizes so that
this fits again, at the cost of about 30 pixels width
per panel

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-05 06:55:33 +02:00
Dominik Csapak
4f194bee43 show smart text if disk type is not ATA
in case the disk is not type ATA (e.g. SAS),
the smartctl output is not well parsable,
so we show the raw text instead

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-05 06:53:57 +02:00
Dominik Csapak
8742435f41 add loadMask to Disk and SMART grid
also use the hasMany reference of the model

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-05 06:52:25 +02:00
Dominik Csapak
6c023a72aa add htmlEncode to S.M.A.R.T. Fields
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-05 06:48:27 +02:00
Dominik Csapak
fb84098d79 add missing documentation link to firewall log
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-15 11:58:38 +02:00
Dominik Csapak
21419533b1 add onlineHelp to nodes
and to its options

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 16:41:39 +02:00
Dominik Csapak
079310241c use nodedisk panel and remove ceph disks from navigation
this adds a "disks" entry in the node navigation,
and removes the "disks" entry under ceph

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-07 11:22:58 +02:00
Dominik Csapak
6bb6e7a2a5 add DiskList panel
this patch adds a disk list panel which:
lists the disks with typical columns
(type, vendor, serial, smart, wearout, etc.)

and with a doubleclick you can show the smart attributes

and with a click on init disk you can initialize a disk
with a gpt table

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-07 11:17:53 +02:00
Dominik Csapak
a204b705ea refine node gui structure
this makes summary its own point again,
and moves network,dns,time and syslog under
services which now is "system", which makes the order
of the options the same as before, with one exception

shell (previous console) is now the third option

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-01 11:44:10 +02:00
Dominik Csapak
172978d27d drop all hide calls
since we do not use tabpanels anymore,
the hide calls and listeners do nothing,
so we can drop them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-08-24 12:46:47 +02:00
Dominik Csapak
d3ae0367f3 move crushmap into ceph config
instead of having 2 panels,
we have now a splitted panel
with both config and crushmap

also drop the not needed [] around the alias

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-08-24 12:32:03 +02:00
Dominik Csapak
5a0dc87f85 reorganize node items
use new tree functionality of the configpanel
move services,time,syslog and shell under summary
move dns,firewall under network

move subpanels of firewall and ceph in the tree

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-08-24 12:29:21 +02:00
Dominik Csapak
4e4ebe171e make node StatusView use new version
this implements the new StatusView for nodes
and uses it declarative instead of with Ext.Create

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-08-19 13:54:37 +02:00
Dominik Csapak
42f96f3bfd add comment to network edit and view
this adds a new textinput field for the comment to the
network edit window and a new column for it in the
network view

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-30 14:06:45 +02:00
Dominik Csapak
caf50c8eee add comments to network model
we already have a comments field for network entries
now we have it in the model

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-30 14:04:06 +02:00
Dominik Csapak
3f8ba9eb56 htmlEncode some comment fields
this adds Ext.String.htmlEncode as renderer
for some comment/description fields

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-09 17:40:03 +02:00
Dietmar Maurer
7a3270476c node GUI: move status into column layout 2016-06-02 07:59:52 +02:00
Dominik Csapak
0c847c1e1c make the graphs on the summary pages use empty space
this patch lets the graphs flow if you have enough
horizontal space

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-02 06:26:06 +02:00
Emmanuel Kasper
c15e42d5e1 set 'disabled' for grid panels which disaply a read only, not sortable content
* closes the bug #976
 * minor usability improvement: having a clickable row where
 no action was possible is a bit misleading
2016-05-17 12:07:07 +02:00
Dominik Csapak
643cdab25d jslint: fix not reachable return and duplicate property
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:10:22 +02:00
Dominik Csapak
a548bca990 jslint: fix access to uninitialized variable
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:09:17 +02:00
Dominik Csapak
79786b96e5 jslint: fix missing or extra semicolon
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:07:42 +02:00
Dominik Csapak
1178163a05 jslint: add global entries where necessary
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:06:59 +02:00
Dominik Csapak
14986f7491 jslint: remove trailing commas
before ECMA5 trailing commas in arrays and objects
are forbidden

in jslint this is an error and cannot be deactivated

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:06:34 +02:00
Dominik Csapak
1b51cd2a29 jslint: fix type confusion and property access
fix various type confusion, for example:
items: {} and items: []
style: string and style: {}

also fix object['property'] access with
object.property

also fix /=/ with either '=' or /\=/ where appropriate
(/=/ can be confused with /= according to jslint)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:06:23 +02:00
Dominik Csapak
2ded346fca fix ceph tabs switching
when switching from one node to another, we stop the wrong store
for the ceph tabs disk/monitor/pools because they have the same id,
so give them different ones

also the same applies for node/Services, fix it there too

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-13 10:36:56 +02:00
Dominik Csapak
4a7eeaa935 add icon to nodes more button
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:50:47 +02:00
Dominik Csapak
e3b60008ab remove displayfield height hack
this did not work anymore,
instead overwrite css for displayfields to have correct
min-height

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-06 16:29:35 +02:00
Dominik Csapak
e39f20d0ab use font-awesome icons for action buttons and cmdmenu
this patch makes use of font-awesome for
lxc/qemu action buttons (start/shutdown etc.)
node actions buttons (restart/shutdown etc.)
and lxc/qemu cmdmenus

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-05 11:59:25 +02:00
Dietmar Maurer
6ff38900fa reduce translation overhead 2016-04-05 11:10:52 +02:00
Dietmar Maurer
32c298b4a1 reduce translation overhead 2016-04-04 16:59:52 +02:00
Dominik Csapak
f8a5b9a0ff fix applyIf in DNSView
there was still an applyIf instead of apply,
hiding the Edit button there

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-01 13:22:50 +02:00
Dominik Csapak
efdf77017d fix package versions in node summary
this bug was introduced by me with commit
'd43922e7ec5b5c1dd43d4ffee90b0c18eea0b708'
by mistake

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-01 09:06:42 +02:00
Dominik Csapak
d43922e7ec ext6migrate: use new charts for node/lxc/qemu
uses the new charts for the rrd graphs in the summary pages
and make them lazy (for minimal performance impact)

also correct some styling errors and move static fields
to the class definition

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-31 10:39:14 +02:00
Dominik Csapak
60fdf1975a formatting and trailing whitespaces fix
fix format of commit
0a58709503d3dd2e444d00f9d205a231545302f1
(space before 'load')

also fix trailing whitespaces in those files

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-15 16:31:02 +01:00
Thomas Lamprecht
4b73bc59d4 manager6: web-syslog: add date span selection
This is the ExtJS 6 version from commit
db2dd0e4390005aa551239d0a6516539b5fa200a

Same code as there.
A issue with the date picker which can be triggered by scrolling up
and then selecting a date will be fixed in ExtJS 6.0.2 (not yet
released), a workaround is in the next patch.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-03-15 12:45:08 +01:00
Dominik Csapak
0a58709503 ext6migrate: fix store load race condition
when we click on a node/container/vm and quickly
click on something else, there might be a race condition,
where the store finished loading and we try to change
dom elements, which are not there anymore

so we change the store.on to me.mon, which
deletes the handler when the component is gone

in the logview panel we use API2Request, where
we cannot do this, so we check if the component
is destroyed manually

also we change this whenever we change a dom element
in a callback

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-14 17:16:37 +01:00
Dominik Csapak
307faee9ff ext6migrate: fix task history race condition
on destroy, stop the store loading, else
we try to update dom elements which are not there anymore

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-11 16:33:45 +01:00
Dominik Csapak
1686fc73e0 fix Edit Button in Time Tab
applyIf to apply for tbar

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-04 16:56:59 +01:00
Dominik Csapak
f0af778ac6 ext6migrate: fix whitespaces and intendation
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-04 10:34:05 +01:00
Dominik Csapak
836f51fefe ext6migrate: enable ceph tab on node
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-04 10:33:45 +01:00
Emmanuel Kasper
6cfec58f26 fix Timezones window
Ext.regModel() was removed from the framework
rewrite the store in declarative style with inline data
2016-03-02 12:37:16 +01:00
Dominik Csapak
1aad83a320 ext6migrate: enable firewall and subscription tabs
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-02 06:15:19 +01:00
Dominik Csapak
704a6e3d61 ext6migrate: fix subscription tab
fixes:
 * update deprecated field
 * move static configuration to class definition
 * change applyIf to apply
 * change system report handler to pass a function to
    check_command (instead of the result of showReport)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-02 06:15:01 +01:00
Emmanuel Kasper
9173b9d3c5 push column items individually
looks like ExtJS is not automatically flattening the array anymore
and items in a multidimensionnal array are not displayed with ExtJS6

lxc/Config.js is still commented because we haven't reached this part
in the upgrade, but fixing there too
2016-02-29 16:52:01 +01:00
Emmanuel Kasper
5fd7ef775c use 'refresh' event to reload the grid after the store content has changed
this fixes the problem that buttons and grid contents were not updated
after a service stop/start
2016-02-29 15:37:13 +01:00
Emmanuel Kasper
6155252f27 reload stores of tabpanel children on 'activate' event 2016-02-29 15:36:49 +01:00
Emmanuel Kasper
ce6805ae2f enable more node panels 2016-02-29 15:34:57 +01:00
Dominik Csapak
8ddf32d5c6 ext6migrate: enable update and console tab for node
since the console is working again, we can activate the
console tab and the update tab for nodes

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-29 10:51:00 +01:00