EduploneTest/skins/EduploneTest test_environment_feedback.pt,NONE,1.1 task_view.pt,1.8,1.9 test_environment_listing.pt,1.4,1.5

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-serv13558/skins/EduploneTest

Modified Files:
	task_view.pt test_environment_listing.pt 
Added Files:
	test_environment_feedback.pt 
Log Message:
schemata for environment, feedback after completing the test

Index: task_view.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneTest/skins/EduploneTest/task_view.pt,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** task_view.pt	7 Nov 2004 19:50:21 -0000	1.8
--- task_view.pt	8 Nov 2004 11:29:20 -0000	1.9
***************
*** 9,12 ****
--- 9,18 ----
  <!--==================================================================-->
  
+     <h1 tal:condition="python: here.getShowpoints()">
+      <span i18n:translate="label_score_for_this_task">possible score for this Task:</span> <b tal:content="python:here.getScore()"/>
+      &nbsp;
+      (<b tal:replace="python:here.getTotalAvailableScore()"/> <span i18n:translate="score_total">total</span>)
+     </h1>
+ 
  
  

Index: test_environment_listing.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneTest/skins/EduploneTest/test_environment_listing.pt,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** test_environment_listing.pt	27 Oct 2004 20:02:12 -0000	1.4
--- test_environment_listing.pt	8 Nov 2004 11:29:20 -0000	1.5
***************
*** 42,45 ****
--- 42,46 ----
                          <span i18n:translate="text_you_are_participant">You are the participant of the test.</span><br />
                          <div tal:condition="python: len(here.fixedObjectValues()) > 0">
+ 			
      			    <div tal:condition="python: here.getTestinwindow() == 1">
  				<script language="JavaScript">
***************
*** 49,56 ****
--- 50,59 ----
  				    }
  				</script>
+ 				
  				<span i18n:translate="text_test_started">The test has begun.</span>
  				<a tal:attributes="href python:'#';
  						   onClick python:'javascript:startTest(\'' + here.fixedObjectValues()[0].absolute_url() + '/task_view\')'" i18n:translate="text_click_here">Click here to start.</a>
  			    </div>
+ 			    
  			    <div tal:condition="python: here.getTestinwindow() == 0">
  				<span i18n:translate="text_test_started">The test has begun.</span>

--- NEW FILE: test_environment_feedback.pt ---
<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="python: here.feedback_txt">
             The test is finished.
        </div>

        <div id="bodyContent"
	     tal:define="currentUser python:here.getCurrentUser();
	    		 userId      python:currentUser.getId();">
	    
	<p tal:condition="here/showresults">	    
	     <span i18n:translate="label_total_available_score">Total available Score:</span> 
	     <b tal:content="python: here.getTotalAvailableScore()" />
	     <bR>
	     <span i18n:translate="label_user_score">TeilnehmerPunkte:</span> 
	     <b tal:content="python: here.score_CalculateTotal(userId)" /> 
	     (<span tal:replace="python: round(here.getUserScoreInPercent(userId),2)" />%)
	     
	     <!--detailed view... span metal:use-macro="here/users/nlz/eduplone_userResults2/macros/main" /-->
	     
	</p>


        </div>
        </tal>
        </tal>
    </div>
</body>
</html>



-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.