[pve-devel] [PATCH manager 1/4] add icon/class for serial ports
Dominik Csapak
d.csapak at proxmox.com
Wed Jan 3 13:04:12 CET 2018
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/css/ext6-pve.css | 7 +++++++
www/images/Makefile | 5 +++--
www/images/icon-serial.svg | 2 ++
3 files changed, 12 insertions(+), 2 deletions(-)
create mode 100644 www/images/icon-serial.svg
diff --git a/www/css/ext6-pve.css b/www/css/ext6-pve.css
index 2c6de752..2fe98365 100644
--- a/www/css/ext6-pve.css
+++ b/www/css/ext6-pve.css
@@ -222,6 +222,7 @@
.pve-itype-icon-pool,
.pve-itype-icon-itype,
.pve-itype-icon-usb,
+.pve-itype-icon-serial,
.pve-itype-icon-pci
{
background-repeat: no-repeat;
@@ -340,6 +341,12 @@
background-image:url(../images/icon-pci.png);
}
+.pve-itype-icon-serial
+{
+ background-size: 16px;
+ background-image:url(../images/icon-serial.svg);
+}
+
/* displayfield minheight is wrong */
.x-form-display-field-default {
min-height: 20px;
diff --git a/www/images/Makefile b/www/images/Makefile
index 798132a7..524a390d 100644
--- a/www/images/Makefile
+++ b/www/images/Makefile
@@ -16,8 +16,8 @@ all:
# icon-ram, icon-cpu, icon-cd, icon-pci
# are self made (sources as .xcf)
-# icon-swap, icon-display, icon-harddisk, icon-keyboard, icon-network, icon-usb
-# come from fontawesome (respective fa-refresh, fa-desktop, fa-hdd-o, fa-keyboard-o, fa-exchange, fa-usb)
+# icon-swap, icon-display, icon-harddisk, icon-keyboard, icon-network, icon-usb, icon-serial
+# come from fontawesome (respective fa-refresh, fa-desktop, fa-hdd-o, fa-keyboard-o, fa-exchange, fa-usb, fa-ellipsis-h)
# ceph logos are from
# http://ceph.com/logos/
@@ -71,6 +71,7 @@ IMAGES = ${GNOME_IMAGES} \
icon-keyboard.png \
logo-ceph.png \
logo-128.png \
+ icon-serial.svg \
icon-pci.png \
icon-usb.png
diff --git a/www/images/icon-serial.svg b/www/images/icon-serial.svg
new file mode 100644
index 00000000..46fbe726
--- /dev/null
+++ b/www/images/icon-serial.svg
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8"?>
+<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M576 736v192q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h192q40 0 68 28t28 68zm512 0v192q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h192q40 0 68 28t28 68zm512 0v192q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h192q40 0 68 28t28 68z"/></svg>
--
2.11.0
More information about the pve-devel
mailing list