File tree 1 file changed +52
-0
lines changed
src/cloudforet/console_api_v2/template
1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="ko ">
3
+ < head >
4
+ < meta charset ="UTF-8 ">
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6
+ < title > Loading...</ title >
7
+ < style >
8
+ body {
9
+ display : flex;
10
+ justify-content : center;
11
+ align-items : center;
12
+ height : 100vh ;
13
+ margin : 0 ;
14
+ background-color : # f0f0f0 ;
15
+ }
16
+
17
+ .spinner {
18
+ border : 8px solid # f3f3f3 ; /* Light grey */
19
+ border-top : 8px solid # 808080 ; /* Gray color */
20
+ border-radius : 50% ;
21
+ width : 60px ; /* 스피너 크기 */
22
+ height : 60px ; /* 스피너 크기 */
23
+ animation : spin 1s linear infinite; /* 애니메이션 */
24
+ }
25
+
26
+ @keyframes spin {
27
+ 0% {
28
+ transform : rotate (0deg );
29
+ }
30
+ 100% {
31
+ transform : rotate (360deg );
32
+ }
33
+ }
34
+ </ style >
35
+ </ head >
36
+ < body >
37
+ < div class ="spinner "> </ div >
38
+
39
+ < script >
40
+ const redirectUrl = '{{ console_domain }}/saml?refresh_token={{ refresh_token }}' ;
41
+ const redirect = ( ) => {
42
+ window . location . href = redirectUrl ;
43
+ } ;
44
+
45
+ setTimeout ( ( ) => {
46
+ history . pushState ( null , '' , window . location . href ) ;
47
+ redirect ( ) ;
48
+ } , 2000 ) ;
49
+
50
+ </ script >
51
+ </ body >
52
+ </ html >
You can’t perform that action at this time.
0 commit comments