2 {% load feincms_tags feincms_page_tags %}
3 <!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
4 <!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
5 <!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
6 <!--[if (gte IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
8 {% block starthead %}{% endblock starthead %}
9 <meta charset="{{ resource.meta.charset }}">
11 <meta http-equiv="X-UA-Compatible" content="{{ resource.meta.compatibility }}">
14 {% block page.title %}{% if feincms_page.page_title %}{{ feincms_page.page_title }}
15 {% else %}{{ feincms_page.title }}{% endif %} | {{ APP.title }}{% endblock %}
18 <meta name="description" content="{{ resource.meta.description }}">
19 <meta name="author" content="{{ resource.meta.author }}">
20 <meta name="viewport" content="">
23 <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
25 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
30 <link rel="shortcut icon" href="">
31 <link rel="apple-touch-icon" href="">
32 {% endblock favicons %}
35 <link href='http://fonts.googleapis.com/css?family=Antic' rel='stylesheet' type='text/css'>
36 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}cloudcms/css/styles.css">
40 <script src="{{ MEDIA_URL }}cloudcms/js/modernizr-2.0.6.js"></script>
41 <script src="{{ MEDIA_URL }}cloudcms/js/jquery-1.7.1.min.js"></script>
42 <script src="{{ MEDIA_URL }}cloudcms/js/jquery.infieldlabel.js"></script>
43 <script src="{{ MEDIA_URL }}cloudcms/js/jquery.cookie.js"></script>
44 <script src="{{ MEDIA_URL }}cloudcms/js/form-errors.js"></script>
46 <script src="{{ MEDIA_URL }}cloudcms/js/colorbox/jquery.colorbox.js"></script>
49 {% block page.cms.media %}
50 {{ feincms_page.content.media }}
54 {% block page.scripts.cloudbar %}
55 {% if CLOUDBAR_BASE_URL %}
57 var CLOUDBAR_ACTIVE_SERVICE = '{{ CLOUDBAR_ACTIVE_SERVICE }}';
58 var CLOUDBAR_LOCATION = "{{ CLOUDBAR_BASE_URL }}";
60 $(document).ready(function(){
61 $.getScript(CLOUDBAR_LOCATION + 'cloudbar.js');
67 <script type="text/javascript">
68 $(document).ready(function() {
69 $("form.innerlabels label").inFieldLabels();
70 $("form input").attr('autocomplete', 'off');
71 $("form .form-row").formErrors();
74 {% block endhead %}{% endblock endhead %}
78 <body class='cms-page-{{ feincms_page.slug }}'>
79 <div class='container'>
81 <div class="mainlogo">
83 <a href="/" title="{{ APP.title }}">
84 <img src="{{ APP.logo.get_absolute_url }}" alt="{{ APP.title }}" />
87 <h1>{{ APP.title }}</h1>
90 <div class="navigation">
91 <ul class="mainnav inline">
93 {% feincms_navigation of feincms_page as sublevel level=2,depth=1 %}
94 {% for p in sublevel %}
95 <li class="{% if p|is_equal_or_parent_of:feincms_page %}active{% endif %}">
96 <a href="{{ p.get_absolute_url }}">{{ p.title }}</a></li>
100 <ul class="mainnav inline subnav">
101 {% block page.subnav %}
102 {% if feincms_page.override_url != "/" %}
103 {% feincms_navigation of feincms_page as sublevel level=3,depth=1 %}
104 {% for p in sublevel %}
105 <li class="{% if p|is_equal_or_parent_of:feincms_page or p.url == request.path %}active{% endif %}">
106 <a href="{{ p.get_absolute_url }}">{{ p.title }}</a></li>
114 {% block page.body %}