Commit Graph

71 Commits

Author SHA1 Message Date
Thomas Lamprecht
90f2d251ac css: fixup: # is not a comment in css
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-14 13:52:46 +02:00
Thomas Lamprecht
9ba642dd0e css: tree: add some classes for specific locks
Add classes for suspended, suspending and migration.

They use the same symbol as in the buttons for consitency, size is a
bit smaller to fit better for the tree.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-13 21:32:49 +02:00
Dominik Csapak
3cc3b67d8b gui: add lock icons to css
and move the warning/error icons below that so that we
get the correct icon if multiple apply

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-06-13 11:11:38 +02:00
Dominik Csapak
6a040799f4 gui: qemu/HardwareView: prepare Hardwareview for font-awesome icons
we want to be able to use fontawesome icons directly instead of having
to use extracted png in css classes

this patch makes it possible to use 'iconCls' with the font-awesome icon name

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-28 17:04:06 +01:00
Tim Marx
4616a55b37 added basic ability to install ceph via gui
Signed-off-by: Tim Marx <t.marx@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-08 12:33:31 +01:00
Oguz Bektas
77d2332068 add symbol for suspended guests
use the same symbol as 'paused' guests to avoid confusion.

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
2019-02-19 14:12:06 +01:00
Dominik Csapak
4b09a72d45 give vms with 'io-error' an error icon
so that one can see that the vm has an error, even when not
directly investigating the status of that vm

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-04-30 11:02:08 +02:00
Dominik Csapak
e9a7094dc6 add cloudinit pve icon svg and class
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-03-16 10:05:57 +01:00
Dominik Csapak
3ff9bf5a7c add icons to summaries and improve spacing
also add a helper css class to use the png icons like fontawesome icons
and add the ha state to template summary

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-02-22 14:36:40 +01:00
Dominik Csapak
7235d61928 add icon/class for serial ports
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-01-30 16:37:21 +01:00
Thomas Lamprecht
672a6270ea use HelpButton from widget toolkit
Proxmox.button.Help renamed the css class for the button styling, as
this class is only used rarely and the widget toolkit does not
provides a (shared) css file itself, just rename it here too.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
2018-01-25 13:36:38 +01:00
Dominik Csapak
3ab7e0ec89 change pve-invalid-row class to proxmox-invalid-row
because we will use that in the widget toolkit

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-01-25 13:36:37 +01:00
Emmanuel Kasper
d0f7ae4642 Use the new xterm.js icon with the corresponding Menu Item
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
2017-12-20 14:33:30 +01:00
Dominik Csapak
a19652db78 show storage usage in tree
this adds a little usage indicator in the tree for all storage definitions,
so that one can easily see how much of a storage is used

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2017-12-13 14:51:07 +01:00
Dominik Csapak
aa74e838e8 remove (near)full status for storages
since this is not a good default, we do not want the user
to have to configure those limits for each storage, and
a warning triangle was confusing for multiple users,
we remove this again

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2017-12-13 14:51:07 +01:00
Dominik Csapak
2fa8270b21 add new tree and grid classes for the 'unknown' status
this displays a '?' similar to the check/cross, to show something
is wrong, but we do not know if its offline

also cleanup the classes a bit, so we do not have to have so many
different ones

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-11-14 13:27:07 +01:00
Dominik Csapak
d0b1e57003 fix ceph gui icons
this adds a new css class for fontawesome which we need under certain
circumstances (it is copied from fontawesome minus a font-size:inherited)

and it changes the icons in the osd tree from x-fa to fa
(which is the correct one there)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-08-10 09:38:29 +02:00
Emmanuel Kasper
9317d08a2d Rename the pve-help-button to pve-inline-button
This will allow reuse of the class for other inlined buttons
2017-07-25 14:24:35 +02:00
Dominik Csapak
9058a478af add replication grid
this patch adds a replication grid, which shows the status/configuration
for the defined replication jobs, and allow them to be
added/edited/removed

