summaryrefslogtreecommitdiffstats
path: root/api/templates/error.html
blob: ab4d91378bbe6b68a8d17eaa454fb62777c3bd0f (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
<html>
<head>
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<title>{{ .SiteName }} - Error</title>
	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
	<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
	<link href='https://fonts.googleapis.com/css?family=Lato:400,700,900' 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>{{ .SiteName }} needs your help:</h2>
			<p>{{.Message}}</p>
		</div>
	</div>
</body>
<script>
	var details = "{{ .Details }}";
	if (details.length > 0) {
		console.log("error details: " + details);
	}
</script>
</html>