Pārlūkot izejas kodu

feat(static) improve message in authError.html (#13681)

factor2
Mihaela Dumitru 2 gadus atpakaļ
vecāks
revīzija
5dfd02151e
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
2 mainītis faili ar 13 papildinājumiem un 2 dzēšanām
  1. 7
    1
      css/_redirect_page.scss
  2. 6
    1
      static/authError.html

+ 7
- 1
css/_redirect_page.scss Parādīt failu

14
             line-height: 24px;
14
             line-height: 24px;
15
         }
15
         }
16
     }
16
     }
17
-    .hint-msg{
17
+    .hint-msg {
18
         p {
18
         p {
19
             margin: 26px auto;
19
             margin: 26px auto;
20
             font-weight: 600;
20
             font-weight: 600;
31
             background: transparent;
31
             background: transparent;
32
         }
32
         }
33
     }
33
     }
34
+    .forbidden-msg {
35
+        p {
36
+            font-size: 16px;
37
+            margin-top: 15px;
38
+        }
39
+    }
34
 }
40
 }

+ 6
- 1
static/authError.html Parādīt failu

5
     <!--#include virtual="/title.html" -->
5
     <!--#include virtual="/title.html" -->
6
 </head>
6
 </head>
7
 <body>
7
 <body>
8
-    <div class="redirectPageMessage">Sorry! You are not allowed to be here :(</div>
8
+    <div class="redirectPageMessage">
9
+        Sorry! You are not allowed to be here :(
10
+        <div class="forbidden-msg">
11
+            <p>You might be missing the JWT or using an incompatible one.</p>
12
+        </div>
13
+    </div>
9
 </body>
14
 </body>
10
 </html>
15
 </html>

Notiek ielāde…
Atcelt
Saglabāt