in case the replication grid gets shown in the datacenter, we omit the
status fields, because we only have the configuration there

when opening the grid, we check if there are at least two nodes,
because currently we only allow replication in a cluster environment

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-06-14 07:33:46 +02:00
Dominik Csapak
7f3b89a012 change to debian font-awesome
instead of having font-awesome copied into the repository,
depend on the debian package 'fonts-font-awesome', which provides all we
need

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-06-12 10:26:29 +02:00
Dominik Csapak
059cb51053 do not let www-data own the static js/html files
this is neither necessary, nor useful
those files are meant to be read only anyway, so there is no gain in
them being owned by www-data

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-06-09 14:00:30 +02:00
Dominik Csapak
8eb6f213f2 add pci icon/css class
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-06-08 16:06:16 +02:00
Dominik Csapak
77c9518192 add css and image for usb devices
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-06-08 15:57:56 +02:00
Dominik Csapak
c0f75e23b7 highlight errors in grids
we gave erroneous entries in grids the class .x-form-invalid-field
but since we changed to the "crisp" theme, this class did not have any
highlighting

so instead we use our own "pve-invalid-row" class
and give it a light red background

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-14 15:18:54 +02:00
Dominik Csapak
7553d76065 add css fix for chrome >=56
with chrome/chromium version 56, they changed the way how they calculate
height of text in input fields (now it is correct according to the
standard) but extjs up to 6.2.1 has a fix for this in css

this patch reverses the fix in extjs and can be reverted when they
remove the fix upstream

the bug	(EXTJS-23628) and the fix are described here:
https://www.sencha.com/forum/showthread.php?335045

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-03 12:22:38 +01:00
Dominik Csapak
3373911503 make filtered columns in grid more prominent
this makes the column header not only italic but also bold, so that one
can more easily see that the column is filtered

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-01-10 08:14:41 +01:00
Dominik Csapak
c359b43706 make ceph status in cluster dashboard clickable
to get faster from the datacenter dashboard to the ceph dashboard

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-30 17:10:29 +01:00
Dominik Csapak
195c7c8cbe add ceph statudetail panel
this adds a the component ceph statusdetail,
it displays the monitors (+status)
the osd as a table (in/out,up/down)
and the pg states as a list (+number)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-22 16:37:44 +01:00
Dominik Csapak
6d453a84fb improve green and red colors
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-22 16:36:16 +01:00
Dominik Csapak
a3a29cc8d2 add some color definitions to css
this will be used throughout the cluster dashboard
for the font-awesome icons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-29 08:35:08 +02:00
Dominik Csapak
ce11a8afd0 add 'my settings' to top bar
this adds a menu right to the username with an entry 'my settings',
this opens a window with (for now) browser specific settings
and a place to reset them

the plan would be to add password change, 2fa setup etc here

one remark: the reset layout button reloads the window,
to really apply the reset

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-28 09:46:25 +02:00
Emmanuel Kasper
aeae272a86 Move out custom css style for hints in css class and use it 2016-10-19 17:24:28 +02:00
Thomas Lamprecht
8f46103543 Makefile: fix distclean target
As some Makefiles in sub directories do not implement the distclean
target, namely:
PVE/Service/Makefile
PVE/CLI/Makefile

This target is broken.

As all other implementations just redirect to the 'clean' target I
do not implement the missing ones but rather remove all such
targets. Keep it just in the top level directory, for consistence
sake with other pve repos, and redirect it there directly to the
clean target.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-09-28 08:21:48 +02:00
Dominik Csapak
cc183d882d add ceph icon
use official ceph icon for the ceph tab
from http://ceph.com/logos/

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-01 11:44:27 +02:00
Dominik Csapak
332581a88d 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
9a4c279dbf use a treelist instead of tabs in configpanel
this patch changes configpanel class,
so that instead of creating a tabpanel,
we now are a card panel which uses a treelist
to choose the active card

