EduploneExam/skins/EduploneExam icon_csv_export_blueish.png,NONE,1.1.2.1 icon_minus_blueish.png,NONE,1.1.2.1 icon_plus_blueish.png,NONE,1.1.2.1 icon_print_reportcard_blueish.png,NONE,1.1.2.1 exam_userlist.pt,1.1.2.7,1.1.2.8 FreeTextQuestion.png,1.1.2.1,NONE MatchingQuestion.png,1.1.2.1,NONE MathQuestion.png,1.1.2.1,NONE MultipleChoiceQuestion.png,1.1.2.1,NONE OrderQuestion.png,1.1.2.1,NONE SingleChoiceQuestion.png,1.1.2.1,NONE TextTaskQuestion.png,1.1.2.1,NONE readme.txt,1.1,NONE
Nils Haagen <[email protected]> Sat, 04 Mar 2006 22:53:18 +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-serv13920/skins/EduploneExam
Modified Files:
Tag: exam-1_1
exam_userlist.pt
Added Files:
Tag: exam-1_1
icon_csv_export_blueish.png icon_minus_blueish.png
icon_plus_blueish.png icon_print_reportcard_blueish.png
Removed Files:
Tag: exam-1_1
FreeTextQuestion.png MatchingQuestion.png MathQuestion.png
MultipleChoiceQuestion.png OrderQuestion.png
SingleChoiceQuestion.png TextTaskQuestion.png readme.txt
Log Message:
icons for userlist, fixed CSV-Export
--- NEW FILE: icon_print_reportcard_blueish.png ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: icon_csv_export_blueish.png ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: icon_minus_blueish.png ---
(This appears to be a binary file; contents omitted.)
Index: exam_userlist.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/skins/EduploneExam/Attic/exam_userlist.pt,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -C2 -d -r1.1.2.7 -r1.1.2.8
*** exam_userlist.pt 27 Feb 2006 23:23:21 -0000 1.1.2.7
--- exam_userlist.pt 4 Mar 2006 22:53:16 -0000 1.1.2.8
***************
*** 1,100 ****
! <!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="EduploneExam">
! <body>
!
!
! <link metal:fill-slot="css_slot"
! rel="stylesheet"
! type="text/css"
! media="all"
! tal:attributes="href python:here.absolute_url()+'/exam_additionalstyles.css'" />
!
! <div metal:fill-slot="main"
! tal:define="portal_type python:here.getPortalTypeName().lower();
! view_template python:'%s_view' % portal_type;
! view_macros python:path('here/%s/macros|nothing' % view_template);
! body_macro view_macros/body|nothing;
! maxScore python: here.getMaxScore();
! ">
!
! <fieldset metal:define-macro="userlist_navigation">
!
! <a href="exam_userlist" i18n:translate="result_shortview">short view</a>
!
! <a href="exam_userlist?extended=true" i18n:translate="result_longview">long view</a>
!
! <a href="" i18n:translate="result_certificate">result certificate</a>
!
! <a href="exportResultsCSV" i18n:translate="result_csv">result export (Excel)</a>
!
! </fieldset>
!
!
! <div metal:define-macro="main"
! tal:omit-tag="">
!
!
! <span i18n:translate="max_possible_Score" tal:omit-tag=" ">max. possible Score</span> : <b tal:content="maxScore" />
!
! <table border="1"
! id="sortable"
! class="listing"
! summary="UserResults"
! tal:define="allResults python:here.getAllResults();
! extended python:here.REQUEST.get('extended','false')">
!
! <thead>
! <tr>
! <th><b i18n:translate="username">Username</b></th>
! <th><b i18n:translate="score">Score (total)</b></th>
! <th tal:condition="python: extended=='true'" />
!
!
! </tr>
! </thead>
! <tr tal:repeat="Xuser allResults">
!
! <td valign="top">
! <a tal:attributes="href python:'exam_scoreoverride?forUser=%s' % Xuser"
! tal:content="Xuser" />
! </td>
!
! <td valign="top" align="right" >
! <b tal:content="python: round(allResults[Xuser], 2)" />
!
! (<span tal:omit-tag= " " tal:content="python: round((allResults[Xuser] / maxScore * 100), 2)" /> %)
! </td>
!
! <tal:extended tal:omit-tag=" "
! tal:condition="python: extended=='true'">
! <td>
! <table border="0">
! <tr tal:repeat="q python:here.objectValues(here.getRegisteredQuestionTypes())">
! <td tal:content="q/Title" />
! <td>
! <span tal:omit-tag=" " tal:content="python: round(here.deliverResponse(q, create=False, forUser=Xuser).getRelevantScore(), 2)" />
! <!-- max-score for question ?!-->
! </td>
! </tr>
! </table>
! </td>
!
! </tal:extended>
!
!
! </tr>
!
! </table>
!
!
! </div>
!
!
!
! </div>
!
! </body>
! </html>
--- 1,20 ----
! <!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="EduploneExam">
<body>
<link metal:fill-slot="css_slot"
rel="stylesheet"
type="text/css"
media="all"
tal:attributes="href python:here.absolute_url()+'/exam_additionalstyles.css'" />
<div metal:fill-slot="main"
tal:define="portal_type python:here.getPortalTypeName().lower();
view_template python:'%s_view' % portal_type;
view_macros python:path('here/%s/macros|nothing' % view_template);
body_macro view_macros/body|nothing;
!
maxScore python: here.getMaxScore();
">
<fieldset metal:define-macro="userlist_navigation">
! <table border=0 cellpadding=8>
! <tr>
! <td align="center">
! <a href="exam_userlist"><img src="icon_minus_blueish.png" /></a><br />
<a href="exam_userlist" i18n:translate="result_shortview">short view</a>
! </td>
<td align="center">
! <a href="exam_userlist?extended=true"><img src="icon_plus_blueish.png" /></a><br />
! <a href="exam_userlist?extended=true" i18n:translate="result_longview">long view</a>
! </td>
!
<td align="center">
! <a href="" ><img src="icon_print_reportcard_blueish.png" /></a><br />
! <a href="" i18n:translate="result_certificate"><img src="icon_minus_blueish.png" /> result certificate</a>
! </td>
! <td align="center">
! <a href="exportResultsCSV"><img src="icon_csv_export_blueish.png" /></a><br />
<a href="exportResultsCSV" i18n:translate="result_csv"><img src="icon_minus_blueish.png" /> result export (Excel)</a>
! </td>
! </tr>
! </table>
!
</fieldset>
<div metal:define-macro="main"
tal:omit-tag="">
<span i18n:translate="max_possible_Score" tal:omit-tag=" ">max. possible Score</span> : <b tal:content="maxScore" />
<table border="1"
id="sortable"
class="listing"
summary="UserResults"
tal:define="allResults python:here.getAllResults();
extended python:here.REQUEST.get('extended','false')">
<thead>
<tr>
<th><b i18n:translate="username">Username</b></th>
<th><b i18n:translate="score">Score (total)</b></th>
<th tal:condition="python: extended=='true'" />
</tr>
</thead>
<tr tal:repeat="Xuser allResults">
<td valign="top">
<a tal:attributes="href python:'exam_scoreoverride?forUser=%s' % Xuser"
tal:content="Xuser" />
</td>
<td valign="top" align="right" >
<b tal:content="python: round(allResults[Xuser], 2)" />
(<span tal:omit-tag= " " tal:content="python: round((allResults[Xuser] / maxScore * 100), 2)" /> %)
</td>
<tal:extended tal:omit-tag=" "
tal:condition="python: extended=='true'">
<td>
<table border="0">
<tr tal:repeat="q python:here.objectValues(here.getRegisteredQuestionTypes())">
<td tal:content="q/Title" />
<td>
<span tal:omit-tag=" " tal:content="python: round(here.deliverResponse(q, create=False, forUser=Xuser).getRelevantScore(), 2)" />
<!-- max-score for question ?!-->
</td>
</tr>
</table>
</td>
</tal:extended>
</tr>
</table>
</div>
</div>
</body>
</html>
\ No newline at end of file
--- SingleChoiceQuestion.png DELETED ---
--- MatchingQuestion.png DELETED ---
--- NEW FILE: icon_plus_blueish.png ---
(This appears to be a binary file; contents omitted.)
--- MultipleChoiceQuestion.png DELETED ---
--- TextTaskQuestion.png DELETED ---
--- OrderQuestion.png DELETED ---
--- FreeTextQuestion.png DELETED ---
--- MathQuestion.png DELETED ---
--- readme.txt DELETED ---
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642