EduploneTest/skins/EduploneTest eduplone_testingResult2.pt,1.2,1.3 ep_testingEnvironment.gif,1.2,NONE questionmark.gif,1.1.1.1,NONE
Nils Haagen <[email protected]>
| Newsgroups | gmane.comp.web.zope.eduplone.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/eduplone/EduploneTest/skins/EduploneTest
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28176
Modified Files:
eduplone_testingResult2.pt
Removed Files:
ep_testingEnvironment.gif questionmark.gif
Log Message:
new userResults, still without FreeText,TextTask
--- ep_testingEnvironment.gif DELETED ---
Index: eduplone_testingResult2.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneTest/skins/EduploneTest/eduplone_testingResult2.pt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** eduplone_testingResult2.pt 5 Oct 2004 18:19:07 -0000 1.2
--- eduplone_testingResult2.pt 7 Nov 2004 16:26:32 -0000 1.3
***************
*** 1,97 ****
! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"
! lang="en-US"
! metal:use-macro="here/main_template/macros/master"
! i18n:domain="eduplone"
! >
! <body>
! <div metal:fill-slot="main">
! <tal tal:define="env python:here">
! <tal metal:define-macro="main">
!
! <div class="contentHeader">
! <h1 tal:content="structure python:env.title_or_id()">Title or id</h1>
! </div>
!
! <!--
! <div class="documentDescription"
! tal:content="here/Description">
! description
! </div>
! -->
!
! <div id="bodyContent"
! tal:define="allusers python:here.users.objectValues();
! allquest python:here.fixedObjectValues()">
!
! <!--===================================================-->
!
!
! <table border="1">
! <tr><td i18n:translate="label_user">User</td>
! <div tal:repeat="quest allquest">
! <td tal:content="python:quest.title_or_id()" />
! </div>
! </tr>
!
! <div tal:repeat="user allusers">
! <tr>
! <td valign="top">
! <b tal:content="python: user.getId()" />
! <br/>
! (
! <i tal:replace="python: here.score_CalculateTotal(user.getId())" />
! /
! <i tal:replace="python: here.getTotalAvailableScore()" />
! )
! </td>
!
!
! <td tal:repeat="quest allquest"
! tal:attributes="valign python:'top'">
!
! <!-- do not list userAnswers, but Possible Answers, and evaluate !!!
! TextTask / FreeText do not necessarily have answer-items...
! -->
!
! <div tal:condition="python: quest.meta_type not in ['eduplone TextTask','eduplone FreeText']"
! tal:repeat="qAnswer python:here.filteredAnswerValues(quest.getId())">
!
! <font tal:define="defcolors python:['red','green'];
! defimages python:['wrong_answer.gif','right_answer.gif'];
! uAnswer python:user.getSingleAnswer(quest.getId(), qAnswer.getId())"
! tal:attributes="color python:defcolors[here.evalAnswer(quest.getId(), qAnswer.getId(), uAnswer)]" >
!
!
! <img src="" tal:attributes="src python:defimages[here.evalAnswer(quest.getId(), qAnswer.getId(), uAnswer)]"/>
! <b tal:content="qAnswer/title" />:
! <b tal:replace="uAnswer" /><br/>
!
! </font>
! </div>
!
! <!-- textTask -->
! <div tal:condition="python: quest.meta_type == 'eduplone TextTask'"> <!--,'eduplone FreeText']">-->
!
! <tal tal:define="uAnswer python:user.getSingleAnswer(quest.getId(), quest.getId())">
!
! <font tal:condition="python: len(quest.objectValues()) != 0"
! tal:define="defcolors python:['red','green'];
! defimages python:['wrong_answer.gif','right_answer.gif'];"
! tal:attributes="color python:defcolors[here.evalAnswer(quest.getId(), quest.objectValues()[0].getId(), uAnswer)]">
!
! <img src="" tal:condition="python: quest.meta_type == 'eduplone TextTask'"
! tal:attributes="src python:defimages[here.evalAnswer(quest.getId(), quest.objectValues()[0].getId(), uAnswer)]"/>
!
! <b tal:replace="uAnswer" /><br/>
! </font>
!
! <b tal:condition="python: len(quest.objectValues()) == 0"
! tal:replace="uAnswer" /><br/>
!
! </tal>
! </div>
!
! <div tal:condition="python: quest.meta_type == 'eduplone FreeText'">
!
<tal tal:define="uAnswer python:user.getSingleAnswer(quest.getId(), quest.getId())">
--- 1,88 ----
! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"
! lang="en-US"
! metal:use-macro="here/main_template/macros/master"
! i18n:domain="eduplone"
! >
! <body>
! <div metal:fill-slot="main">
! <tal tal:define="env python:here">
! <tal metal:define-macro="main">
!
! <div class="contentHeader">
! <h1 tal:content="structure python:env.title_or_id()">Title or id</h1>
! </div>
!
! <div id="bodyContent"
! tal:define="allusers python:here.users.objectValues();
! allquest python:here.fixedObjectValues()">
!
! <!--===================================================-->
!
! <table border="1">
! <tr><td i18n:translate="label_user">User</td>
! <div tal:repeat="quest allquest">
! <td tal:content="python:quest.title_or_id()" />
! </div>
! </tr>
!
! <div tal:repeat="user allusers">
! <tr>
! <td valign="top">
! <b tal:content="python: user.getId()" />
! <br/>
! (
! <i tal:replace="python: here.score_CalculateTotal(user.getId())" />
! /
! <i tal:replace="python: here.getTotalAvailableScore()" />
! )
! </td>
!
! <td tal:repeat="quest allquest"
! tal:attributes="valign python:'top'">
!
! <!-- do not list userAnswers, but Possible Answers, and evaluate !!!
! TextTask / FreeText do not necessarily have answer-items...
! -->
!
! <div tal:condition="python: quest.meta_type not in ['eduplone TextTask','eduplone FreeText']"
! tal:repeat="qAnswer python:here.filteredAnswerValues(quest.getId())">
!
! <font tal:define="defcolors python:['red','green'];
! defimages python:['wrong_answer.gif','right_answer.gif'];
! uAnswer python:user.getSingleAnswer(quest.getId(), qAnswer.getId())"
! tal:attributes="color python:defcolors[here.evalAnswer(quest.getId(), qAnswer.getId(), uAnswer)]" >
!
!
! <img src="" tal:attributes="src python:defimages[here.evalAnswer(quest.getId(), qAnswer.getId(), uAnswer)]"/>
! <b tal:content="qAnswer/title" />:
! <b tal:replace="uAnswer" /><br/>
!
! </font>
! </div>
!
! <!-- textTask -->
! <div tal:condition="python: quest.meta_type == 'eduplone TextTask'"> <!--,'eduplone FreeText']">-->
!
! <tal tal:define="uAnswer python:user.getSingleAnswer(quest.getId(), quest.getId())">
!
! <font tal:condition="python: len(quest.objectValues()) != 0"
! tal:define="defcolors python:['red','green'];
! defimages python:['wrong_answer.gif','right_answer.gif'];"
! tal:attributes="color python:defcolors[here.evalAnswer(quest.getId(), quest.objectValues()[0].getId(), uAnswer)]">
!
! <img src="" tal:condition="python: quest.meta_type == 'eduplone TextTask'"
! tal:attributes="src python:defimages[here.evalAnswer(quest.getId(), quest.objectValues()[0].getId(), uAnswer)]"/>
!
! <b tal:replace="uAnswer" /><br/>
! </font>
!
! <b tal:condition="python: len(quest.objectValues()) == 0"
! tal:replace="uAnswer" /><br/>
!
! </tal>
! </div>
!
! <div tal:condition="python: quest.meta_type == 'eduplone FreeText'">
!
<tal tal:define="uAnswer python:user.getSingleAnswer(quest.getId(), quest.getId())">
--- questionmark.gif DELETED ---
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click