Ignore:
Timestamp:
14 Feb 2014, 18:35:53 (11 years ago)
Author:
Henrik Bettermann
Message:

Diazofy first custom package.

Location:
main/waeup.aaue/branches/henrik-diazo-themed/src/waeup/aaue
Files:
4 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/branches/henrik-diazo-themed/src/waeup/aaue/browser/tests.py

    r8444 r11100  
    4949        shutil.rmtree(self.dc_root)
    5050
    51     def test_custom_theme(self):
    52         self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
    53         self.browser.open('http://localhost/app/configuration')
    54         self.assertMatches('...AAUE Theme...', self.browser.contents)
    55         self.browser.getControl(name="form.skin").value = ['custom theme']
    56         self.browser.getControl("Save").click()
    57         self.browser.open('http://localhost/app/configuration')
    58         return
    59 
    6051    #def test_access_live_url(self):
    6152    #    # We can't access the system with basic authentication
  • main/waeup.aaue/branches/henrik-diazo-themed/src/waeup/aaue/etranzact/browser.py

    r10983 r11100  
    271271    label = _('Requery eTranzact History')
    272272    action = 'query_history'
     273    placeholder = _('Confirmation Number (PIN)')
    273274
    274275class EtranzactEnterPinPageApplicant(EtranzactEnterPinPageStudent):
  • main/waeup.aaue/branches/henrik-diazo-themed/src/waeup/aaue/etranzact/browser_templates/enterpin.pt

    r9853 r11100  
    1 <form tal:attributes="action view/action"
    2     method="POST" i18n:domain="waeup.aaue">
    3   <table class="form-table">
    4     <tbody>
    5       <tr>
    6         <td i18n:translate="">
    7         Confirmation Number (PIN):
    8         </td>
    9         <td>
    10         <input name="confirmation_number" type="text" class="span5" maxlength=""
    11                value="" />
    12         </td>
    13       </tr>
    14       <tr>
    15         <td colspan="2">
    16           <input type="submit" name="SUBMIT" class="btn primary"
    17                  tal:attributes="value view/buttonname" />
    18         </td>
    19       </tr>
    20     </tbody>
    21   </table>
     1<form method="POST" class="form-inline" tal:attributes="action view/action">
     2<br />
     3  <div class="form-group half">
     4    <input name="confirmation_number" type="text" class="form-control" maxlength=""
     5           value="" tal:attributes="placeholder view/placeholder"/>
     6  </div>
     7  <div class="form-group">
     8    <input type="submit" name="SUBMIT" class="btn btn-primary"
     9           tal:attributes="value view/buttonname" />
     10  </div>
    2211</form>
  • main/waeup.aaue/branches/henrik-diazo-themed/src/waeup/aaue/etranzact/tests.py

    r10978 r11100  
    7171        self.browser.getLink("Query eTranzact History").click()
    7272        self.assertMatches(
    73             '...Confirmation Number (PIN):...',
     73            '...Confirmation Number (PIN)...',
    7474            self.browser.contents)
    7575
Note: See TracChangeset for help on using the changeset viewer.