this changes how the panel looks:
instead of having countless tabs on the top
we now can have a nice tree structure on the left

how the items will be interpreted by the tree
is commented in www/manager6/panel/ConfigPanel.js

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-08-24 12:19:09 +02:00
Dominik Csapak
23fd6c5395 add new infoWidget component
this adds a new component, which is 2 labels
(left the title and right the text) with a
small progressbar

it has a method updateValue, where it takes a string and
a value from 0 to 1 and updates the right label
and the progressbar

the progressbar gets a different css class at >60% and
>90% (i added some css classes to make it yellow and red
respectively)

the warning and critical thresholds are customizable

this will be used in a new version of the statusview

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-08-19 13:52:56 +02:00
Dominik Csapak
dadec6d02d fix background color of template badges
the template badges had the wrong background color
when selected or hovered, so the line would be
blue but the background of the icon would be white

now the background is the correct color

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-29 14:32:36 +02:00
Emmanuel Kasper
285403bf62 Add custom syle to pveHelpButton
Next / OK are already displayed in blue, which is the 'call-to-action'
color we use everywhere.
To prevent stealing attention from these buttons, switch help button
to grey
2016-06-01 12:38:29 +02:00
Dominik Csapak
df6345f9ba fix #759: save columns of resourceGrid
with this patch, the resourceGrid saves its state when
the columns are changed (resized, sorted, etc.)

also add a little reset button to the toolbar

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-20 09:40:59 +02:00
Thomas Lamprecht
4dce6073c8 enhace visibillity of dialog window border
previously the upper border of a dialog window was white only, thus
when a window opened it had a little less contrast.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-04-20 09:20:44 +02:00
Dominik Csapak
a991a203d9 add icons classes to ext6-pve.css
this adds the necessary classes/overwrites for the new icons

notable changes:

nodes/cts/vms state:
Dark when on
Light grey when off

Badges for Nodes (check = on, cross = off)
VM/CT (play = on, pause = paused)

change the hardware/resource view to the new icons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:49:38 +02:00
Dominik Csapak
5ca0c804c6 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
d9fd02eb79 add font-awesome
adds font-awesome to css folder and
inserts the css into the html of the site

we will use font-awesome for most icons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-05 11:58:01 +02:00
Dietmar Maurer
db1e733a0b add font-awesome
https://fortawesome.github.io/Font-Awesome/
2016-04-05 11:14:02 +02:00
Dominik Csapak
131cd85a11 fix missing icons and spacing
adds the missing icons after migration to ext6

also fixes the spacing in the tree (without this,
the spacing of the dot background in the tree is not right)

and fixes the horizontal spacing of the icons in the dropdown menus

since the loading dots gif does not exist in this theme, i used
the loading circle which is shown everywhere else for the task loading
entry

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-31 13:38:58 +02:00
Dietmar Maurer
5783c7f4dd switch GUI to extjs6 2016-03-31 12:11:31 +02:00
Thomas Lamprecht
06076ea0e0 css6: reduce tree space usage for new theme
The tree has also big space paddings/margins in the crisp theme,
reduce this to a saner level.
2016-03-16 10:43:38 +01:00
Emmanuel Kasper
9a55d9a21a css improvements for crisp theme
* usability improvement for enabled buttons:
in the default theme, ExtJS uses two different nuances of grey to
distinguish enabled or disabled buttons
the problem is that compared to the full black of the panels titles, it gives
the impression that everything is disabled (the contrast is not strong
enough between the two grey nuances)
the fix is to replace the dark grey of an 'enabled' button with black, similar with
what we had in ExtJS and the Classic theme

* re add menu header
this was lost when moving to crisp theme

reasoning and fix identic to

198f2d837a
by default the title in extjs6 menus have no style
this patch uses the same style as the tab headers
2016-03-15 10:38:49 +01:00
Dietmar Maurer
0c061aec56 ext6migrate: use crisp theme instead of triton
This theme works without to many css changes.
2016-03-10 17:17:01 +01:00