Ignore:
Timestamp:
14 Jun 2016, 01:38:12 (9 years ago)
Author:
uli
Message:

Merge changes from uli-scores-upload back into trunk.

Location:
main/waeup.kofa/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk

  • main/waeup.kofa/trunk/src/waeup/kofa

  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/editscorespage.pt

    r13896 r13935  
    1 <form  i18n:domain="waeup.kofa"  method="POST">
     1<form  i18n:domain="waeup.kofa"  method="POST" enctype="multipart/form-data">
    22  <br />
    33
     
    1515    </thead>
    1616    <tbody>
    17         <tr tal:repeat="ticket view/tickets">
     17      <tr tal:repeat="ticket view/tickets">
    1818      <td tal:content="ticket/student/matric_number">MATRIC_NUMBER</td>
    1919      <td tal:content="ticket/student/student_id">STUDENT ID</td>
     
    2424
    2525          <td tal:condition="ticket/editable_by_lecturer" style="width: 65px;">
    26           <input type="text" name="scores" class="form-control"
     26          <input type="text" name="scores:list" class="form-control"
    2727                     tal:attributes="value ticket/score" />
    28           <input type="hidden" name="sids"
     28          <input type="hidden" name="sids:list"
    2929                 tal:attributes="value ticket/student/student_id" />
    3030      </td>
     
    3232          tal:content="ticket/score">SCORE</td>
    3333        </tr>
     34
     35      <tr>
     36        <td i18n:translate="">
     37          Set scores from CSV file:
     38        </td>
     39        <td>
     40          <div class="input-group half">
     41            <div class="input-group-btn">
     42              <div class="btn btn-default btn-file">
     43                Select&hellip;
     44                <input type="file" name="uploadfile:file" />
     45              </div>
     46            </div>
     47            <input type="text" class="form-control" readonly />
     48          </div>
     49        </td>
     50      </tr>
     51
    3452    </tbody>
    3553  </table>
Note: See TracChangeset for help on using the changeset viewer.