EduploneExam/skins/EduploneExam exam_results.pt,NONE,1.1
Claudia Disque <[email protected]> Mon, 28 Feb 2005 17:34:37 +0000
| Newsgroups | gmane.comp.web.zope.eduplone.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/eduplone/EduploneExam/skins/EduploneExam
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11664
Added Files:
exam_results.pt
Log Message:
new table for the results
--- NEW FILE: exam_results.pt ---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<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:here.aq_parent.title_or_id()">Title or id</h1>
</div>
<div id="bodyContent"
tal:define="questionObjs python:here.contentValues();
allUsers python:here.getExamUsers();
responseObj python:here.contentValues()">
<table border="1"
id="sortable"
class="listing"
summary="UserResults">
<thead>
<metal:block tal:condition="batch|not:standalone|nothing">
<tr>
<th i18n:translate="label_users"><b>User</b></th>
<th i18n:translate="label_max_score"><b>Total score</b></th>
<th tal:repeat="qObj questionObjs"
tal:content="qObj/title" />
</tr>
</metal:block>
</thead>
<tr tal:repeat="user allUsers">
<td><b tal:content="user" /></td>
<td></td>
<td tal:repeat="rObj responseObj">
<tal tal:content="rObj/maxScore" /> <!--getScore doesn't work...-->
/<i tal:replace="rObj/maxScore" /></td>
</tr>
</div>
</tal>
</tal>
</div>
</body>
</html>
<!--<h2><b tal:content="currentQuestion/title" />
</body>
<h2><b tal:content="currentQuestion/title" />
<tal:block tal:omit-tag=""
tal:condition="python: here.getParam_ShowScore()">
(<span tal:omit-tag=""
tal:content="currentQuestion/maxScore" /> Punkte)
</tal:block>
</h2>
<bR />
<b tal:content="structure python:currentQuestion.getQuestion()" />
<div tal:condition="python:currentQuestion.getPicture()"
tal:content="structure python:currentQuestion.getPicture()" />
<br/>
<span tal:content="python: currentQuestion.getInstruction()" />
<br/><br/>
</div>
<div metal:define-macro="evalHeader"
tal:omit-tag="">
<h2><span tal:omit-tag=""
tal:content="currentQuestion/title" />
<tal:block tal:omit-tag=""
tal:condition="python: here.getParam_ShowScore()">
(<b tal:content="python:responseObj.getScore()" />
/<span tal:omit-tag=""
tal:content="currentQuestion/maxScore" />)
</tal:block>
</h2>
<span tal:content="structure python:currentQuestion.getQuestion()" />
<div tal:condition="python:currentQuestion.getPicture()"
tal:content="structure python:currentQuestion.getPicture()" />
<br/>
</div>-->
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click