<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">

<head>
	<title>{{title}}</title>

	<!-- General META -->
	<meta charset="utf-8">
	<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">

	<!-- Semantic META -->
	<meta name="keywords" content="{{keywords}}">
	<meta name="description" content="{{description}}">

	<!-- Facebook META -->
	<meta property="fb:app_id" content="{{facebookAppId}}">
	<meta property="og:site_name" content="{{title}}">
	<meta property="og:title" content="{{title}}">
	<meta property="og:description" content="{{description}}">
	<meta property="og:url" content="{{url}}">
	<meta property="og:image" content="/img/brand/logo.png">
	<meta property="og:type" content="website">

	<!-- Twitter META -->
	<meta name="twitter:title" content="{{title}}">
	<meta name="twitter:description" content="{{description}}">
	<meta name="twitter:url" content="{{url}}">
	<meta name="twitter:image" content="/img/brand/logo.png">

	<!-- Fav Icon -->
	<link href="/modules/core/img/brand/favicon.ico" rel="shortcut icon" type="image/x-icon">

	<link rel="stylesheet" href="/lib/bootstrap/dist/css/bootstrap.min.css">
	<!--Bower CSS dependencies-->
	{% for bowerCssFile in bowerCssFiles %}
		<link rel="stylesheet" href="{{bowerCssFile}}">
	{% endfor %}
	<link rel="stylesheet" href="/lib/angular-input-stars/angular-input-stars.css">
	<link rel="stylesheet" href="/lib/jquery-ui/themes/flick/jquery-ui.css"/>
	<link rel="stylesheet" href="/modules/core/css/github-fork-ribbon.css"/>
	<!--[if lt IE 9]>
        <link rel="stylesheet" href="gh-fork-ribbon.ie.css">
    <![endif]-->
	<!-- end Bower CSS dependencies-->

	<!--Application CSS Files-->
	{% for cssFile in cssFiles %}
		<link rel="stylesheet" href="{{cssFile}}">
	{% endfor %}
	<!-- end Application CSS Files-->


	<!-- HTML5 Shim -->
	<!--[if lt IE 9]>
		<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
</head>

<body ng-cloak>
	<div class="github-fork-ribbon-wrapper right-bottom hidden-xs">
        <div class="github-fork-ribbon">
            <a href="https://github.com/whitef0x0/tellform">Fork me on GitHub</a>
        </div>
    </div>
	<header data-ng-include="'/modules/core/views/header.client.view.html'"></header>
	<section class="content">
		{% block content %}{% endblock %}
	</section>

	<script src="lib/file-saver.js/FileSaver.js" type="text/javascript"></script>
	<!--Embedding The User Object-->
	<script type="text/javascript">
		var user = {{ user | json | safe }};
	</script>

	<!--Bower JS dependencies-->
	{% for bowerJSFile in bowerJSFiles %}
		<script type="text/javascript" src="{{bowerJSFile}}"></script>
	{% endfor %}
	<!-- end Bower JS dependencies-->

	<!--Application JavaScript Files-->
	{% for jsFile in jsFiles %}
		<script type="text/javascript" src="{{jsFile}}"></script>
	{% endfor %}
	<!-- end Application Javascript dependencies-->

	{% if process.env.NODE_ENV === 'development' %}
	<!--Livereload script rendered -->
	<script type="text/javascript" src="http://{{request.hostname}}:35729/livereload.js"></script>
	{% endif %}

	<script>
  		// Raven.config('http://db01e03015ce48e2b68240ea8254b17c@sentry.polydaic.com/1', {
	   //    // Raven settings
	   //  })
	   //  .setUser({
	   //    "id": "SERVER_RENDERED_ID",
	   //    "email": "SERVER_RENDERED_EMAIL"
	   //  })
	   //  .install()
	</script>

	<!-- [if lt IE 9]>
	<section class="browsehappy jumbotron hide">
		<h1>Hello there!</h1>
		<p>You are using an old browser which we unfortunately do not support.</p>
		<p>Please <a href="http://browsehappy.com/">click here</a> to update your browser before using the website.</p>
		<p><a href="http://browsehappy.com" class="btn btn-primary btn-lg" role="button">Yes, upgrade my browser!</a></p>
	</section>
	<![endif] -->

</body>

</html>
