]> CRI, Mines Paris - PSL - Plinn.git/blobdiff - Products/Plinn/skins/generic/index_html.pt
Déplacement pour eggification.
[Plinn.git] / Products / Plinn / skins / generic / index_html.pt
diff --git a/Products/Plinn/skins/generic/index_html.pt b/Products/Plinn/skins/generic/index_html.pt
new file mode 100755 (executable)
index 0000000..ce514aa
--- /dev/null
@@ -0,0 +1,63 @@
+<html metal:use-macro="here/main_template/macros/master" >
+<head>
+  <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+</head>
+<body style="position: relative">
+
+<div metal:fill-slot="header"
+     tal:define="global has_local python: 'local_pt' in here.objectIds();
+                 global util_macros here/index_html_utils/macros;
+                " >
+
+  <div tal:condition="not: has_local">
+        <div metal:use-macro="util_macros/index_header">here title</div>
+      </div>
+
+  <div tal:condition="has_local">
+
+    <div metal:use-macro="here/local_pt/macros/header | default">
+      'local_pt' header goes here.
+    </div>
+
+  </div>
+
+</div><!-- header slot -->
+
+<div metal:fill-slot="main">
+
+  <div id="content_well"
+       >
+
+    <div tal:condition="not: has_local"><!-- style="float: left; top: 0; width: 80%;" -->
+
+      <br />
+
+      <div metal:use-macro="util_macros/index_content" />
+  
+      <div metal:use-macro="util_macros/index_links" />
+
+      <div metal:use-macro="util_macros/index_folders" />
+
+    </div>
+
+    <div tal:condition="has_local">
+
+      <div metal:use-macro="here/local_pt/macros/body | default">
+        'local_pt' body goes here.
+      </div>
+
+    </div>
+
+  </div>
+
+  <!-- <div id="right_sidebar"
+       style="width: 20%">
+
+    <div metal:use-macro="util_macros/news_box" />
+
+  </div> -->
+
+</div>
+
+</body>
+</html>