From aba8988109b4b7f28b16df60ff4032f6f651f9d5 Mon Sep 17 00:00:00 2001 From: Salvatore Coppola <83589980+salvatore-coppola@users.noreply.github.com> Date: Fri, 19 Jan 2024 13:21:32 +0100 Subject: [PATCH] feat(web2): Added warning message for Certificates field (#5089) * Added warning message for Certificate field * Update kura/org.eclipse.kura.web2/src/main/java/org/eclipse/kura/web/client/ui/security/KeyPairTabUi.ui.xml Co-authored-by: Mattia Dal Ben * Replaced warning text with a placeholder in the --------- Co-authored-by: Mattia Dal Ben --- .../client/ui/security/KeyPairTabUi.ui.xml | 33 ++++++++++--------- .../web/client/messages/Messages.properties | 3 +- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/kura/org.eclipse.kura.web2/src/main/java/org/eclipse/kura/web/client/ui/security/KeyPairTabUi.ui.xml b/kura/org.eclipse.kura.web2/src/main/java/org/eclipse/kura/web/client/ui/security/KeyPairTabUi.ui.xml index 977e299247e..a1a571d4d61 100644 --- a/kura/org.eclipse.kura.web2/src/main/java/org/eclipse/kura/web/client/ui/security/KeyPairTabUi.ui.xml +++ b/kura/org.eclipse.kura.web2/src/main/java/org/eclipse/kura/web/client/ui/security/KeyPairTabUi.ui.xml @@ -2,16 +2,16 @@ @@ -19,24 +19,24 @@ xmlns:b="urn:import:org.gwtbootstrap3.client.ui" xmlns:b.html="urn:import:org.gwtbootstrap3.client.ui.html" xmlns:g="urn:import:com.google.gwt.user.client.ui" xmlns:gwt="urn:import:org.gwtbootstrap3.client.ui.gwt"> - + .important { - font-weight: bold; + font-weight: bold; } .center-panel { - height: 100%; + height: 100%; } .small-text { - font-size: 0.90em; + font-size: 0.90em; } #storageAlias { - text-transform: lowercase; + text-transform: lowercase; } @@ -48,12 +48,12 @@ - + - + @@ -75,7 +75,8 @@ diff --git a/kura/org.eclipse.kura.web2/src/main/resources/org/eclipse/kura/web/client/messages/Messages.properties b/kura/org.eclipse.kura.web2/src/main/resources/org/eclipse/kura/web/client/messages/Messages.properties index 41e4663950e..0184da7ed27 100644 --- a/kura/org.eclipse.kura.web2/src/main/resources/org/eclipse/kura/web/client/messages/Messages.properties +++ b/kura/org.eclipse.kura.web2/src/main/resources/org/eclipse/kura/web/client/messages/Messages.properties @@ -224,7 +224,8 @@ settingsMAuthDescription2=The private key should be in PKCS8 format. The public settingsKeyStorePidLabel=Key Store settingsStorageAliasLabel=Storage Alias settingsPrivateCertLabel=Private Key -settingsPublicCertLabel=Certificate +settingsPublicCertLabel=Certificates +settingsPublicCertWarning= The chain should be provided by specifying the leaf certificate, followed by the CA certificate that is signing it, and so on, until the root CA is reached. securityAddKeystoreEntry=Select the type of the new Keystore entry securityKeyPairDescription=Insert the pair of private and public keys.