Skip to content

Commit c6c09ac

Browse files
authored
[backend/frontend] Login aside panel customization (#14115)
1 parent b15296d commit c6c09ac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+803
-223
lines changed
-24 KB
Loading
-80.6 KB
Loading
286 KB
Loading
173 KB
Loading
258 KB
Loading
159 KB
Loading

docs/docs/administration/parameters.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ Click on the **+** icon and configure your theme properties.
8787
| **Name** | Unique identifier for the theme (case-sensitive) | Theme selector | `My Theme` |
8888
| **Background color** | Main application background | Behind all content areas | `#122e52` |
8989
| **Paper color** | Background for content containers | Cards, side panels, dialog bodies | `#0a395f` |
90-
| **Navigation color** | Navigation and header elements | Top app bar, dialog headers, right navigation panels | `#060b3f` |
90+
| **Navigation color** | Navigation and header elements | Dialog headers, right navigation panels | `#060b3f` |
9191
| **Primary color** | Main interactive elements | Icon buttons, action buttons, highlights | `#e41682` |
92-
| **Secondary color** | Secondary actions | Primary action buttons in dialogs | `#d1c71d` |
92+
| **Secondary color** | Secondary actions | Badge color | `#d1c71d` |
9393
| **Accent color** | Highlight and emphasis | Copied items, history entries, selected items | `#e5abec` |
9494
| **Text color** | Primary text throughout the application | All text content | `#e0e0e0` |
9595
| **Logo URL** | Full-size logo | Expanded left navigation panel | URL or Base64 |
@@ -101,6 +101,28 @@ Click on the **+** icon and configure your theme properties.
101101

102102
![Theme Colors in Dialog](assets/theme-desc-1.png)
103103

104+
![Theme Colors in Parameters](assets/theme-desc-3.png)
105+
106+
#### Login aside customization
107+
108+
The right panel of the login page can be customized with three options:
109+
110+
- **Color**: a single solid background color
111+
- **Gradient**: a linear gradient between two colors applied horizontally from the start color to the end color
112+
- **Image**: full-cover background image via URL or Base64. The image is scaled to cover the entire panel and centered, so edges may be cropped on smaller screens. Prefer images with a centered subject.
113+
114+
![Login Aside config](assets/theme-login-aside-config.png)
115+
116+
117+
![Login Aside default](assets/theme-login-1.png)
118+
*Login page with no aside config set*
119+
120+
![Login Aside with gradient](assets/theme-login-2.png)
121+
*Login page with a custom gradient background*
122+
123+
124+
125+
104126
#### Color requirements
105127
- **Format:** All colors must be in hexadecimal format (e.g., `#122e52`)
106128
- **Contrast:** Ensure adequate contrast between text and background colors for accessibility

opencti-platform/opencti-front/lang/back/de.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,10 @@
954954
"Theme": "Thema",
955955
"Theme accent": "Thema Akzent",
956956
"Theme background": "Thema Hintergrund",
957+
"Theme login aside color": "Thema Anmeldung neben Farbe",
958+
"Theme login aside gradient end": "Theme login aside gradient end",
959+
"Theme login aside gradient start": "Thema login aside gradient start",
960+
"Theme login aside image": "Thema login aside Bild",
957961
"Theme logo": "Thema Logo",
958962
"Theme logo collapsed": "Theme-Logo kollabiert",
959963
"Theme logo login": "Themenlogo Anmeldung",

opencti-platform/opencti-front/lang/back/en.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,10 @@
954954
"Theme": "Theme",
955955
"Theme accent": "Theme accent",
956956
"Theme background": "Theme background",
957+
"Theme login aside color": "Theme login aside color",
958+
"Theme login aside gradient end": "Theme login aside gradient end",
959+
"Theme login aside gradient start": "Theme login aside gradient start",
960+
"Theme login aside image": "Theme login aside image",
957961
"Theme logo": "Theme logo",
958962
"Theme logo collapsed": "Theme logo collapsed",
959963
"Theme logo login": "Theme logo login",

opencti-platform/opencti-front/lang/back/es.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,10 @@
954954
"Theme": "Tema",
955955
"Theme accent": "Acento temático",
956956
"Theme background": "Tema de fondo",
957+
"Theme login aside color": "Tema login aparte color",
958+
"Theme login aside gradient end": "Tema login aside gradient end",
959+
"Theme login aside gradient start": "Inicio de degradado del tema de inicio de sesión",
960+
"Theme login aside image": "Imagen de inicio de sesión",
957961
"Theme logo": "Tema logotipo",
958962
"Theme logo collapsed": "Logotipo del tema colapsado",
959963
"Theme logo login": "Inicio de sesión del logotipo del tema",

0 commit comments

Comments
 (0)