src/ztfy/myams/templates/fullpage-modal-layout.pt
changeset 0 8a19e25e39e4
child 45 c7cc27ab398f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/ztfy/myams/templates/fullpage-modal-layout.pt	Wed May 07 10:36:24 2014 +0200
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="fr-FR"
+	  tal:define="config context/myams:configuration; static config/static_configuration;">
+<head>
+	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+	<meta charset="utf-8">
+
+	<title tal:content="config/title"></title>
+	<meta name="description" tal:attributes="content config/description">
+	<meta name="author" tal:attributes="content config/author">
+
+	<meta name="HandheldFriendly" content="True">
+	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+
+	<tal:if condition="config/icon">
+		<!-- Favorite icon -->
+		<link rel="shortcut icon" tal:attributes="href icon/@@absolute_url" type="image/x-icon">
+		<link rel="icon" tal:attributes="href icon/@@absolute_url" type="image/x-icon">
+	</tal:if>
+
+	<tal:var replace="context/myams:resources" />
+</head>
+<body tal:attributes="class static/body_css_class">
+
+	<!-- Content -->
+	<div id="content" style="opacity: 1;">
+		<!--[if IE 8]>
+		<h1>Your browser is too old. Please use Internet Explorer version 9 or later.</h1>
+		<![endif]-->
+		<div class="modal-dialog modal-medium"
+			 tal:attributes="class string:modal-dialog ${view/dialog_class}">
+			<tal:var replace="structure provider:pagelet" />
+		</div>
+	</div>
+
+	<tal:if condition="config/google_analytics_key">
+		<!-- Google Analytics -->
+		<script type="text/javascript">
+
+		  var _gaq = _gaq || [];
+		  _gaq.push(['_setAccount', 'UA-xxxxxx-y']);
+		  _gaq.push(['_trackPageview']);
+
+		  (function() {
+			var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+			ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+			var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+		  })();
+
+		</script>
+	</tal:if>
+</body>
+</html>