Changeset 13769 for main/waeup.kofa


Ignore:
Timestamp:
8 Mar 2016, 17:19:16 (9 years ago)
Author:
Henrik Bettermann
Message:

Beautify editscorespage.pt.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/students
Files:
2 edited

Legend:

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

    r13761 r13769  
    1818        <tr tal:repeat="ticket view/tickets">
    1919      <td tal:content="ticket/student/matric_number">MATRIC_NUMBER</td>
    20           <td tal:condition="ticket/editable_by_lecturer">
    21           <input type="text" name="scores" class="span1"
     20          <td tal:condition="ticket/editable_by_lecturer" style="width: 65px;">
     21          <input type="text" name="scores" class="form-control"
    2222                     tal:attributes="value ticket/score" />
    2323      </td>
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r13766 r13769  
    18591859            "http://localhost/app/faculties/fac1/dep1/courses/COURSE1/edit_scores")
    18601860        self.assertTrue(
    1861             '<input type="text" name="scores" class="span1" />'
    1862             in self.browser.contents)
     1861            'input type="text" name="scores"' in self.browser.contents)
    18631862        self.browser.getControl(name="scores", index=0).value = '55'
    18641863        self.browser.getControl("Update scores").click()
Note: See TracChangeset for help on using the changeset viewer.