changeset 33:65132c9c5c09

new level styles
author casties
date Wed, 12 Jun 2013 15:34:41 +0200
parents 911defd02ff8
children 0b58b298ef44
files zpt/levelFormatted.zpt
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/zpt/levelFormatted.zpt	Wed Jun 12 15:06:04 2013 +0200
+++ b/zpt/levelFormatted.zpt	Wed Jun 12 15:34:41 2013 +0200
@@ -3,15 +3,15 @@
   <ul class="foldable"
       tal:define="level1entries python:here.getProjectsWithTag(options['type'],here.getTitle(level1))"
       tal:condition="level1entries">
-    <li class="type fold_head level_1 showApproach">
+    <li class="fold_head level_1">
       <h3><img class="fold_open"
       tal:attributes="src python:root.absolute_url()+'/www/images/foldout_open.png'" alt="" /><img class="fold_closed"
       tal:attributes="src python:root.absolute_url()+'/www/images/foldout_closed.png'" alt="">
-      <span tal:content="python:here.getTitle(level1) +' ('+ str(len(level1entries)) +')' ">Lorem</span>
+      <span class="linklike" tal:content="python:here.getTitle(level1) +' ('+ str(len(level1entries)) +')' ">Lorem</span>
       </h3>
     </li>
 
-    <li class="li_project fold_body projectsWindow">
+    <li class="fold_body">
       <table class="items">
         <tr class="line" tal:repeat="proj level1entries">
           <td>
@@ -29,14 +29,14 @@
     <tal:x tal:define="level2entries python:here.getEntries(level1)" tal:repeat="proj level2entries">
       <tal:x tal:define="subitems python:here.getProjectsWithTag(options['type'],here.getTitle(level1)+'_'+here.getTitle(proj))"
         tal:condition="subitems">
-        <li class="level_2 indent fold_body">
+        <li class="level_2 fold_body">
           <div class="foldable2">
-            <div class="fold_head2">
+            <h3 class="fold_head2">
               <img class="fold_open" tal:attributes="src python:root.absolute_url()+'/www/images/foldout_open.png'" alt="" /><img
                 class="fold_closed" tal:attributes="src python:root.absolute_url()+'/www/images/foldout_closed.png'" alt=""> 
-              <span class="showApproach" tal:content="python:here.getTitle(proj)+' ('+str(len(subitems))+')'">Lor</span>
-            </div>
-            <div class="level2 fold_body2 indent li_project projectsWindow">
+              <span class="linklike" tal:content="python:here.getTitle(proj)+' ('+str(len(subitems))+')'">Lor</span>
+            </h3>
+            <div class="level2 fold_body2">
               <table class="items">
                 <tr class="line" tal:repeat="proj python:subitems">
                   <tal:x>