/
error.html
99 lines (96 loc) · 3.88 KB
/
error.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Basic Page Needs
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta charset="utf-8">
<title>{{ title|default("Panel Error", true) }}</title>
<!-- Mobile Specific Metas
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- FONT
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600&Lato|Work+Sans:400,700&display=swap" rel="stylesheet" type='text/css'>
<!-- Favicon
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="apple-touch-icon" sizes="180x180" href="{{base_url|default("", true) }}static/extensions/panel/images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="{{base_url|default("", true) }}static/extensions/panel/images/favicon.ico">
<link rel="manifest" href="{{base_url|default("", true) }}static/extensions/panel/images/site.webmanifest">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<script type="module" src="{{ npm_cdn|default('https://cdn.jsdelivr.net/npm', true) }}/@microsoft/fast-components@2.30.6/dist/fast-components.js"></script>
<style>
html {
height:100%;
}
html, #body-design-provider {
min-height: 100vh;
}
body {
margin: 0px;
padding: 0;
font-style: normal;
font-variant-ligatures: normal;
font-variant-caps: normal;
font-variant-numeric: normal;
font-variant-east-asian: normal;
font-weight: normal;
font-stretch: normal;
font-size: 16px;
line-height: normal;
font-family: aktiv-grotesk, "Segoe UI", Arial, Helvetica, sans-serif;
overflow-y: scroll;
}
.header {
background-image: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) ),url('{{base_url|default("", true) }}static/extensions/panel/images/index_background.png');
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.header-content {
display: flex;
flex-direction: column;
padding: 2rem;
}
#title {
background: transparent;
}
#subtitle {
font-size: 2em;
font-weight: bold;
margin: 1em 0 0 1em;
color: white;
}
.error-message {
text-align: center;
}
#panel-logo {
width: 300px;
}
{% block extra_style %}{% endblock %}
</style>
</head>
<body>
<fast-design-system-provider id="body-design-provider" use-defaults background-color="#ffffff">
<fast-design-system-provider id="header-design-provider" use-defaults background-color="#000000">
<section class="header">
<div class="header-content">
<div>
<fast-anchor id="title" href="https://panel.holoviz.org" appearance="neutral" target="_self">
<img id="panel-logo" src="https://panel.holoviz.org/_static/logo_horizontal.png"/>
</fast-anchor>
<fast-tooltip anchor="title">Click to visit the Panel web site</fast-tooltip>
</div>
<span id="subtitle">{{ error_type|default("Error", true) }}: {{ error }}</span>
</div>
</section>
</fast-design-system-provider>
<section class="error-message">
{% block content %}
<h3>Error Message: {{ error_msg }}</h3>
{% endblock %}
</section>
<fast-divider></fast-divider>
</fast-design-system-provider>
</body>
</html>