Changeset 9641 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 15 Nov 2012, 22:10:45 (12 years ago)
- 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/studentreportgeneratorpage.pt
r9633 r9641 1 <div i18n:domain="waeup.kofa"> 2 <h2 i18n:translate="">Create Report: Students by Session</h2> 3 4 <div class="row"> 5 <div class="span8 columns"> 6 <div class="span8 columns"> 7 <p i18n:translate=""> 8 Please pick the session for which the report should be 9 generated. 10 </p> 11 <p i18n:translate=""> 12 The report data will be calculated and then made available 13 for you to view/download. 14 </p> 1 <form i18n:domain="waeup.kofa" method="POST"> 2 <p i18n:translate=""> 3 Please pick the session for which the report should be 4 generated. 5 The report data will be calculated and then made available 6 for you to view/download. 7 </p> 8 <br /> 9 <div class="clearfix"> 10 <label for="session">Academic Session:</label> 11 <div class="input"> 12 <select name="session"> 13 <span tal:repeat="items view/sessions" tal:omit-tag=""> 14 <option 15 tal:define="name python: items[1]; title python: items[0]" 16 tal:attributes="value name"> 17 <span tal:replace="title">TITLE</span> 18 </option> 19 </span> 20 </select> 21 <div class="help-inline" i18n:translate=""> 22 Academic session to report 15 23 </div> 16 <form method="POST">17 <fieldset>18 19 <div class="clearfix">20 <label for="session">Academic Session:</label>21 <div class="input">22 <select name="session">23 <span tal:repeat="items view/sessions" tal:omit-tag="">24 <option25 tal:define="name python: items[1]; title python: items[0]"26 tal:attributes="value name">27 <span tal:replace="title">TITLE</span>28 </option>29 </span>30 </select>31 <span class="help-inline" i18n:translate="">32 Academic session to report33 </span>34 </div>35 36 </div>37 <div class="input">38 <input i18n:translate="" type="submit" class="btn primary"39 name="CREATE" value="Create" />40 <a class="btn secondary" href=""41 tal:attributes="href view/parent_url">Abort</a>42 </div>43 44 </fieldset>45 </form>46 47 24 </div> 48 25 </div> 26 <div class="input"> 27 <input i18n:translate="" type="submit" class="btn primary" 28 name="CREATE" value="Create" /> 29 <a class="btn secondary" href="" 30 tal:attributes="href view/parent_url">Cancel</a> 31 </div> 32 </form> 49 33 50 </div> -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r9569 r9641 22 22 import tempfile 23 23 import pytz 24 import base64 24 25 from datetime import datetime, timedelta 25 26 from StringIO import StringIO … … 438 439 # manufacturers to support a "logout" user interface element ... 439 440 self.assertTrue('Manager' in self.browser.contents) 441 442 def test_basic_auth_base64(self): 443 auth_token = base64.b64encode('mgr:mgrpw') 444 self.browser.addHeader('Authorization', 'Basic %s' % auth_token) 445 self.browser.open(self.manage_container_path) 446 self.assertEqual(self.browser.headers['Status'], '200 Ok') 440 447 441 448 def test_manage_access(self):
Note: See TracChangeset for help on using the changeset viewer.