Files
Phraseanet/templates/web/login/layout/base-layout.html.twig
2013-07-12 20:06:31 +02:00

113 lines
5.9 KiB
Twig

<!DOCTYPE html>
<!--[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]-->
<head>
{% block header %}
<title>{% block title %}Phraseanet{% endblock title %}</title>
{% block header_meta %}
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta content="{{ app['phraseanet.registry'].get('GV_metaDescription') }}" name="description"/>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta content="{{ app['phraseanet.registry'].get('GV_metaKeywords') }}" name="keywords"/>
<meta content="phraseanet" name="generator"/>
{% endblock header_meta %}
{% block header_rss %}{% endblock %}
{% block favicon %}
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
{% endblock favicon %}
{% block header_stylesheet %}
<link rel="stylesheet" href="{{ path('minifier', { 'g' : 'authentication_css' }) }}">
<!--[if lte IE 8]>
<link rel="stylesheet" href="{ path('minifier', { 'f' : 'assets/font-awesome/css/font-awesome-ie7.min.css' }) }}">
<![endif]-->
{% endblock header_stylesheet %}
{% block header_javascript %}
<!--[if lte IE 8]>
<script type="text/javascript" src="{{ path('minifier', {'f' : 'assets/json3/lib/json3.js'}) }}"></script>
<![endif]-->
{# include backbone templates #}
{% include "login/common/templates.html.twig" %}
<script type="text/javascript" src="{{ path('minifier', {'g' : 'authentication'}) }}"></script>
{% endblock header_javascript %}
{% endblock header %}
</head>
<body>
{% block google_chrome_frame %}
{% if app['phraseanet.registry'].get('GV_display_gcf') %}
<!--[if lt IE 7]>
{% set browserLink = "<a href='http://browsehappy.com/'>" ~ app['browser'].getBrowser() ~ "</a>"|raw %}
{% set GCFLink = "<a href='http://www.google.com/chromeframe/?redirect=true'>Google Chrome Frame</a>"|raw %}
<p class="alert alert-warning text-center">
<strong>{% trans %}You are using an outdated browser.{% endtrans %}</strong>
{% trans %}Please upgrade {{ browserLink }} or activate {{ GCFLink }} to improve your experience.{% endtrans %}
</p>
<![endif]-->
{% endif %}
{% endblock google_chrome_frame %}
<div class="container full-height">
{% block content_scaffholding %}{% endblock %}
{% block footer_scaffholding %}
<div class="row-fluid">
<div class="span12">
<div class="footer well-small">
{% block footer %}
<div class="row-fluid">
<div class="span9" >
{% block footer_content %}
<div class="footer-block">
<ul class="inline footer-list unstyled">
<li class="item-first" >
<a href="{{ path("homepage") }}">{% trans "Home" %}</a>
</li>
<li>
<a href="#">{% trans "Help" %}</a>
</li>
{% if app.hasTermsOfUse() %}
<li>
{% block tou_link %}
<a href="{{ path("login_cgus") }}">{% trans "Terms of use" %}</a>
{% endblock tou_link %}
</li>
{% endif %}
<li>
{% block copyright %}
&copy; Copyright <a href="http://www.alchemy.fr" target="_blank">Alchemy</a> 2005-{{ "now"|date("Y") }}
{% endblock copyright %}
</li>
</ul>
</div>
{% endblock footer_content %}
</div>
<div class="span3">
<div class="footer-block text-right">
{% block footer_logo %}<a href="https://www.phraseanet.com" target="_blank">Phraseanet</a>{% endblock footer_logo %}
</div>
</div>
</div>
{% endblock footer %}
</div>
</div>
</div>
{% endblock footer_scaffholding %}
</div><!--/.fluid-container-->
{% include 'common/analytics.html.twig' %}
{% block scripts %}{% endblock scripts %}
</body>
</html>