| 1 | <p i18n:domain="waeup.kofa" i18n:translate="edit_scores_info"> |
|---|
| 2 | This page helps you to update your students' course results. |
|---|
| 3 | You can either update Scores, CAs and Imported Total Scores by importing a csv file |
|---|
| 4 | (press 'Help' for further information) or by |
|---|
| 5 | changing Score, CA or Imported Total Score values in the table below. |
|---|
| 6 | Only course results of students in current session |
|---|
| 7 | <span i18n:name="current_academic_session" |
|---|
| 8 | tal:replace="view/session_title"></span> |
|---|
| 9 | can be modified. |
|---|
| 10 | </p> |
|---|
| 11 | |
|---|
| 12 | <form i18n:domain="waeup.kofa" method="POST" enctype="multipart/form-data"> |
|---|
| 13 | <br /> |
|---|
| 14 | <div class="input-group"> |
|---|
| 15 | <div class="input-group-btn"> |
|---|
| 16 | <div class="btn btn-default btn-file" i18n:translate=""> |
|---|
| 17 | Select csv file… |
|---|
| 18 | <input type="file" name="uploadfile:file" i18n:name="input_file"/> |
|---|
| 19 | </div> |
|---|
| 20 | </div> |
|---|
| 21 | <input type="text" class="form-control" readonly> |
|---|
| 22 | <div class="input-group-btn"> |
|---|
| 23 | <input type="submit" name="UPDATE_FILE" i18n:translate="" |
|---|
| 24 | value="Update editable scores from csv file" |
|---|
| 25 | class="btn btn-primary" /> |
|---|
| 26 | <button class="btn btn-warning" data-toggle="modal" |
|---|
| 27 | data-target="#myModal" i18n:translate=""> |
|---|
| 28 | Help |
|---|
| 29 | </button> |
|---|
| 30 | </div> |
|---|
| 31 | </div> |
|---|
| 32 | |
|---|
| 33 | <!-- Modal --> |
|---|
| 34 | <div class="modal fade" id="myModal" tabindex="-1" role="dialog" |
|---|
| 35 | aria-labelledby="myModalLabel" aria-hidden="true"> |
|---|
| 36 | <div class="modal-dialog"> |
|---|
| 37 | <div class="modal-content"> |
|---|
| 38 | <div class="modal-header"> |
|---|
| 39 | <button type="button" class="close" data-dismiss="modal" |
|---|
| 40 | aria-hidden="true">×</button> |
|---|
| 41 | <h4 class="modal-title" id="myModalLabel" i18n:translate=""> |
|---|
| 42 | Step-by-step instructions |
|---|
| 43 | </h4> |
|---|
| 44 | </div> |
|---|
| 45 | <div class="modal-body" i18n:translate="lecturer_help"> |
|---|
| 46 | <ol> |
|---|
| 47 | <li>Download csv file.</li> |
|---|
| 48 | <li>Open csv file in a text editor or in a spreadsheet |
|---|
| 49 | programme (Excel or Calc).</li> |
|---|
| 50 | <li>Edit course results only. Do not modify other entries. |
|---|
| 51 | Do not remove or add columns. Do not add rows.</li> |
|---|
| 52 | <li>Save file in same format (csv). |
|---|
| 53 | Do not switch to any other format (xls, xlsx or ods).</li> |
|---|
| 54 | <li>Select same file for upload and press the blue 'Update ...' |
|---|
| 55 | button.</li> |
|---|
| 56 | <li>The values in the table will be updated. Spot-check if |
|---|
| 57 | the values in the table correspond with the values in |
|---|
| 58 | your file.</li> |
|---|
| 59 | <li>Ready</li> |
|---|
| 60 | </ol> |
|---|
| 61 | <strong>Note:</strong> |
|---|
| 62 | Only course results of students which are in |
|---|
| 63 | academic session |
|---|
| 64 | <span i18n:name="current_academic_session" |
|---|
| 65 | tal:replace="view/session_title"></span> |
|---|
| 66 | can be modified. Additional data will just be ignored. |
|---|
| 67 | </div> |
|---|
| 68 | </div><!-- /.modal-content --> |
|---|
| 69 | </div><!-- /.modal-dialog --> |
|---|
| 70 | </div><!-- /.modal --> |
|---|
| 71 | |
|---|
| 72 | <br /><br /> |
|---|
| 73 | |
|---|
| 74 | <table class="kofa-data-table dataTable"> |
|---|
| 75 | <thead> |
|---|
| 76 | <tr> |
|---|
| 77 | <th i18n:translate="">Matric No.</th> |
|---|
| 78 | <th i18n:translate="">Reg. No.</th> |
|---|
| 79 | <th i18n:translate="">Fullname</th> |
|---|
| 80 | <th i18n:translate="">Status</th> |
|---|
| 81 | <th i18n:translate="">Course of Studies</th> |
|---|
| 82 | <th i18n:translate="">Level</th> |
|---|
| 83 | <th i18n:translate="">Score</th> |
|---|
| 84 | <th i18n:translate="">CA</th> |
|---|
| 85 | <th i18n:translate="">Imp. Total Score</th> |
|---|
| 86 | </tr> |
|---|
| 87 | </thead> |
|---|
| 88 | <tbody> |
|---|
| 89 | <tr tal:repeat="ticket view/editable_tickets"> |
|---|
| 90 | <td tal:content="ticket/student/matric_number">MATRIC_NUMBER</td> |
|---|
| 91 | <td tal:content="ticket/student/reg_number">REG_NUMBER</td> |
|---|
| 92 | <td tal:content="ticket/student/display_fullname">FULLNAME</td> |
|---|
| 93 | <td tal:content="ticket/student/translated_state">STATE</td> |
|---|
| 94 | <td tal:content="ticket/student/certcode">CERTCODE</td> |
|---|
| 95 | <td tal:content="ticket/level">LEVEL</td> |
|---|
| 96 | <td style="width: 65px;"> |
|---|
| 97 | <input type="text" name="scores:list" class="form-control" |
|---|
| 98 | tal:attributes="value ticket/score" /> |
|---|
| 99 | <input type="hidden" name="sids:list" |
|---|
| 100 | tal:attributes="value ticket/student/student_id" /> |
|---|
| 101 | </td> |
|---|
| 102 | <td style="width: 65px;"> |
|---|
| 103 | <input type="text" name="cas:list" class="form-control" |
|---|
| 104 | tal:attributes="value ticket/ca" /> |
|---|
| 105 | </td> |
|---|
| 106 | <td style="width: 65px;"> |
|---|
| 107 | <input type="text" name="imported_ts:list" class="form-control" |
|---|
| 108 | tal:attributes="value ticket/imported_ts" /> |
|---|
| 109 | </td> |
|---|
| 110 | </tr> |
|---|
| 111 | </tbody> |
|---|
| 112 | </table> |
|---|
| 113 | |
|---|
| 114 | <input type="submit" name="UPDATE_TABLE" i18n:translate="" |
|---|
| 115 | value="Update scores from table" class="btn btn-primary" |
|---|
| 116 | /> |
|---|
| 117 | |
|---|
| 118 | <input type="submit" name="VALIDATE_RESULTS" i18n:translate="" |
|---|
| 119 | value="Validate course results" class="btn btn-primary" |
|---|
| 120 | /> |
|---|
| 121 | </form> |
|---|