[pve-devel] [PATCH pve-manager 1/5] add swap icon for LXC resources

Wolfgang Link w.link at proxmox.com
Wed Oct 28 09:44:27 CET 2015


---
 www/css/ext-pve.css |  15 +++++++++++++++
 www/images/Makefile |   4 +++-
 www/images/swap.png | Bin 0 -> 926 bytes
 3 files changed, 18 insertions(+), 1 deletion(-)
 create mode 100644 www/images/swap.png

diff --git a/www/css/ext-pve.css b/www/css/ext-pve.css
index 39c5e50..d9461d2 100644
--- a/www/css/ext-pve.css
+++ b/www/css/ext-pve.css
@@ -52,6 +52,7 @@
 .pve-itype-icon-lxc,
 .pve-itype-icon-lxc-template,
 .pve-itype-icon-lxc-running,
+.pve-itype-icon-swap,
 .pve-itype-icon-node,
 .pve-itype-icon-node-running,
 .pve-itype-icon-storage,
@@ -70,6 +71,13 @@
     background-image:url(../images/computer.png);
 }
 
+.pve-itype-icon-qemu,
+.x-tree-node-computer,
+.x-grid-tree-node-expanded .x-tree-node-computer
+{
+    background-image:url(../images/computer.png);
+}
+
 .pve-itype-icon-qemu-running,
 .x-tree-node-computer-running,
 .x-grid-tree-node-expanded .x-tree-node-computer-running
@@ -98,6 +106,13 @@
     background-image:url(../images/computer-template.png);
 }
 
+.pve-itype-icon-swap,
+.x-tree-node-lxc-swap,
+.x-grid-tree-node-expanded .x-tree-lxc-swap
+{
+    background-image:url(../images/swap.png);
+}
+
 .pve-itype-icon-lxc-running,
 .x-tree-node-lxc-running,
 .x-grid-tree-node-expanded .x-tree-node-lxc-running
diff --git a/www/images/Makefile b/www/images/Makefile
index 0a6cf85..d5d0ea3 100644
--- a/www/images/Makefile
+++ b/www/images/Makefile
@@ -12,6 +12,7 @@ all:
 
 # checked.png converted from extjs examples/ux/css/images/checked.gif
 # unchecked.png converted from extjs examples/ux/css/images/unchecked.gif
+# swap.png downloaded from https://www.iconfinder.com/icons/17009/arrows_exchange_interact_refresh_reload_swap_sync_update_icon#size=16
 
 GNOME_IMAGES = 			\
 	checked.png		\
@@ -46,7 +47,8 @@ IMAGES = ${GNOME_IMAGES}	\
 	lxc-off.png		\
 	openvz-on.png		\
 	openvz-off.png		\
-	blank.gif
+	blank.gif		\
+	swap.png
 
 .PHONY: install 
 install: ${IMAGES}
diff --git a/www/images/swap.png b/www/images/swap.png
new file mode 100644
index 0000000000000000000000000000000000000000..a1c0a6d2c7890b770a74638944e8400a138a96ba
GIT binary patch
literal 926
zcmV;P17ZA$P)<h;3K|Lk000e1NJLTq000mG000mO1^@s6AM^iV0000PbVXQnQ*UN;
zcVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBU#KuJVFRCwB4Q%h)^RTTd2>wjft(sn|0
zT5Jeutx8Qn6hz%vK}DpXMX-n)5$eJRE?lL$a^XURQq0arAv?i<1*P}|D_UdF5-l{9
zw9`zc?MyPyfBwh)?|-j%lA^)0I$X~A&Ue1=Tv8e*7zX3O?R!RX at X*~D8!t{!FMSqb
zaHmsHq_B%!^+we^^#_;W^+3D<U<e$KfMZ(_N|DO=$@<Oqn_Bb_yG6+Z1;n|79mIdC
z=$KQK;Ir*L%pLiUfpF=}dZYExTD7 at vqY=@tpMd!ZoPva**#zhGImb66)RA8g88Ak+
z0WkWK%E(C>5uz1`ibbPUV<(a>{dmt^^tREmJK;DSIwubkA!F{~Cp!@2mIf6e+(k-B
zWowtsw-+mu?%bin0d`M$Q{D(Y9|V3`lLTR2i^eCN2VI~1$&DG-(`Rz2D`_IZg{9 at Y
zH5r>TyAN<o-RJJ2S>ZJy1RwDO<h+A4(}7W#%aZ&(3X7mq{m7s#Q91S&oP&=eSx;6~
znD&$Q0F<frAZvUV#i1ljS%9w9%HWrIRj4oPAGyvblCCc8f8%XTzwjz9{`?14HbO;6
zpf4;(NIzLMM(QuZcK_QWuSd_9?%2SupL2Y9%4_j}t#R?;yf=BhUfTEQ5mZ;MAx#xZ
zkG(t{hw7+m*5?-%&S_n{0Buc5vj|i7GyHJcu0jy2)DTXlA9zBSuNSXYYv{G@#3+Rc
zI{~d%j~QP0%`b_nDGh}Ylh^)Ys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