From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 4AF2274849 for ; Mon, 19 Apr 2021 13:01:22 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 40625143F4 for ; Mon, 19 Apr 2021 13:00:52 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 04C11144AE for ; Mon, 19 Apr 2021 13:00:50 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id C180845B8A for ; Mon, 19 Apr 2021 13:00:49 +0200 (CEST) From: Dominik Csapak To: pve-devel@lists.proxmox.com Date: Mon, 19 Apr 2021 13:00:42 +0200 Message-Id: <20210419110048.20791-3-d.csapak@proxmox.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210419110048.20791-1-d.csapak@proxmox.com> References: <20210419110048.20791-1-d.csapak@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.034 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LOTSOFHASH 0.25 Emails with lots of hash-like gibberish RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH widget-toolkit 2/4] bring over some icons from PVE X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2021 11:01:22 -0000 we want to reuse them in PBS Signed-off-by: Dominik Csapak --- 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@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmPNvlth@M);3UAfq@+Tq8=H^K)}k^GX=Lotd^DDCXwr z;uvCaIyu3C^?&D*hYg*LP6s-UmQDI%xF|D4#mTsTid&C9EKL@Ax zS~~%ud1UrSuzP_d9_!4{)=?|st|ne6e#I^=1pBD)10C9V-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{E5Og90r6EwnT+`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_)-z2m