From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 73F2C1FF183 for ; Wed, 27 Aug 2025 16:06:24 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id E71761BC2D; Wed, 27 Aug 2025 16:06:25 +0200 (CEST) Message-ID: <84a1f491-88a5-421e-ac41-45a16c985215@proxmox.com> Date: Wed, 27 Aug 2025 16:06:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta To: Proxmox Datacenter Manager development discussion , Stefan Hanreich References: <20250827113427.199253-1-s.hanreich@proxmox.com> <20250827113427.199253-26-s.hanreich@proxmox.com> Content-Language: en-US From: Dominik Csapak In-Reply-To: <20250827113427.199253-26-s.hanreich@proxmox.com> X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1756303575718 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.021 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_SHORT 0.001 Use of a URL Shortener for very short URL RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pdm-devel] [PATCH proxmox-datacenter-manager 09/16] ui: sdn: add vnet icon X-BeenThere: pdm-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Datacenter Manager development discussion Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: pdm-devel-bounces@lists.proxmox.com Sender: "pdm-devel" not super important, but while we're at it, do we maybe want to reuse the sdn icon from pve for the evpn entry in the navmenu ? (or is that not fitting?) On 8/27/25 1:40 PM, Stefan Hanreich wrote: > The icon for VNets is not contained in font awesome, so we add it > manually here for using it in PDM. > > Signed-off-by: Stefan Hanreich > --- > ui/css/pdm.scss | 14 +++++++++++++- > ui/images/icon-sdn-vnet.svg | 6 ++++++ > 2 files changed, 19 insertions(+), 1 deletion(-) > create mode 100644 ui/images/icon-sdn-vnet.svg > > diff --git a/ui/css/pdm.scss b/ui/css/pdm.scss > index 8e6fbb3..f0940a6 100644 > --- a/ui/css/pdm.scss > +++ b/ui/css/pdm.scss > @@ -59,9 +59,21 @@ > display: inline-block; > } > > +.fa-sdn-vnet::before { > + content: " "; > + background-image: url(./images/icon-sdn-vnet.svg); > + background-size: 16px 16px; > + background-repeat: no-repeat; > + width: 16px; > + height: 16px; > + vertical-align: bottom; > + display: inline-block; > +} > + > :root.pwt-dark-mode { > .fa-memory, > - .fa-cpu { > + .fa-cpu, > + .fa-sdn-vnet { > filter: invert(90%); > } > } > diff --git a/ui/images/icon-sdn-vnet.svg b/ui/images/icon-sdn-vnet.svg > new file mode 100644 > index 0000000..9d8becf > --- /dev/null > +++ b/ui/images/icon-sdn-vnet.svg > @@ -0,0 +1,6 @@ > + > + > + > + _______________________________________________ pdm-devel mailing list pdm-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel