Преглед на файлове

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

factor2
Mihaela Dumitru преди 2 години
родител
ревизия
5dfd02151e
No account linked to committer's email address
променени са 2 файла, в които са добавени 13 реда и са изтрити 2 реда
  1. 7
    1
      css/_redirect_page.scss
  2. 6
    1
      static/authError.html

+ 7
- 1
css/_redirect_page.scss Целия файл

@@ -14,7 +14,7 @@
14 14
             line-height: 24px;
15 15
         }
16 16
     }
17
-    .hint-msg{
17
+    .hint-msg {
18 18
         p {
19 19
             margin: 26px auto;
20 20
             font-weight: 600;
@@ -31,4 +31,10 @@
31 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 Целия файл

@@ -5,6 +5,11 @@
5 5
     <!--#include virtual="/title.html" -->
6 6
 </head>
7 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 14
 </body>
10 15
 </html>

Loading…
Отказ
Запис