Import désormais inutile.
[Plinn.git] / skins / custom_generic / main_template_standard.pt
index 101a502..18f0461 100755 (executable)
     </head>
 
     <body>
     </head>
 
     <body>
-      <span style="display:none">
-        <span id="Portal_URL" tal:content="portal_url"></span>
-        <span id="ajax_config"  tal:content="python:request.get('ajaxConfig', request.SESSION.get('ajaxConfig', portal_object.getProperty('ajax_config')))"></span>
-        <script type="text/javascript">
-        // <!--
-          AJAX_CONFIG = document.getElementById('ajax_config');
-          AJAX_CONFIG = parseInt(AJAX_CONFIG.innerHTML);
-        // -->
-        </script>
-      </span>
-      <a href="#documentContent" i18n:translate="" i18n:domain="plinn" class="hidden">Skip to content</a>
-      <div metal:use-macro="main_macros/top_bar">Top bar</div>
-      <div metal:use-macro="main_macros/user_menu_bar">User menu bar</div>
-      <div id="Breadcrumbs"><div metal:use-macro="main_macros/Breadcrumbs">Breadcrumbs</div></div>
-
-      <div id="main_body">
-        <table id="Forematter" width="100%" cellspacing="0">
-          <tr>
-            <td id="leftCell" class="boxes_container" width="15%">
-              <span metal:use-macro="main_macros/leftCell">Left cell</span>
-            </td>
-
-            <td id="mainCell" width="70%">
-
-              <div id="DesktopStatusBar" tal:condition="request/portal_status_message|nothing">
-                <img src="info.gif" alt="Information" tal:attributes="src here/info.gif/absolute_url" i18n:attributes="alt" />
-                <span tal:content="request/portal_status_message" i18n:translate="">Status message.</span>
-              </div>
-
-              <a name="documentContent"></a>
-              <div metal:define-slot="body" tal:omit-tag="">
-              <div metal:define-slot="main_no_tabs" tal:omit-tag="">
-                <div tal:condition="specialCtxHeader" tal:content="structure specialCtxHeader">special context header</div>
-                <div id="ContentTabs" tal:condition="not:specialCtxHeader">
-                  <div class="tabs" metal:use-macro="here/tabs/macros/tabs">Content tabs</div>
-                  <div metal:use-macro="here/tabs/macros/additional_tabs">Additional tabs</div>
+      <div id="main-wrapper">
+        <span style="display:none">
+          <span id="Portal_URL" tal:content="portal_url"></span>
+          <span id="ajax_config"  tal:content="python:request.get('ajaxConfig', request.SESSION.get('ajaxConfig', portal_object.getProperty('ajax_config')))"></span>
+          <script type="text/javascript">
+          // <!--
+            AJAX_CONFIG = document.getElementById('ajax_config');
+            AJAX_CONFIG = parseInt(AJAX_CONFIG.innerHTML);
+          // -->
+          </script>
+        </span>
+        <div metal:use-macro="main_macros/top_bar">Top bar</div>
+        <div metal:use-macro="main_macros/user_menu_bar">User menu bar</div>
+        <div id="Breadcrumbs"><div metal:use-macro="main_macros/Breadcrumbs">Breadcrumbs</div></div>
+
+        <div id="main_body">
+          <table id="Forematter" width="100%" cellspacing="0">
+            <tr>
+              <td id="leftCell" class="boxes_container" width="15%">
+                <span metal:use-macro="main_macros/leftCell">Left cell</span>
+              </td>
+
+              <td id="mainCell" width="70%">
+
+                <div id="DesktopStatusBar" tal:condition="request/portal_status_message|nothing">
+                  <img src="info.gif" alt="Information" tal:attributes="src here/info.gif/absolute_url" i18n:attributes="alt" />
+                  <span tal:content="request/portal_status_message" i18n:translate="">Status message.</span>
                 </div>
                 </div>
