summaryrefslogtreecommitdiffstats
path: root/api/templates/error.html
blob: 2b6211be266944f2acef6afe81a139e87422bc94 (plain)
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
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>{{ .ClientCfg.SiteName }} - Error</title>

    <link rel="stylesheet" href="/static/css/bootstrap-3.3.5.min.css">
    <link rel="stylesheet" href="/static/css/jasny-bootstrap.min.css" rel="stylesheet">

    <script src="/static/js/react-with-addons-0.13.3.min.js"></script>
    <script src="/static/js/jquery-1.11.1.min.js"></script>
    <script src="/static/js/bootstrap-3.3.5.min.js"></script>
    <script src="/static/js/react-bootstrap-0.25.1.min.js"></script>

    <link id="favicon" rel="icon" href="/static/images/favicon/favicon-16x16.png" type="image/x-icon">
    <link rel="shortcut icon" href="/static/images/favicon/favicon-16x16.png" type="image/x-icon">
    <link href='/static/css/google-fonts.css' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="/static/css/styles.css">


</head>
<body class="white error">
	<div class="container-fluid">
		<div class="error__container">
			<div class="error__icon"><i class="fa fa-exclamation-triangle"></i></div>
			<h2>{{.Props.Title}}</h2>
			<p>{{ .Props.Message }}</p>
			<a href="{{.Props.SiteURL}}">{{.Props.Link}}</a>
		</div>
	</div>
</body>
<script>
	var details = "{{ .Details }}";
	if (details.length > 0) {
		console.log("error details: " + details);
	}
</script>
</html>