diff options
Diffstat (limited to 'api/templates/error.html')
-rw-r--r-- | api/templates/error.html | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/api/templates/error.html b/api/templates/error.html index adb8f9f7d..6b643556e 100644 --- a/api/templates/error.html +++ b/api/templates/error.html @@ -1,20 +1,30 @@ <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"> + <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>{{ .SiteName }} needs your help:</h2> - <p>{{.Message}}</p> - <a href="{{.SiteURL}}">Go back to team site</a> + <h2>{{ .ClientProps.SiteName }} needs your help:</h2> + <p>{{ .Props.Message }}</p> + <a href="{{.Props.SiteURL}}">Go back to team site</a> </div> </div> </body> |