Skip to content

Commit 4e6c987

Browse files
committed
Info pages (errors, welcome, unassigned) do not depend anymore on external assets(css,fonts,js)
1 parent 2feb35b commit 4e6c987

File tree

7 files changed

+623
-52
lines changed

7 files changed

+623
-52
lines changed

install/deb/templates/web/skel/document_errors/403.html

Lines changed: 88 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,101 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7-
<link type="text/css" rel="stylesheet" href="assets/css/bootstrap.min.css">
8-
<link type="text/css" rel="stylesheet" href="assets/css/all.min.css">
9-
<link type="text/css" rel="stylesheet" href="assets/css/animate.css">
10-
<link type="text/css" rel="stylesheet" href="assets/css/style.css">
117
<title>Access Denied</title>
8+
<style type="text/css">
9+
body {
10+
background-color: #f5f5f5;
11+
margin-top: 8%;
12+
color: #5d5d5d;
13+
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
14+
text-shadow: 0px 1px 1px rgba(255,255,255,0.75);
15+
text-align: center !important;
16+
}
17+
18+
h1 {
19+
font-size: 2.45em;
20+
font-weight: 700;
21+
color: #5d5d5d;
22+
letter-spacing: -0.02em;
23+
margin-bottom: 30px;
24+
margin-top: 30px;
25+
}
26+
27+
.container {
28+
width: 100%;
29+
margin-right: auto;
30+
margin-left: auto;
31+
}
32+
33+
.animated {
34+
-webkit-animation-duration: 1s;
35+
animation-duration: 1s;
36+
-webkit-animation-fill-mode: both;
37+
animation-fill-mode: both;
38+
}
39+
40+
.fadeIn {
41+
-webkit-animation-name: fadeIn;
42+
animation-name: fadeIn;
43+
}
44+
45+
.info {
46+
color:#5594cf;
47+
fill:#5594cf;
48+
}
49+
50+
.error {
51+
color:#c92127;
52+
fill:#c92127;
53+
}
54+
55+
.warning {
56+
color:#ffcc33;
57+
fill:#ffcc33;
58+
}
59+
60+
.success {
61+
color:#5aba47;
62+
fill:#5aba47;
63+
}
64+
65+
.icon-large {
66+
height: 132px;
67+
width: 132px;
68+
}
69+
70+
.description-text {
71+
color: #707070;
72+
letter-spacing: -0.01em;
73+
font-size: 1.25em;
74+
line-height: 20px;
75+
}
76+
77+
.footer {
78+
margin-top: 40px;
79+
font-size: 0.7em;
80+
}
81+
82+
.delay-1s {
83+
-webkit-animation-delay: 1s;
84+
animation-delay: 1s;
85+
}
86+
87+
@keyframes fadeIn {
88+
from { opacity: 0; }
89+
to { opacity: 1; }
90+
}
91+
92+
</style>
1293
</head>
1394
<body>
1495
<div class="container text-center">
1596
<div class="row">
1697
<div class="col">
1798
<div class="animated fadeIn">
18-
<i class="fas fa-times-circle icon-large error"></i>
99+
<svg class="error icon-large fa-times-circle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
100+
<path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"></path>
101+
</svg>
19102
</div>
20103
<h1 class="animated fadeIn">Access Denied</h1>
21104
<div class="description-text animated fadeIn delay-1s">
@@ -26,7 +109,5 @@ <h1 class="animated fadeIn">Access Denied</h1>
26109
</div>
27110
</div>
28111
</div>
29-
30-
<script src="assets/js/bootstrap.min.js"></script>
31112
</body>
32113
</html>

install/deb/templates/web/skel/document_errors/404.html

