changeset 488:ec3d848fe9e8 elementtree

more new templates
author casties
date Wed, 24 Aug 2011 10:58:20 +0200
parents 8fd6f26fe29e
children 55e3398e395e
files css/docuviewer.css documentViewer.py zpt/toc_figures.zpt zpt/toc_text.zpt zpt/toc_thumbs.zpt
diffstat 5 files changed, 4 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/css/docuviewer.css	Tue Aug 23 15:05:11 2011 +0200
+++ b/css/docuviewer.css	Wed Aug 24 10:58:20 2011 +0200
@@ -15,7 +15,7 @@
     vertical-align: top;
 }
 
-div.col-left {
+div.col-left.text {
     max-width: 20em;
 }
 
--- a/documentViewer.py	Tue Aug 23 15:05:11 2011 +0200
+++ b/documentViewer.py	Wed Aug 24 10:58:20 2011 +0200
@@ -7,9 +7,6 @@
 from AccessControl import getSecurityManager
 from Globals import package_home
 
-#from Ft.Xml import EMPTY_NAMESPACE, Parse 
-#import Ft.Xml.Domlette
-
 import xml.etree.ElementTree as ET
 
 import os.path
--- a/zpt/toc_figures.zpt	Tue Aug 23 15:05:11 2011 +0200
+++ b/zpt/toc_figures.zpt	Wed Aug 24 10:58:20 2011 +0200
@@ -6,7 +6,7 @@
 </head>
 <body>
   <!-- block used for main content area -->
-  <div class="col_left" metal:define-macro="main"
+  <div class="col-left" metal:define-macro="main"
     tal:define="start pageinfo/start; tocsize docinfo/tocSize_figures; grpsize pageinfo/tocPageSize;
                 batch python:here.getBatch(start=start,size=grpsize,end=tocsize);">
     <ul class="switcher">
--- a/zpt/toc_text.zpt	Tue Aug 23 15:05:11 2011 +0200
+++ b/zpt/toc_text.zpt	Wed Aug 24 10:58:20 2011 +0200
@@ -6,7 +6,7 @@
 </head>
 <body>
   <!-- block used for main content area -->
-  <div class="col_left" metal:define-macro="main"
+  <div class="col-left" metal:define-macro="main"
     tal:define="start pageinfo/start; tocsize docinfo/tocSize_text; grpsize pageinfo/tocPageSize;
                 batch python:here.getBatch(start=start,size=grpsize,end=tocsize);">
     <ul class="switcher">
--- a/zpt/toc_thumbs.zpt	Tue Aug 23 15:05:11 2011 +0200
+++ b/zpt/toc_thumbs.zpt	Wed Aug 24 10:58:20 2011 +0200
@@ -6,7 +6,7 @@
 </head>
 <body>
   <!-- block used for main content area -->
-  <div class="col_left" metal:define-macro="main"
+  <div class="col-left" metal:define-macro="main"
     tal:define="start pageinfo/start;
                 grpsize pageinfo/groupsize;
                 numgroups pageinfo/numgroups;