src/pyams_skin/interfaces/templates/fullpage-modal-layout.pt
changeset 557 bca7a7e058a3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/interfaces/templates/fullpage-modal-layout.pt	Thu Feb 13 11:43:31 2020 +0100
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html lang="en" i18n:domain="pyams_skin"
+	  tal:define="config tales:back_configuration;
+				  zmi tales:zmi_configuration;"
+	  tal:attributes="lang request.locale_name">
+<head>
+	<tal:var replace="structure tales:metas" />
+
+	<title tal:attributes="data-ams-title-prefix config.get_title_prefix(request)"
+		   tal:content="view.title | context.title | config.title | nothing"></title>
+
+	<tal:if define="icon config.icon | nothing; url tales:absolute_url(icon);" condition="icon">
+		<!-- Favorite icon -->
+		<link rel="shortcut icon" tal:attributes="href url" type="image/x-icon">
+		<link rel="icon" tal:attributes="href url" type="image/x-icon">
+	</tal:if>
+
+	<tal:var replace="tales:resources" />
+
+</head>
+<body tal:attributes="class zmi.body_css_class">
+
+	<!-- Content -->
+	<div id="content" style="opacity: 1;">
+		<!--[if lt IE 9]>
+		<h1 i18n:translate="">Your browser is too old. Please install version 9 or higher of Internet Explorer.</h1>
+		<![endif]-->
+		<div class="modal-dialog modal-medium"
+			 tal:attributes="class string:modal-dialog ${view.dialog_class | 'modal-medium'}">
+			<tal:var replace="structure provider:pagelet" />
+		</div>
+	</div>
+	<!-- end content -->
+
+	<!-- Javascript extensions -->
+	<tal:var content="structure provider:pyams.jsextensions" />
+	<!-- end Javascript extensions -->
+</body>
+</html>