Commit Graph

37 Commits

Author SHA1 Message Date
Thomas Lamprecht
59e6da2d44 web-syslog: add date span selection
This allows the user to only show logs from a specific date span.
For that two date picker and a 'Update' button were added to the
header bar.

For the until date we assume always 23:59:59 o'clock, as witouth
a specific time journalctl assumes 00:00 which would result in an
empty log if we only wanted to look at todays log.

As the LogView is shared with others (e.g. ceph log) use an boolean
variable to set if we want to show those date pickers)

Fixes timeout when the user has a long uptime and or persistent logs
2016-03-02 06:25:33 +01:00
Dominik Csapak
3095fb1d08 add htmlEncode to various fields
add htmlEnode as a renderer to fields which lets you
input arbitrary strings, to prevent html tags

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-20 09:48:11 +01:00
Emmanuel Kasper
005153a64a Add descriptive header 2015-06-09 11:58:37 +02:00
Dietmar Maurer
233dafba3a fix LogView widget
It looks that after adding the <!DOCTYPE html> HTML5 doctype,
setStyle() needs unit 'px'.
2015-06-09 11:57:23 +02:00
Dietmar Maurer
9e361643a8 GUI: use lxc instead of openvz 2015-04-18 09:47:58 +02:00
Alexandre Derumier
b12ca796be rrd : init with timeframe from state manager
avoid to init the rrd with default timeframe,
then reload with timefrom state manager

this avoid to reload twice the rrds

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-02-24 06:12:13 +01:00
Dietmar Maurer
eef43bbd50 cleanup gettext translation for firewall panel
Avoid use of plural to minimize translation overhead.
2014-08-13 12:57:51 +02:00
Dietmar Maurer
dc34665afc IPSet GUI: display errors 2014-05-30 13:07:45 +02:00
Dietmar Maurer
02a7f63ba5 rename IPSetSelector to IPRefSelector, and use it in IPSet 2014-05-30 10:34:25 +02:00
Dietmar Maurer
ec549ebc13 use new API for IPSetSelector
We now list all available IPSets and Aliases.
2014-05-28 14:16:37 +02:00
Dietmar Maurer
3e6177d94b use correct url for IPSetSelector 2014-05-27 13:59:07 +02:00
Dietmar Maurer
3b3baeb6de allow IPSets for VM firewall 2014-05-27 11:43:07 +02:00
Dietmar Maurer
b61d06f6ad firewall: add aliases feature for VMs 2014-05-20 11:57:27 +02:00
Dietmar Maurer
0590a0d29b InputPanel: add new column type
This is useful to add things at the botton spaning 2 rows (comments)
2014-05-06 12:50:29 +02:00
Dietmar Maurer
434f2466b4 add firewall GUI classes 2014-05-06 12:27:00 +02:00
Dietmar Maurer
9e5c483302 ceph GUI: fix state handling 2013-12-23 07:23:01 +01:00
Dietmar Maurer
64af631078 correct handle history state for ceph sub-config 2013-11-20 09:21:34 +01:00
Damien PIQUET
0070ee3752 Added translations
Signed-off-by: Damien PIQUET <piqudam@gmail.com>
2013-08-29 07:20:28 +02:00
Stefan Priebe
22200378a0 fix 493a85a268
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2013-06-13 17:08:49 +02:00
Alexandre Derumier
493a85a268 rrd display : avoid 2 refresh
Currently when we open a new summary panel

- we display the rrd with default hour timeframe
- then we refresh it
- then we update from timeframe selector

With this patch:
- We display the rrd with timeframe from selector, or if not defined default hour
- We update from timeframe selector value if timeframe && cf are differents from current value

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2013-06-12 06:51:38 +02:00
Dietmar Maurer
b02087fd3f make jslint happy 2012-02-16 14:04:53 +01:00
Dietmar Maurer
d8340bb49a fix LogViewer updates
Seems ExtJS onShow/onHide wrappers does not work for panels.
2012-02-14 09:01:24 +01:00
Dietmar Maurer
7a6b5d9f21 remove useless require declarations 2012-01-31 06:30:31 +01:00
Dietmar Maurer
0004edad8d add panel for pools 2012-01-30 08:09:12 +01:00
Dietmar Maurer
524710d6f1 fix folder view 2012-01-30 07:35:01 +01:00
Dietmar Maurer
5f663f5f25 comp.setLoading() is buggy in ExtJS 4.0.7, so we use el.mask() instead 2012-01-16 14:15:13 +01:00
Dietmar Maurer
fd453bd3e2 add more gettext markers 2012-01-12 11:38:14 +01:00
Dietmar Maurer
a2dca26b09 mark translateable strings with gettext 2011-11-22 14:05:06 +01:00
Dietmar Maurer
165a9668c1 use template method pattern
This is the suggested way to implement componenets.
2011-11-17 07:24:04 +01:00
Dietmar Maurer
a088d7d21f simplify GUI
And display the task log by default (instead of cluster log)
2011-11-16 14:34:22 +01:00
Dietmar Maurer
db16032c8a make jslint happy 2011-11-16 13:05:07 +01:00
Dietmar Maurer
2db7bb6f20 use new LogViewer inside TaskViewer 2011-11-16 12:22:03 +01:00
Dietmar Maurer
8815805e31 improve LogViewer 2011-11-16 11:52:46 +01:00
Dietmar Maurer
3732a6651a GUI rework 2011-11-11 13:26:05 +01:00
Dietmar Maurer
ea55d5c642 use better class names for NotesView/NotesEdit 2011-10-04 12:09:01 +02:00
Dietmar Maurer
52df9bc157 improve handling of migrated VMs 2011-09-16 08:55:46 +02:00
Dietmar Maurer
aff192e6f5 imported from svn 'pve-manager/pve2' 2011-08-23 07:40:22 +02:00