File tree Expand file tree Collapse file tree 7 files changed +73
-55
lines changed Expand file tree Collapse file tree 7 files changed +73
-55
lines changed Original file line number Diff line number Diff line change @@ -65,3 +65,4 @@ FEATURE_CODE_MIRROR_ENABLE=true
65
65
FEATURE_DEFAULT_AUTHENTICATED_VIEW_ENABLE = false
66
66
GATEKEEPER_URL = https://license.devtron.ai/dashboard
67
67
FEATURE_AI_INTEGRATION_ENABLE = false
68
+ LOGIN_PAGE_IMAGE =
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 4
4
"private" : true ,
5
5
"homepage" : " /dashboard" ,
6
6
"dependencies" : {
7
- "@devtron-labs/devtron-fe-common-lib" : " 1.12.0-pre-6 " ,
7
+ "@devtron-labs/devtron-fe-common-lib" : " 1.12.0-pre-7 " ,
8
8
"@esbuild-plugins/node-globals-polyfill" : " 0.2.3" ,
9
9
"@rjsf/core" : " ^5.13.3" ,
10
10
"@rjsf/utils" : " ^5.13.3" ,
Original file line number Diff line number Diff line change @@ -181,7 +181,16 @@ const Login = () => {
181
181
return (
182
182
< div className = "full-height-width login dc__grid-half bg__secondary" >
183
183
< div className = "flexbox p-12" >
184
- < LoginBanner />
184
+ { window . _env_ . LOGIN_PAGE_IMAGE ? (
185
+ < div
186
+ style = { {
187
+ backgroundImage : `url(${ window . _env_ . LOGIN_PAGE_IMAGE } )` ,
188
+ } }
189
+ className = "login-image-container flex br-12 border__primary bg__primary h-100 w-100"
190
+ />
191
+ ) : (
192
+ < LoginBanner />
193
+ ) }
185
194
</ div >
186
195
< div className = "flex" >
187
196
< div className = "login-card__wrapper dc__overflow-hidden br-12 mw-420 bg__primary dc__border" >
Original file line number Diff line number Diff line change 26
26
color : var (--N900 )
27
27
}
28
28
}
29
+
30
+ .login-image-container {
31
+ background-position : center ;
32
+ background-repeat : no-repeat ;
33
+ background-size : cover ;
34
+ }
29
35
}
30
36
31
37
// SSO login & GitOps configuration css
Original file line number Diff line number Diff line change @@ -168,6 +168,7 @@ if (!window || !window._env_) {
168
168
FEATURE_DEFAULT_AUTHENTICATED_VIEW_ENABLE : false ,
169
169
GATEKEEPER_URL : 'https://license.devtron.ai/dashboard' ,
170
170
FEATURE_AI_INTEGRATION_ENABLE : false ,
171
+ LOGIN_PAGE_IMAGE : '' ,
171
172
}
172
173
}
173
174
Original file line number Diff line number Diff line change 1126
1126
dependencies :
1127
1127
" @jridgewell/trace-mapping" " 0.3.9"
1128
1128
1129
- " @devtron-labs/[email protected] 6 " :
1130
- version "1.12.0-pre-6 "
1131
- resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.12.0-pre-6 .tgz#a168abd1d1ebbe4824b5d57ff20edf3f2826a317 "
1132
- integrity sha512-98oEJma9bx+ALNjpwOnNrGCm0DIQryEd9QXfrKMDrM017jKz5XG97tOGBGcpF+XFH9oQZQacGepdEXdQ7bRN3Q ==
1129
+ " @devtron-labs/[email protected] 7 " :
1130
+ version "1.12.0-pre-7 "
1131
+ resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.12.0-pre-7 .tgz#50bedcb413f0cd5057618e8168fab31bdf9de2d5 "
1132
+ integrity sha512-uhe9VMjGHFpfbHJjxaUEVmWL2fugHISVuKVvMLvR3yLboR71hP3rx+uKqLZN+bqhljzEGm6gw2Wjsjbj2q3MFg ==
1133
1133
dependencies :
1134
1134
" @codemirror/lang-json" " 6.0.1"
1135
1135
" @codemirror/lang-yaml" " 6.1.2"
You can’t perform that action at this time.
0 commit comments