summaryrefslogtreecommitdiffstats
path: root/api/templates/error.html
blob: adb8f9f7d945fc920ab5897b230fb6ddd4375aef (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
<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=Open+Sans:400,600,700' 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>
			<a href="{{.SiteURL}}">Go back to team site</a>
		</div>
	</div>
</body>
<script>
	var details = "{{ .Details }}";
	if (details.length > 0) {
		console.log("error details: " + details);
	}
</script>
</html>