-                <div id="ForematterCell">
-                  <div class="header">
-                    <div tal:omit-tag="" metal:define-slot="header">
-                      <h1 id="DesktopTitle">
-                        <span tal:replace="here/title_or_id">Page Title</span>
-                      </h1>
-                      <div id="DesktopDescription" tal:content="structure here/Description">
-                        Description of the resource goes here, perhaps even wrapping lines; this is to make it long enough to test.
+
+                <a name="documentContent"></a>
+                <div metal:define-slot="body" tal:omit-tag="">
+                <div metal:define-slot="main_no_tabs" tal:omit-tag="">
+                  <div tal:condition="specialCtxHeader" tal:content="structure specialCtxHeader">special context header</div>
+                  <div id="ContentTabs" tal:condition="not:specialCtxHeader">
+                    <div class="tabs" metal:use-macro="here/tabs/macros/tabs">Content tabs</div>
+                    <div metal:use-macro="here/tabs/macros/additional_tabs">Additional tabs</div>
+                  </div>
+                  <div id="ForematterCell">
+                    <div class="header">
+                      <div tal:omit-tag="" metal:define-slot="header">
+                        <h1 id="DesktopTitle">
+                          <span tal:replace="here/title_or_id">Page Title</span>
+                        </h1>
+                        <div id="DesktopDescription" tal:content="structure here/Description">
+                          Description of the resource goes here, perhaps even wrapping lines; this is to make it long enough to test.
+                        </div>
                       </div>
                     </div>
                       </div>
                     </div>
-                  </div>
 
 
-                  <div id="Desktop">
-                    <div metal:define-slot="main">
-                      <h2>Section Header</h2>
-                      <p>The content of the object is <a href=".">rendered</a>
-                      hre. Lorem ipsum dolorem. Nihil obstat imprimatur. Semper ubi sub ubi.
-                      Non illegitimi carborundum. In vino veritas. E pluribus unam.
-                      </p>
+                    <div id="Desktop">
+                      <div metal:define-slot="main">
+                        <h2>Section Header</h2>
+                        <p>The content of the object is <a href=".">rendered</a>
+                        hre. Lorem ipsum dolorem. Nihil obstat imprimatur. Semper ubi sub ubi.
+                        Non illegitimi carborundum. In vino veritas. E pluribus unam.
+                        </p>
+                      </div>
                     </div>
                     </div>
-                  </div>
-                  <div tal:condition="not:isAnon" tal:omit-tag="">
-                    <div id="ContentByLine" metal:use-macro="here/content_byline/macros/byline">
-                      Content by me
+                    <div tal:condition="not:isAnon" tal:omit-tag="">
+                      <div id="ContentByLine" metal:use-macro="here/content_byline/macros/byline">
+                        Content by me
+                      </div>
                     </div>
                     </div>
+                    <div metal:define-slot="footer" tal:replace="nothing">footer slot</div>
                   </div>
                   </div>
-                  <div metal:define-slot="footer" tal:replace="nothing">footer slot</div>
                 </div>
                 </div>
-              </div>
-              </div>
-            </td>
-            <!-- end_main_column -->
+                </div>
+              </td>
+              <!-- end_main_column -->
             
             
-            <td id="rightCell" class="boxes_container" width="15%">
-              <div metal:use-macro="main_macros/rightCell">Right cell</div>
-            </td>
-          </tr>
-        </table>
+              <td id="rightCell" class="boxes_container" width="15%">
+                <div metal:use-macro="main_macros/rightCell">Right cell</div>
+              </td>
+            </tr>
+          </table>
+        </div>
         <div id="Footer" tal:content="python:getattr(portal_object, 'copyright_notice','') or '© 2006-2014 MINES ParisTech – Benoît Pin'">© notice</div>
         <div id="Footer" tal:content="python:getattr(portal_object, 'copyright_notice','') or '© 2006-2014 MINES ParisTech – Benoît Pin'">© notice</div>
-      </div>
-      <div metal:use-macro="here/widgets/macros/debug">
-        DEBUG Information
+        <div metal:use-macro="here/widgets/macros/debug">
+          DEBUG Information
+        </div>
       </div>
     </body>
 
       </div>
     </body>