[pve-devel] [PATCH widget-toolkit 2/4] bring over some icons from PVE

Dominik Csapak d.csapak at proxmox.com
Mon Apr 19 13:00:42 CEST 2021


we want to reuse them in PBS

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 src/css/ext6-pmx.css    |  25 +++++++++++++++++++++++++
 src/images/Makefile     |   8 +++++++-
 src/images/icon-cpu.png | Bin 0 -> 205 bytes
 src/images/icon-cpu.xcf | Bin 0 -> 816 bytes
 src/images/icon-ram.png | Bin 0 -> 193 bytes
 src/images/icon-ram.xcf | Bin 0 -> 747 bytes
 6 files changed, 32 insertions(+), 1 deletion(-)
 create mode 100644 src/images/icon-cpu.png
 create mode 100644 src/images/icon-cpu.xcf
 create mode 100644 src/images/icon-ram.png
 create mode 100644 src/images/icon-ram.xcf

diff --git a/src/css/ext6-pmx.css b/src/css/ext6-pmx.css
index 5328a23..97e5018 100644
--- a/src/css/ext6-pmx.css
+++ b/src/css/ext6-pmx.css
@@ -87,3 +87,28 @@ div.right-aligned {
     font-size: 14px;
     margin-top: 2px;
 }
+
+.pmx-icon {
+    height: 16px;
+    background-position: bottom;
+    vertical-align: bottom;
+    padding: 0;
+}
+
+.pmx-itype-icon-memory,
+.pmx-itype-icon-processor
+{
+    background-repeat: no-repeat;
+    background-position:3px center;
+    padding-left: 20px;
+}
+
+.pmx-itype-icon-memory
+{
+    background-image:url(../images/icon-ram.png);
+}
+
+.pmx-itype-icon-processor
+{
+    background-image:url(../images/icon-cpu.png);
+}
diff --git a/src/images/Makefile b/src/images/Makefile
index 45bc50a..5b1d6e9 100644
--- a/src/images/Makefile
+++ b/src/images/Makefile
@@ -1,6 +1,12 @@
+# icon-cpu, icon-ram
+# are self made (sources as .xcf)
+
 include ../defines.mk
 
-IMAGES=pmx-clear-trigger.png
+IMAGES=pmx-clear-trigger.png	\
+       icon-cpu.png		\
+       icon-ram.png		\
+
 
 all:
 
diff --git a/src/images/icon-cpu.png b/src/images/icon-cpu.png
new file mode 100644
index 0000000000000000000000000000000000000000..e1cc6c2b1eaa188e52ee2f7661911874d56e132d
GIT binary patch
literal 205
zcmeAS at N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b
z3=G`DAk4 at xYmNj^kiEpy*OmPNvlth at M);3UAfq at +Tq8=H^K)}k^GX=Lotd^DDCXwr
z;uvCaIyu3C^?&D*hYg*LP6s-UmQDI%xF|D4#mTs<N=(J~e`f)w at -9~$6)V}hq7ktU
rK at vT?8n|9IJeqRC;K9t!BnAe%cxjpJUyk#DCNg-s`njxgN at xNAPL)7X

literal 0
HcmV?d00001

diff --git a/src/images/icon-cpu.xcf b/src/images/icon-cpu.xcf
new file mode 100644
index 0000000000000000000000000000000000000000..be5e6034fa4398d08a6d31a27dcd07a864f054d7
GIT binary patch
literal 816
zcmb_aOHRWu5VcJUC8eT#S1i0t7eVcY1N0PZ(=;&_`BX_NwGt9n-~wEeT?uaz8xj$A
zO!Pc&-pphiJ4z=TxeFp0={RJtsR8i|fO9NYz-al#7y)(-41gox)^Mu3LHz^#MB%kw
zkR?f&mWUZ832a(tbmFVfQ at LJ~h6HDBQSReV7Fn#<Gslfoki}Up-P(D%TKRH*Kd-Ha
zEKF*K)>Tid&C9<DweE_IALvxcg`EX)-zOT)+ormdIt`w}g8H*4D#G%6gVg<7YLsp(
zor5v{ZW+A24m!N?(hr_ho^8|m*n}xNhNsJ at fRW);erh-zyK8Z$#m6mv*5Z>EKL at Ax
zS~~%ud1UrSuzP_d9_!4{)=?|st|ne6e#I^=1pBD)1<f;T2Lt9*f{AJb2zEflusWcS
VBmSfS3;&l)Gr_4k<2%76`vM+NtEK<|

literal 0
HcmV?d00001

diff --git a/src/images/icon-ram.png b/src/images/icon-ram.png
new file mode 100644
index 0000000000000000000000000000000000000000..cf9c8121777844a6f3f74ea15a585055be5a6cc9
GIT binary patch
literal 193
zcmeAS at N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b
z3=G`DAk4 at xYmNj^kiEpy*OmPNvlthr{`_MH%7H>0C9V-A&iT2ysd*&~-_A_i4-~WV
zba4!^IQ{m5As2%JkMqUl75}xb$Cg|uGx5$)P_5Y~rF65tPQc*WgAF<5&GS+(Xgf?Z
g=vXDX{a-6*o2&rSws$7VKvNhzUHx3vIVCg!06ddBl>h($

literal 0
HcmV?d00001

diff --git a/src/images/icon-ram.xcf b/src/images/icon-ram.xcf
new file mode 100644
index 0000000000000000000000000000000000000000..1507a041f1f0e51d2991c501280ce38ed5179b1f
GIT binary patch
literal 747
zcmZ`%%TB{E5Og90r6Ewn<HW(o^bpiuxPtl>T+`Gs7I{=jDzy?4zrYXhlN_l^n04(a
z6=9|Ej%R0+jUB17C11x0PgE)xVq`%45^x+WSHNKQ!59H?4IBYO;MQ>R-N65V>`Od0
zjEgK2d5t}zB7u!`MP-o`p)A#cG!z^bRP`nmyed+)7!QL)#zk6`JkTjD<vik(`-zSo
zGBu?!TIW5jw$A at 2)Vi*gQLJ*wr}kYCH+`bf!d0$nuJZUrRMcN2NhRubK<fT0?Uln;
zItLTZr)9|YI_U7cSros at vRLK%*j!^fMyAVXfPvv;KQ$bQ-E}x!8u=+a!1A*W_dEOo
zoStjr1jP2(AHmLolKX6oc64~%^iXr(X#b8WEgso<v%@ENY}+6;PV>_)-z2m<t at lV<
T?ef?TR=;uBmu}j(Vtr!2fCZER

literal 0
HcmV?d00001

-- 
2.20.1





More information about the pve-devel mailing list