@layout.latte 2.2 KB
Newer Older
Martin Gregor's avatar
Martin Gregor committed
1
2
3
4
5
6
7
8
9
{**
 * My Application layout template.
 *
 * @param string   $basePath web base path
 * @param string   $robots   tell robots how to index the content of a page (optional)
 * @param array    $flashes  flash messages
 *}

<!DOCTYPE html>
10
11
12
13
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
Martin Gregor's avatar
Martin Gregor committed
14
15
<head>
	<meta charset="UTF-8">
16
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
Martin Gregor's avatar
Martin Gregor committed
17
	<meta name="description" content="">
18
    <meta name="viewport" content="width=device-width">
Martin Gregor's avatar
Martin Gregor committed
19
20
	<meta name="robots" content="{$robots}" n:ifset="$robots">

21
	<title>{block title|striptags|upper}Annotations{/block}</title>
Martin Gregor's avatar
Martin Gregor committed
22

23
    <link rel="stylesheet" href="css/bootstrap.min.css">
Martin Gregor's avatar
Martin Gregor committed
24
	<link rel="shortcut icon" href="{$basePath}/favicon.ico">
25
26
27
28
29
30
31
32
33
34
35
36
37
38
    <style>
        body {
            padding-top: 50px;
            padding-bottom: 20px;
        }
    </style>
    <link rel="stylesheet" href="css/bootstrap-theme.min.css">
    <link rel="stylesheet" href="css/main.css">

    <!--[if lt IE 9]>
    <script src="js/vendor/html5-3.6-respond-1.1.0.min.js"></script>
    <![endif]-->
    {block styles}{/block}
    {block head}{/block}
Martin Gregor's avatar
Martin Gregor committed
39
40
</head>

Martin Gregor's avatar
Martin Gregor committed
41
<body class="container">
42
43
44
    <!--[if lt IE 7]>
    <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
    <![endif]-->
Martin Gregor's avatar
Martin Gregor committed
45
46
47
48
49
50
51
	<script> document.documentElement.className+=' js' </script>

	<div n:foreach="$flashes as $flash" class="flash {$flash->type}">{$flash->message}</div>

	{include #content}

	{block scripts}
52
53
54
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
    <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.10.1.min.js"><\/script>')</script>
    <script src="js/vendor/bootstrap.min.js"></script>
Martin Gregor's avatar
Martin Gregor committed
55
56
57
58
59
	<script src="{$basePath}/js/netteForms.js"></script>
	<script src="{$basePath}/js/main.js"></script>
	{/block}
</body>
</html>