Lines changed: 88 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,101 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7-
<link type="text/css" rel="stylesheet" href="assets/css/bootstrap.min.css">
8-
<link type="text/css" rel="stylesheet" href="assets/css/all.min.css">
9-
<link type="text/css" rel="stylesheet" href="assets/css/animate.css">
10-
<link type="text/css" rel="stylesheet" href="assets/css/style.css">
117
<title>Page Not Found</title>
8+
<style type="text/css">
9+
body {
10+
background-color: #f5f5f5;
11+
margin-top: 8%;
12+
color: #5d5d5d;
13+
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
14+
text-shadow: 0px 1px 1px rgba(255,255,255,0.75);
15+
text-align: center !important;
16+
}
17+
18+
h1 {
19+
font-size: 2.45em;
20+
font-weight: 700;
21+
color: #5d5d5d;
22+
letter-spacing: -0.02em;
23+
margin-bottom: 30px;
24+
margin-top: 30px;
25+
}
26+
27+
.container {
28+
width: 100%;
29+
margin-right: auto;
30+
margin-left: auto;
31+
}
32+
33+
.animated {
34+
-webkit-animation-duration: 1s;
35+
animation-duration: 1s;
36+
-webkit-animation-fill-mode: both;
37+
animation-fill-mode: both;
38+
}
39+
40+
.fadeIn {
41+
-webkit-animation-name: fadeIn;
42+
animation-name: fadeIn;
43+
}
44+
45+
.info {
46+
color:#5594cf;
47+
fill:#5594cf;
48+
}
49+
50+
.error {
51+
color:#c92127;
52+
fill:#c92127;
53+
}
54+
55+
.warning {
56+
color:#ffcc33;
57+
fill:#ffcc33;
58+
}
59+
60+
.success {
61+
color:#5aba47;
62+
fill:#5aba47;
63+
}
64+
65+
.icon-large {
66+
height: 132px;
67+
width: 132px;
68+
}
69+
70+
.description-text {
71+
color: #707070;
72+
letter-spacing: -0.01em;
73+
font-size: 1.25em;
74+
line-height: 20px;
75+
}
76+
77+
.footer {
78+
margin-top: 40px;
79+
font-size: 0.7em;
80+
}
81+
82+
.delay-1s {
83+
-webkit-animation-delay: 1s;
84+
animation-delay: 1s;
85+
}
86+
87+
@keyframes fadeIn {
88+
from { opacity: 0; }
89+
to { opacity: 1; }
90+
}
91+
92+
</style>
1293
</head>
1394
<body>
1495
<div class="container text-center">
1596
<div class="row">
1697
<div class="col">
1798
<div class="animated fadeIn">
18-
<i class="fas fa-question-circle icon-large info"></i>
99+
<svg class="info icon-large fa-question-circle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
100+
<path d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"></path>
101+
</svg>
19102
</div>
20103
<h1 class="animated fadeIn">Page Not Found</h1>
21104
<div class="description-text animated fadeIn delay-1s">
@@ -26,7 +109,5 @@ <h1 class="animated fadeIn">Page Not Found</h1>
26109
</div>
27110
</div>
28111
</div>
29-
30-
<script src="assets/js/bootstrap.min.js"></script>
31112
</body>
32113
</html>

install/deb/templates/web/skel/document_errors/50x.html

Lines changed: 88 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,101 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7-
<link type="text/css" rel="stylesheet" href="assets/css/bootstrap.min.css">
8-
<link type="text/css" rel="stylesheet" href="assets/css/all.min.css">
9-
<link type="text/css" rel="stylesheet" href="assets/css/animate.css">
10-
<link type="text/css" rel="stylesheet" href="assets/css/style.css">
117
<title>Internal Server Error</title>
8+
<style type="text/css">
9+
body {
10+
background-color: #f5f5f5;
11+
margin-top: 8%;
12+
color: #5d5d5d;
13+
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
14+
text-shadow: 0px 1px 1px rgba(255,255,255,0.75);
15+
text-align: center !important;
16+
}
17+
18+
h1 {
19+
font-size: 2.45em;
20+
font-weight: 700;
21+
color: #5d5d5d;
22+
letter-spacing: -0.02em;
23+
margin-bottom: 30px;
24+
margin-top: 30px;
25+
}
26+
27+
.container {
28+
width: 100%;
29+
margin-right: auto;
30+
margin-left: auto;
31+
}
32+
33+
.animated {
34+
-webkit-animation-duration: 1s;
35+
animation-duration: 1s;
36+
-webkit-animation-fill-mode: both;
37+
animation-fill-mode: both;
38+
}
39+
40+
.fadeIn {
41+
-webkit-animation-name: fadeIn;
42+
animation-name: fadeIn;
43+
}
44+
45+
.info {
46+
color:#5594cf;
47+
fill:#5594cf;
48+
}
49+
50+
.error {
51+
color:#c92127;
52+
fill:#c92127;
53+
}
54+
55+
.warning {
56+
color:#ffcc33;
57+
fill:#ffcc33;
58+
}
59+
60+
.success {
61+
color:#5aba47;
62+
fill:#5aba47;
63+
}
64+
65+
.icon-large {
66+
height: 132px;
67+
width: 132px;
68+
}
69+
70+
.description-text {
71+
color: #707070;
72+
letter-spacing: -0.01em;
73+
font-size: 1.25em;
74+
line-height: 20px;
75+
}
76+
77+
.footer {
78+
margin-top: 40px;
79+
font-size: 0.7em;
80+
}
81+
82+
.delay-1s {
83+
-webkit-animation-delay: 1s;
84+
animation-delay: 1s;
85+
}
86+
87+
@keyframes fadeIn {
88+
from { opacity: 0; }
89+
to { opacity: 1; }
90+
}
91+
92+
</style>
1293
</head>
1394
<body>
1495
<div class="container text-center">
1596
<div class="row">
1697
<div class="col">
1798
<div class="animated fadeIn">
18-
<i class="fas fa-exclamation-triangle icon-large warning"></i>
99+
<svg class="warning icon-large fa-exclamation-triangle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512">
100+
<path d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"></path>
101+
</svg>
19102
</div>
20103
<h1 class="animated fadeIn">Internal Server Error</h1>
21104
<div class="description-text animated fadeIn delay-1s">
@@ -26,7 +109,5 @@ <h1 class="animated fadeIn">Internal Server Error</h1>
26109
</div>
27110
</div>
28111
</div>
29-
30-
<script src="assets/js/bootstrap.min.js"></script>
31112
</body>
32113
</html>

0 commit comments

Comments
 (0)