EduploneExam_QOrderProcessor/skins/EduploneExam_QOrderProcessor processor_view.pt,1.2,1.3

Nils Haagen <[email protected]> Tue, 15 Nov 2005 09:57:42 +0000
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneExam_QOrderProcessor/skins/EduploneExam_QOrderProcessor
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28899/skins/EduploneExam_QOrderProcessor

Modified Files:
	processor_view.pt 
Log Message:
more graphs in view 

Index: processor_view.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam_QOrderProcessor/skins/EduploneExam_QOrderProcessor/processor_view.pt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** processor_view.pt	24 Oct 2005 11:00:14 -0000	1.2
--- processor_view.pt	15 Nov 2005 09:57:39 -0000	1.3
***************
*** 18,27 ****
               tal:omit-tag="">
  
  
!             <table class="listing"
!                    tal:define="examOrderQuestions  python:here.aq_parent.objectValues('OrderQuestion');
!                                procAnswers         python:here.get_Proc_OrderAnswers()" >
! 
! 
                  <tr><th></th>
                      <th tal:repeat="pA procAnswers"><b tal:content="python: pA[1]" /></th>
--- 18,25 ----
               tal:omit-tag="">
  
+             <tal tal:define="examOrderQuestions  python:here.aq_parent.objectValues('OrderQuestion');
+                                procAnswers         python:here.get_Proc_OrderAnswers()">
  
!             <!--table class="listing">
                  <tr><th></th>
                      <th tal:repeat="pA procAnswers"><b tal:content="python: pA[1]" /></th>
***************
*** 48,60 ****
                  </tr>
              </table>
              
!             
!             <div tal:define="feedback here/maxSumFeedback">
!             
!                 <h1 tal:content="python: feedback[0]" />
!                 <span tal:content="python: feedback[1]" />
  
!             </div>
!         
          </div>
  
--- 46,110 ----
                  </tr>
              </table>
+ 
+             <br /><br / -->
+ 
+             <table border=0 tal:define="totalNr python:here.totalNumberOfQOrderAnswers()+1">
+                 <tr><td></td>
+                     <td tal:repeat="tdnr python: range(1,totalNr)">
+                         <!--small tal:content="tdnr" /-->&nbsp; &nbsp;
+                     </tD>
+                 </tR>
+                 <tr tal:repeat="pA procAnswers">
+                         <td><b tal:content="python: pA[1]" /></tD>
+                         <td tal:attributes="colspan python: here[pA[0]].sumUp()" height="10px" bgcolor="#ff6600" align="right" tal:content="python: here[pA[0]].sumUp()"></td>
+                         <td tal:attributes="colspan totalNr" />
+ 
+                 </tR>
+             </table>
+             <br /><br />
              
!             </tal>
!             <!-- Aargau-spezifisch -->
  
!             <tal tal:define="results        python:here.maxSumProcIds().values();
!                              posDict        python:here.pgResultPositions();
!                              tablecolors    python:['#0033CC','#667fcc','#e2d9ff', '#ffffff']">
! 
!             <table>
!             <tr><td width=50>Betonung der zwischen- menschlichen Bed&uuml;rfnisse</td>
!                 <td valign=top><small>hoch</small></td>
!                 <td>
!                 
!                     <table border=1 width=300 height=300>
!                     <tr>
!                         <td align=center tal:attributes="bgcolor python:tablecolors[posDict['Stil2']]"><b>Stil II<br /> karikativ</b></td>
!                         <td align=center tal:attributes="bgcolor python:tablecolors[posDict['Stil4']]"><b>Stil IV<br /> kooperativ</b></td>
!                     </tr><tr>
!                         <td align=center tal:attributes="bgcolor python:tablecolors[posDict['Stil1']]"><b>Stil I<br /> laisser-faire</b></td>
!                         <td align=center tal:attributes="bgcolor python:tablecolors[posDict['Stil3']]"><b>Stil III<br /> autorit&auml;r</b></td>
!                     </tr>
!                     </table>
! 
!                  </td>
!             </tr>
!             <tr><td></td>
!                 <td><small>tief</small></td>
!                 <td align=right><small>hoch</small></tD>
!             </tR>
!             <tr><td></td>
!                 <td></td>
!                 <td>Betonung des Erreichens der Sachziele und derProduktivit&auml;t</td>
!             </tr>
!             </table>
!                     
!                 <div tal:repeat="pgId results">
!                     <h2 tal:content="python: here[pgId].Title()" />
!                     <span tal:omit-tag=" " tal:content="python: here[pgId].getFeedback()" />
!                     <br /><br />
!                 </div>
! 
!             </tal>
!           
!            
          </div>
  



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click