<?cs include:"util.cs" ?>
<?cs include:"grade_book_menu_util.cs" ?>

<?cs def:print_grades_logs() ?>
<div>
<br />
<br />
<table width="100%" cellpadding="4" cellspacing="0" >
 <tr class="headingcolor">
    <th align="left"><?cs var:lang.grade_book_enter_grades.timestamp ?></th>
    <th align="left"><?cs var:lang.grade_book_enter_grades.score ?></th>
    <th align="left"><?cs var:lang.grade_book_enter_grades.comments ?></th>
 </tr>
 <?cs set:num = #0 ?>
 <?cs each:this = score ?>
 <?cs if:num % 2 == #0 ?>
 <tr class="evencolor">
 <?cs else ?>
 <tr class="oddcolor">
 <?cs /if ?>
  <td><?cs var:this.timestamp ?></td>
  <td>
     <?cs if:this.letter ?>
     <?cs var:this.letter  ?>
     <?cs else ?>
     <?cs var:this.score  ?>/<?cs var:items[1].item_points ?>
     <?cs /if ?>
  </td>
  <td>
     <?cs var:this.comment  ?>
  </td>  
 <?cs set:num = num + #1 ?>
 <?cs /each ?>
</table>
</div>
<?cs /def ?>
		


<?cs ###########################
     # HTML starts here
     ###########################
?>
<?cs call:html_heading() ?>
   <head>
      <title><?cs var:course_title ?> <?cs var:lang.grade_configure.scale_heading ?></title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta http-equiv="Cache-Control" content="No-Cache" />
    <meta http-equiv="EXPIRES" content="Mon, 22 Jul 1997 11:12:01 GMT" />
      <meta http-equiv="PRAGMA" content="No-Cache" />

   <link rel="StyleSheet" href="<?cs var:image_path ?>grade_tab_menu.css" type="text/css"  />
</head>


<?cs call:define_body() ?> 
<div id="container">
<?cs call:print_grades_logs() ?>
</div>
</body>
</html>
<?cs call:runtime() ?>
