summaryrefslogtreecommitdiffstats
path: root/api/templates/error.html
blob: 6b643556e0bce1c388f953404cf107be975b3745 (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>{{ .ClientProps.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.ico" type="image/x-icon">
    <link rel="shortcut icon" href="/static/images/favicon.ico" 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>{{ .ClientProps.SiteName }} needs your help:</h2>
			<p>{{ .Props.Message }}</p>
			<a href="{{.Props.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>