root / main / templates / qm / qm_base.html @ f84a6a85
History | View | Annotate | Download (7.1 kB)
| 1 |
{% load i18n %}
|
|---|---|
| 2 |
{% load localeurl_tags %}
|
| 3 |
{% load static %}
|
| 4 |
{# load staticfiles #} {# django 1.4 only #}
|
| 5 |
|
| 6 |
<!DOCTYPE HTML>
|
| 7 |
|
| 8 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{ request.LANGUAGE_CODE }}" lang="{{ request.LANGUAGE_CODE }}" {% ifequal 'facebook' %} xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml" {% endifequal %} > |
| 9 |
|
| 10 |
<head > |
| 11 |
|
| 12 |
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> |
| 13 |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> |
| 14 |
<META NAME="ROBOTS" CONTENT="NOINDEX,NOFOLLOW"> |
| 15 |
|
| 16 |
|
| 17 |
<link rel="stylesheet" media="all" href="{{ STATIC_URL}}theme/style.css" /> |
| 18 |
<link rel="stylesheet" media="all" href="{{STATIC_URL}}qm/stylesheets/screen.css" /> |
| 19 |
<!--link rel="stylesheet" media="all" href="{{STATIC_URL}}qm/css/qm.css" /-->
|
| 20 |
|
| 21 |
|
| 22 |
<link rel="shortcut icon" href="{{STATIC_URL}}images/ovi_32_32.ico" /> |
| 23 |
|
| 24 |
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> |
| 25 |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> |
| 26 |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script> |
| 27 |
|
| 28 |
<script type="text/javascript" src="{{STATIC_URL}}js/scripts.js"></script> |
| 29 |
<script src="http://api.html5media.info/1.1.5/html5media.min.js"></script> |
| 30 |
|
| 31 |
<script type="text/javascript" src="{{STATIC_URL}}theme/js/webtrends.js"></script> |
| 32 |
|
| 33 |
|
| 34 |
<script>
|
| 35 |
//on défini l'url ici pour être utiliser dans le fichier google-maps-script.js
|
| 36 |
var staticRoot = "{{STATIC_URL}}"; |
| 37 |
var url_world = "{%url world_home %}"; |
| 38 |
|
| 39 |
</script>
|
| 40 |
|
| 41 |
|
| 42 |
{% block header %}{% endblock %}
|
| 43 |
|
| 44 |
{% block meta %}{% endblock %}
|
| 45 |
|
| 46 |
{% ifequal UserAgent 'facebook' %}
|
| 47 |
|
| 48 |
{% block opengraph %}{% endblock %}
|
| 49 |
{% endifequal %}
|
| 50 |
|
| 51 |
|
| 52 |
<!--[if lte IE 7]>
|
| 53 |
<link rel="stylesheet" type="text/css" media="all" href="{{STATIC_URL}}css/lte-ie7.css" />
|
| 54 |
<![endif]--> |
| 55 |
|
| 56 |
<!--[if lt IE 9]>
|
| 57 |
<script src="{{STATIC_URL}}js/html5.js" type="text/javascript"></script>
|
| 58 |
<![endif]--> |
| 59 |
|
| 60 |
<noscript>
|
| 61 |
<!-- CSS pour la page lorsque le JS est desactivé -->
|
| 62 |
<link rel="stylesheet" media="all" href="{{STATIC_URL}}css/noscript.css" /> |
| 63 |
</noscript>
|
| 64 |
|
| 65 |
<script type="text/javascript"> |
| 66 |
var _gaq = _gaq || [];
|
| 67 |
_gaq.push(['_setAccount', 'UA-26011867-1']); |
| 68 |
_gaq.push(['_trackPageview']);
|
| 69 |
|
| 70 |
(function() {
|
| 71 |
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
| 72 |
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
| 73 |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
| 74 |
})(); |
| 75 |
|
| 76 |
</script>
|
| 77 |
|
| 78 |
</head>
|
| 79 |
<!-- Debut header.php -->
|
| 80 |
<body class="site-qm" onload="if(typeof(initialize) != 'undefined') { initialize(); if(typeof(load_map) != 'undefined') load_map('{{collection_id}}');}"> |
| 81 |
<header id="menu"> |
| 82 |
|
| 83 |
<div id="bg_ovi"></div> |
| 84 |
<div id="menu-content"> |
| 85 |
|
| 86 |
<div id="logos"> |
| 87 |
|
| 88 |
<a href="http://www.sat.qc.ca/?lang={{request.LANGUAGE_CODE}}" target="_blank"><img src="{{STATIC_URL}}images/sat.png" alt="sat"/></a> |
| 89 |
<a href="http://invisible.sat.qc.ca/?lang={{request.LANGUAGE_CODE}}" ><img src="{{STATIC_URL}}images/invisible.png" alt="Invisible"/></a> |
| 90 |
<div id="beta"></div> |
| 91 |
</div>
|
| 92 |
|
| 93 |
<nav id="header-nav"> |
| 94 |
|
| 95 |
<ul class="menu"> |
| 96 |
<li class="link" ><a href="#">Accueil</a></li> |
| 97 |
<li class="link" ><a href="#">Inscription</a></li> |
| 98 |
<li class="link" ><a href="#">Upload</a></li> |
| 99 |
<li class="link" ><a href="#">Audio</a></li> |
| 100 |
<li class="link" ><a href="#">Video</a></li> |
| 101 |
</ul>
|
| 102 |
|
| 103 |
</nav>
|
| 104 |
|
| 105 |
<div id="menu-auth"> |
| 106 |
{% if user.is_authenticated %}
|
| 107 |
<a class="auth_button" href="{% url profile_view %}">{% blocktrans with user.first_name as ufn %} {{ufn}}'s profile{% endblocktrans%}</a> / |
| 108 |
<a href="{% url auth_logout %}">{% trans "Log out" %}</a> |
| 109 |
{% else %}
|
| 110 |
<a class="auth_button" href="{% url auth_login %}">{% trans "log in" %}</a> / |
| 111 |
<a class="auth_button" href="{% url registration_register %}">{% trans "register" %}</a> |
| 112 |
{% endif %}
|
| 113 |
</div>
|
| 114 |
|
| 115 |
<div id="menu-right"> |
| 116 |
|
| 117 |
<div class="link-social"><a href="http://www.facebook.com/pages/invisible/248282371881198?sk=wall"><img src="{{STATIC_URL}}images/btn_facebook.png" alt="facebook"/></a></div> |
| 118 |
<div class="link-social"><a href="http://twitter.com/#!/sat_metalab"><img src="{{STATIC_URL}}images/btn_twitter.png" alt="twitter"/></a></div> |
| 119 |
|
| 120 |
{% include "site/language.html" %}
|
| 121 |
|
| 122 |
</div>
|
| 123 |
<div id="content-triangle"> |
| 124 |
<div id="triangle"></div> |
| 125 |
</div>
|
| 126 |
</div>
|
| 127 |
</header>
|
| 128 |
<header id="header-qm"></header> |
| 129 |
<div id="content-qm"> |
| 130 |
{% block content %}{% endblock %}
|
| 131 |
</div>
|
| 132 |
<footer id="main-footer"> |
| 133 |
|
| 134 |
<div id="footer-content"> |
| 135 |
|
| 136 |
<ul>
|
| 137 |
<li class="footer-color" style="background-color:#b29e2d;"></li> |
| 138 |
<li class="footer-color" style="background-color:#285b5f;"></li> |
| 139 |
<li class="footer-color" style="background-color:#ec6454;"></li> |
| 140 |
<li class="footer-color" style="background-color:#989898;"></li> |
| 141 |
</ul>
|
| 142 |
|
| 143 |
|
| 144 |
<ul class="menu"> |
| 145 |
<li><a href="#">Licenses</a></li> |
| 146 |
<li><a href="#" >Conditions</a></li> |
| 147 |
<li><a href="#" >Partners</a></li> |
| 148 |
<li><a href="#">Privacy</a></li> |
| 149 |
</ul>
|
| 150 |
|
| 151 |
</div>
|
| 152 |
|
| 153 |
</footer>
|
| 154 |
<!-- debut footer -->
|
| 155 |
{% comment %}
|
| 156 |
<script type="text/javascript"> |
| 157 |
//<![CDATA[
|
| 158 |
var _tag=new WebTrends(); |
| 159 |
_tag.dcsGetId(); |
| 160 |
//]]>>
|
| 161 |
</script>
|
| 162 |
<script type="text/javascript"> |
| 163 |
//<![CDATA[
|
| 164 |
// Add custom parameters here.
|
| 165 |
//_tag.DCSext.param_name=param_value;
|
| 166 |
_tag.dcsCollect(); |
| 167 |
//]]>>
|
| 168 |
</script>
|
| 169 |
|
| 170 |
<noscript>
|
| 171 |
<div><img alt="DCSIMG" id="DCSIMG" width="1" height="1" src="http://rabbit.pch.gc.ca/dcsm4qph500000oiipy1to1g3_6p3u/njs.gif?dcsuri=/nojavascript&WT.js=No&WT.tv=8.6.2"/></div> |
| 172 |
</noscript> {% endcomment %}
|
| 173 |
<!-- END OF SmartSource Data Collector TAG -->
|
| 174 |
|
| 175 |
</body>
|
| 176 |
|
| 177 |
</html>
|
| 178 |
|
