Changeset 7446 for main


Ignore:
Timestamp:
10 Jan 2012, 14:58:32 (13 years ago)
Author:
Henrik Bettermann
Message:

Backup of local changes in branch (work in progress).

Location:
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp
Files:
30 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/static/waeup-base.css

    r7445 r7446  
    1313}
    1414
    15 label {
    16   padding-top: 0px;
    17 }
    18 
    1915.breadcrumb {
    2016  margin-left: 20px;
    2117  margin-right: 20px;
    2218  min-width: 940px;
     19}
     20
     21.form-table {
     22  width: 100%;
     23}
     24
     25.fieldname {
     26  width: 25%;
    2327}
    2428
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/certificatemanagepage.pt

    r7443 r7446  
    2727          <tal:block repeat="widget view/widgets">
    2828            <tr>
    29               <td>
    30                 <label tal:attributes="for widget/name">
    31                   <span tal:condition="widget/required">*</span>
    32                   <span i18n:translate="" tal:content="widget/label">label</span>:
    33                 </label>
     29              <td class="fieldname">
     30                <span tal:condition="widget/required">*</span>
     31                <span i18n:translate="" tal:content="widget/label">label</span>:
    3432              </td>
    3533              <td>
     
    6664        </thead>
    6765        <tbody>
    68           <tr tal:repeat="cc context/values">
     66          <tr tal:repeat="cc context/values" class="gradeC">
    6967             <td>
    7068              <input type="checkbox"
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/certificatepage.pt

    r7443 r7446  
    77  <tal:block repeat="widget view/widgets">
    88    <tr>
    9       <td>
    10         <label tal:attributes="for widget/name">
    11           <span i18n:translate=""
     9      <td class="fieldname">
     10        <span i18n:translate=""
    1211                         tal:content="widget/label">label</span>:
    13         </label>
    1412      </td>
    1513      <td tal:on-error="default">
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/configurationmanagepage.pt

    r7444 r7446  
    2121          <tal:block repeat="widget view/widgets">
    2222            <tr>
    23               <td>
    24                 <label tal:attributes="for widget/name">
     23              <td class="fieldname">
    2524                  <span tal:condition="widget/required">*
    2625                  </span>
    2726                  <span i18n:translate="" tal:content="widget/label">label
    2827                  </span>:
    29                 </label> </td>
     28              </td>
    3029              <td>
    3130                <span tal:content="structure widget">
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenterimport1page.pt

    r7444 r7446  
    1616    </thead>
    1717    <tbody>
    18       <tr tal:repeat="file view/getFiles"
    19       tal:attributes="class python: repeat['file'].odd() and 'odd' or ''">
     18      <tr tal:repeat="file view/getFiles">
    2019        <td>
    2120          <button type="submit" name="select" class="btn primary"
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/default_waeup_edit_form.pt

    r7443 r7446  
    2424      <tal:block repeat="widget view/widgets">
    2525        <tr>
    26           <td>
    27             <label tal:attributes="for widget/name">
    28               <span tal:condition="widget/required">*</span>
    29               <span i18n:translate="" tal:content="widget/label">label</span>:
    30             </label>
     26          <td class="fieldname">
     27            <span tal:condition="widget/required">*</span>
     28            <span i18n:translate="" tal:content="widget/label">label</span>:
    3129          </td>
    3230          <td>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/departmentmanagepage.pt

    r7443 r7446  
    2727          <tal:block repeat="widget view/widgets">
    2828            <tr>
    29               <td>
    30                 <label tal:attributes="for widget/name">
     29              <td class="fieldname">
    3130                  <span tal:condition="widget/required">*
    3231                  </span>
    3332                  <span i18n:translate="" tal:content="widget/label">label
    3433                  </span>:
    35                 </label> </td>
     34              </td>
    3635              <td>
    3736                <span tal:content="structure widget">
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/facultymanagepage.pt

    r7443 r7446  
    2929          <tal:block repeat="widget view/widgets">
    3030            <tr>
    31               <td>
    32                 <label tal:attributes="for widget/name">
    33                   <span tal:condition="widget/required">*
    34                   </span>
    35                   <span i18n:translate="" tal:content="widget/label">label
    36                   </span>:
    37                 </label> </td>
     31              <td class="fieldname">
     32                <span tal:condition="widget/required">*
     33                </span>
     34                <span i18n:translate="" tal:content="widget/label">label
     35                </span>:
     36              </td>
    3837              <td>
    3938                <span tal:content="structure widget">
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/loginpage.pt

    r7444 r7446  
    44    <tbody>
    55      <tr>
    6         <td>
    7           <label>User Name or Student Id:</label>
     6        <td class="fieldname">
     7          User Name or Student Id:
    88        </td>
    99        <td>
     
    1212      </tr>
    1313      <tr>
    14         <td>
    15           <label>Password:</label>
     14        <td class="fieldname">
     15          Password:
    1616        </td>
    1717        <td>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/usereditformpage.pt

    r7443 r7446  
    2424      <tal:block repeat="widget view/widgets">
    2525        <tr>
    26           <td>
    27             <label tal:attributes="for widget/name">
    28               <span tal:condition="widget/required">*</span>
    29               <span i18n:translate="" tal:content="widget/label">label</span>:
    30             </label>
     26          <td class="fieldname">
     27            <span tal:condition="widget/required">*</span>
     28            <span i18n:translate="" tal:content="widget/label">label</span>:
    3129          </td>
    3230          <td>
     
    4442      </tal:block>
    4543      <tr>
    46         <td><label>Password:</label></td>
     44        <td class="fieldname">Password:</td>
    4745        <td>
    4846          <input name="password" type="password"  />
     
    5048      </tr>
    5149      <tr>
    52         <td><label>Retype password:</label></td>
     50        <td class="fieldname">Retype password:</td>
    5351        <td>
    5452          <input name="control_password" type="password" />
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser.py

    r7424 r7446  
    4141from waeup.sirp.browser.viewlets import (
    4242    ManageActionButton, AddActionButton)
    43 from waeup.sirp.browser.layout import jsaction, JSAction
     43from waeup.sirp.browser.layout import jsaction, action
    4444from waeup.sirp.interfaces import (
    4545    ISIRPObject, IUserAccount, IExtFileStore, IPasswordValidator, IContactForm,
     
    328328    pnav = 4
    329329
    330     @grok.action('Create student record')
     330    @action('Create student record', style='primary')
    331331    def addStudent(self, **data):
    332332        student = createObject(u'waeup.Student')
     
    383383        return u'Send message to %s' % self.context.display_fullname
    384384
    385     @grok.action('Send message now')
     385    @action('Send message now', style='primary')
    386386    def send(self, *args, **data):
    387387        try:
     
    442442            dict(name=x, title=y) for x, y in allowed_transitions]
    443443
    444     @grok.action('Save')
     444    @action('Save', style='primary')
    445445    def save(self, **data):
    446446        form = self.request.form
     
    576576        return super(StudentClearanceManageFormPage, self).update()
    577577
    578     @grok.action('Save')
     578    @action('Save', style='primary')
    579579    def save(self, **data):
    580580        msave(self, **data)
     
    662662    pnav = 4
    663663
    664     @grok.action('Save')
     664    @action('Save', style='primary')
    665665    def save(self, **data):
    666666        msave(self, **data)
     
    732732        return
    733733
    734     @grok.action('Save')
     734    @action('Save', style='primary')
    735735    def save(self, **data):
    736736        msave(self, **data)
     
    744744            yield(dict(code=code, title=title))
    745745
    746     @grok.action('Add study level')
     746    @action('Add study level')
    747747    def addStudyLevel(self, **data):
    748748        level_code = self.request.form.get('addlevel', None)
     
    921921        return 'Manage study level %s' % self.context.level_title
    922922
    923     @grok.action('Save')
     923    @action('Save', style='primary')
    924924    def save(self, **data):
    925925        msave(self, **data)
    926926        return
    927927
    928     @grok.action('Add course ticket')
     928    @action('Add course ticket')
    929929    def addCourseTicket(self, **data):
    930930        self.redirect(self.url(self.context, '@@add'))
     
    10221022        return 'Study Level %s' % self.context.level_title
    10231023
    1024     @grok.action('Add course ticket')
     1024    @action('Add course ticket')
    10251025    def addCourseTicket(self, **data):
    10261026        ticket = CourseTicket()
     
    10461046        return
    10471047
    1048     @grok.action('Cancel')
     1048    @action('Cancel')
    10491049    def cancel(self, **data):
    10501050        self.redirect(self.url(self.context))
     
    10951095        return 'Manage course ticket %s' % self.context.code
    10961096
    1097     @grok.action('Save')
     1097    @action('Save', style='primary')
    10981098    def save(self, **data):
    10991099        msave(self, **data)
     
    11761176        return
    11771177
    1178     @grok.action('Add online payment ticket')
     1178    @action('Add online payment ticket')
    11791179    def addPaymentTicket(self, **data):
    11801180        self.redirect(self.url(self.context, '@@addop'))
     
    12001200    pnav = 4
    12011201   
    1202     @grok.action('Create ticket')
     1202    @action('Create ticket', style='primary')
    12031203    def createTicket(self, **data):
    12041204        p_category = data['p_category']
     
    17351735    pnav = 4
    17361736
    1737     @grok.action('Save')
     1737    @action('Save', style='primary')
    17381738    def save(self, **data):
    17391739        msave(self, **data)
     
    17511751    pnav = 4
    17521752
    1753     @grok.action('Save')
     1753    @action('Save', style='primary')
    17541754    def save(self, **data):
    17551755        form = self.request.form
     
    18981898        return super(StudentClearanceEditFormPage, self).update()
    18991899
    1900     @grok.action('Save')
     1900    @action('Save', style='primary')
    19011901    def save(self, **data):
    19021902        self.applyData(self.context, **data)
     
    19111911        return False
    19121912
    1913     @grok.action('Save and request clearance')
     1913    @action('Save and request clearance', style='primary')
    19141914    def requestClearance(self, **data):
    19151915        self.applyData(self.context, **data)
     
    20632063        return
    20642064
    2065     @grok.action('Create course list now')
     2065    @action('Create course list now', style='primary')
    20662066    def addStudyLevel(self, **data):
    20672067        studylevel = StudentStudyLevel()
     
    21272127        return total_credits
    21282128
    2129     @grok.action('Add course ticket')
     2129    @action('Add course ticket')
    21302130    def addCourseTicket(self, **data):
    21312131        self.redirect(self.url(self.context, 'ctadd'))
     
    21572157        return
    21582158
    2159     @grok.action('Register course list')
     2159    @action('Register course list', style='primary')
    21602160    def RegisterCourses(self, **data):
    21612161        IWorkflowInfo(self.context.getStudent()).fireTransition('register_courses')
     
    21722172        'grade', 'score', 'core_or_elective', 'automatic')
    21732173
    2174     @grok.action('Add course ticket')
     2174    @action('Add course ticket')
    21752175    def addCourseTicket(self, **data):
    21762176        ticket = CourseTicket()
     
    22112211        return
    22122212
    2213     @grok.action('Get login credentials')
     2213    @action('Get login credentials', style='primary')
    22142214    def request(self, **data):
    22152215        if not self.captcha_result.is_valid:
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/accommodationmanagepage.pt

    r7254 r7446  
    33tal:content="view/label">Label</h2>
    44
    5 <div class="form-status"
     5<div class="alert-message error"
    66    tal:define="status view/status"
    77    tal:condition="status">
     
    1313
    1414<form action="." tal:attributes="action request/URL" method="POST"
    15       class="edit-form" enctype="multipart/form-data">
     15      enctype="multipart/form-data">
    1616
    1717  <table class="display dataTableManage">
     
    4141  </table>
    4242
    43   <div class="actionButtons" tal:condition="view/availableActions">
     43  <div tal:condition="view/availableActions">
    4444    <span tal:repeat="action view/selected_actions"
    4545          tal:omit-tag="">
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/basemanagepage.pt

    r7134 r7446  
    44
    55<form action="." tal:attributes="action request/URL" method="post"
    6       class="edit-form" enctype="multipart/form-data">
     6      enctype="multipart/form-data">
    77
    8   <div class="form-status"
     8  <div class="alert-message error"
    99    tal:define="status view/status"
    1010    tal:condition="status">
     
    1515  </div>
    1616
    17   <div id="tabs">
    18     <ul>
    19       <li><a href="#tab-1"><span>Base Data</span></a></li>
    20       <li><a href="#tab-2"><span>Passport Picture</span></a></li>
    21     </ul>
     17  <ul class="tabs" data-tabs="tabs">
     18    <li class="active"><a href="#tab-1"><span>Base Data</span></a></li>
     19    <li><a href="#tab-2"><span>Passport Picture</span></a></li>
     20  </ul>
    2221
    23     <div id="tab-1">
    24       <table class="form-fields zebra">
     22  <div class="tab-content">
     23    <div id="tab-1" class="active">
     24      <table class="form-table">
    2525        <tbody>
    2626          <tal:block repeat="widget view/widgets">
    2727            <tr>
    28               <td class="label">
    29                 <label tal:attributes="for widget/name">
    30                   <span class="required" tal:condition="widget/required">*</span>
    31                   <span i18n:translate="" tal:content="widget/label">label</span>:
    32                 </label>
     28              <td class="fieldname">
     29                <span tal:condition="widget/required">*</span>
     30                <span i18n:translate="" tal:content="widget/label">label</span>:
    3331              </td>
    34               <td class="field">
    35                 <span class="widget" tal:content="structure widget">
     32              <td>
     33                <span tal:content="structure widget">
    3634                  <input type="text" />
    3735                </span>
     
    4038                </tal:error>
    4139                <tal:hint tal:condition="widget/hint">
    42                   <span class="hint" tal:content="structure widget/hint">hint</span>
     40                  <span tal:content="structure widget/hint">hint</span>
    4341                </tal:hint>
    4442              </td>
     
    4644          </tal:block>
    4745          <tr>
    48             <td class="label"><label>Password:</label></td>
     46            <td class="fieldname">Password:</td>
    4947            <td>
    5048              <input name="password" type="password"  />
     
    5250          </tr>
    5351          <tr>
    54             <td class="label"><label>Retype password:</label></td>
     52            <td class="fieldname">Retype password:</td>
    5553            <td>
    5654              <input name="control_password" type="password" />
     
    5856          </tr>
    5957          <tr>
    60             <td class="label"><label>Registration Transition:</label></td>
     58            <td class="fieldname">Registration Transition:</td>
    6159            <td>
    6260              <select id="transition" name="transition">
     
    7270      </table>
    7371
    74       <div class="actionButtons" tal:condition="view/availableActions">
     72      <div tal:condition="view/availableActions">
    7573        <input tal:repeat="action view/actions"
    7674               tal:replace="structure action/render"
     
    8078
    8179    <div id="tab-2">
    82       <h2>Upload passport picture</h2>
    83       <table class="form-fields zebra">
     80      <table class="form-table">
    8481        <tbody>
    8582          <tal:files content="structure provider:files" />
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/basepage.pt

    r7384 r7446  
    33    tal:content="view/label">Label</h2>
    44
    5 <table class="zebra">
     5<table class="form-table">
    66  <tbody>
    77    <tal:block repeat="widget view/widgets">
     
    2626  </tbody>
    2727  <tfoot>
    28     <tr class="controls">
    29       <td colspan="2" class="align-right">
     28    <tr>
     29      <td>
    3030        <input tal:repeat="action view/actions"
    3131               tal:replace="structure action/render" />
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/change_password.pt

    r7144 r7446  
    44
    55<form action="." tal:attributes="action request/URL" method="post"
    6       class="edit-form" enctype="multipart/form-data">
     6      enctype="multipart/form-data">
    77
    88  <input type="hidden" name="student_id" value=""
    99         tal:attributes="value context/student_id" />
    1010
    11   <table class="form-fields zebra">
     11  <table class="form-table">
    1212    <tbody>
    1313      <tr>
    14         <td class="label"><label>Password:</label></td>
     14        <td class="fieldname">Password:</td>
    1515        <td>
    1616          <input name="change_password" type="password"  />
     
    1818      </tr>
    1919      <tr>
    20         <td class="label"><label>Retype password:</label></td>
     20        <td class="fieldname">Retype password:</td>
    2121        <td>
    2222          <input name="change_password_repeat" type="password" />
     
    2626  </table>
    2727
    28   <div class="actionButtons" tal:condition="view/availableActions">
     28  <div tal:condition="view/availableActions">
    2929    <input tal:repeat="action view/actions"
    3030           tal:replace="structure action/render"
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/changepw.pt

    r7369 r7446  
    11<form action="." tal:attributes="action request/URL" method="post"
    2       class="edit-form" enctype="multipart/form-data">
     2      enctype="multipart/form-data">
    33
    44  <h2 i18n:translate=""
     
    66    tal:content="view/label">Label</h2>
    77
    8   <div class="form-status"
     8  <div class="alert-message error"
    99    tal:define="status view/status"
    1010    tal:condition="status">
     
    1515  </div>
    1616
    17   <table class="zebra">
     17  <table class="form-table">
    1818    <tbody>
    1919      <tal:block repeat="widget view/widgets">
    2020        <tr>
    21           <td class="label">
    22             <label tal:attributes="for widget/name">
    23               <span class="required" tal:condition="widget/required">*</span>
     21          <td class="fieldname">
     22              <span tal:condition="widget/required">*</span>
    2423              <span i18n:translate="" tal:content="widget/label">label</span>:
    25             </label>
    2624          </td>
    27           <td class="field">
    28             <span class="widget" tal:content="structure widget">
     25          <td>
     26            <span tal:content="structure widget">
    2927              <input type="text" />
    3028            </span>
     
    3331            </tal:error>
    3432            <tal:hint tal:condition="widget/hint">
    35               <span class="hint" tal:content="structure widget/hint">hint</span>
     33              <span tal:content="structure widget/hint">hint</span>
    3634            </tal:hint>
    3735          </td>
     
    5149  </table>
    5250
    53   <div class="actionButtons" tal:condition="view/availableActions">
     51  <div tal:condition="view/availableActions">
    5452    <input tal:repeat="action view/actions"
    5553           tal:replace="structure action/render"
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/clearanceeditpage.pt

    r7134 r7446  
    44
    55<form action="." tal:attributes="action request/URL" method="post"
    6       class="edit-form" enctype="multipart/form-data">
     6      enctype="multipart/form-data">
    77
    8   <div class="form-status"
     8  <div class="alert-message error"
    99    tal:define="status view/status"
    1010    tal:condition="status">
     
    1515  </div>
    1616
    17   <div id="tabs">
    18     <ul>
    19       <li><a href="#tab-1"><span>Clearance Data</span></a></li>
    20       <li><a href="#tab-2"><span>Scans</span></a></li>
    21     </ul>
    22 
    23     <div id="tab-1">
    24       <table class="form-fields zebra">
     17  <ul class="tabs" data-tabs="tabs">
     18    <li class="active"><a href="#tab-1"><span>Clearance Data</span></a></li>
     19    <li><a href="#tab-2"><span>Scans</span></a></li>
     20  </ul>
     21  <div class="tab-content">
     22    <div id="tab-1" class="active">
     23      <table class="form-table">
    2524        <tbody>
    2625          <tal:block repeat="widget view/widgets">
    2726            <tr>
    28               <td class="label">
    29                 <label tal:attributes="for widget/name">
    30                   <span class="required" tal:condition="widget/required">*</span>
     27              <td class="fieldname">
     28                  <span tal:condition="widget/required">*</span>
    3129                  <span i18n:translate="" tal:content="widget/label">label</span>:
    32                 </label>
    3330              </td>
    34               <td class="field">
    35                 <span class="widget" tal:content="structure widget">
     31              <td>
     32                <span tal:content="structure widget">
    3633                  <input type="text" />
    3734                </span>
     
    4037                </tal:error>
    4138                <tal:hint tal:condition="widget/hint">
    42                   <span class="hint" tal:content="structure widget/hint">hint</span>
     39                  <span tal:content="structure widget/hint">hint</span>
    4340                </tal:hint>
    4441              </td>
     
    4845      </table>
    4946
    50       <div class="actionButtons" tal:condition="view/availableActions">
     47      <div tal:condition="view/availableActions">
    5148        <input tal:repeat="action view/actions"
    5249               tal:replace="structure action/render"
     
    5653
    5754    <div id="tab-2">
    58       <h2>Upload scans</h2>
    59       <table class="form-fields zebra">
     55      <table class="form-table">
    6056        <tbody>
    6157          <tal:files content="structure provider:files" />
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/containerpage.pt

    r7364 r7446  
    44<br />
    55
    6   <input type="submit" name="search" value="Search" />
     6  <input class="btn primary" type="submit" name="search" value="Search" />
    77  for students
    88
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/courseticketmanagepage.pt

    r6796 r7446  
    11<form action="." tal:attributes="action request/URL" method="post"
    2       class="edit-form" enctype="multipart/form-data">
     2      enctype="multipart/form-data">
    33
    44  <h2 i18n:translate=""
     
    66    tal:content="view/label">Label</h2>
    77
    8   <div class="form-status"
     8  <div class="alert-message error"
    99    tal:define="status view/status"
    1010    tal:condition="status">
     
    1515  </div>
    1616
    17 
    18   <table class="zebra">
     17  <table class="form-table">
    1918    <tbody>
    2019      <tr>
     
    6867      <tal:block repeat="widget view/widgets">
    6968        <tr>
    70           <td class="label">
    71             <label tal:attributes="for widget/name">
    72               <span class="required" tal:condition="widget/required">*</span>
     69          <td class="fieldname">
     70              <span tal:condition="widget/required">*</span>
    7371              <span i18n:translate="" tal:content="widget/label">label</span>:
    74             </label>
    7572          </td>
    76           <td class="field">
    77             <span class="widget" tal:content="structure widget">
     73          <td>
     74            <span tal:content="structure widget">
    7875              <input type="text" />
    7976            </span>
     
    8279            </tal:error>
    8380            <tal:hint tal:condition="widget/hint">
    84               <span class="hint" tal:content="structure widget/hint">hint</span>
     81              <span tal:content="structure widget/hint">hint</span>
    8582            </tal:hint>
    8683          </td>
     
    8986    </tbody>
    9087  </table>
    91   <div class="actionButtons" tal:condition="view/availableActions">
     88  <div tal:condition="view/availableActions">
    9289    <input tal:repeat="action view/actions"
    9390           tal:replace="structure action/render"
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/courseticketpage.pt

    r6804 r7446  
    33    tal:content="view/label">Label</h2>
    44
    5 <table class="zebra">
     5<table class="form-table">
    66  <tbody>
    77    <tr>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/enterpin.pt

    r6935 r7446  
    22    tal:content="view/label">Label</h2>
    33<form method="POST">
    4   <table>
     4  <table class="form-table">
    55    <tbody>
    66      <tr><td>
    7         <label for="ac_series">Activation Code:</label>
     7        Activation Code:
    88        </td><td>
    99        <span tal:replace="view/ac_prefix">PIN Prefix</span> -
     
    1818      <tr>
    1919        <td colspan="2">
    20           <input type="submit" name="SUBMIT"
     20          <input type="submit" name="SUBMIT" class="btn primary"
    2121                 tal:attributes="value view/buttonname" />
    22                  </td>
     22        </td>
    2323      </tr>
    2424    </tbody>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/filedisplay.pt

    r7319 r7446  
    11<tr tal:condition = "viewlet/file_exists">
    2   <td class="label">
    3     <label i18n:translate="">
    4         <span tal:replace="viewlet/label">FILENAME</span>:
    5     </label>
     2  <td class="fieldname">
     3    <span tal:replace="viewlet/label">FILENAME</span>:
    64  </td>
    7   <td class="field">
     5  <td>
    86    <span class="widget">
    97      <a tal:attributes="href viewlet/download_name"
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/filesuploadpage.pt

    r7127 r7446  
    44
    55<form action="." tal:attributes="action request/URL" method="post"
    6       class="edit-form" enctype="multipart/form-data">
    7   <table class="zebra">
     6      enctype="multipart/form-data">
     7  <table class="form-table">
    88    <tbody>
    99      <tal:files content="structure provider:files" />
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/fileupload.pt

    r7442 r7446  
    11<tr>
    2   <td class="label">
    3     <label i18n:translate="" tal:attributes="for viewlet/input_name">
    4         <span tal:replace="viewlet/label">FILENAME</span>:
    5     </label>
     2  <td class="fieldname">
     3    <span tal:replace="viewlet/label">FILENAME</span>:
    64  </td>
    7   <td class="field">
     5  <td>
    86    <span class="widget">
    97
     
    1715      <br />
    1816      <input type="file" tal:attributes="name viewlet/input_name"/>
    19       <br />
     17      <br /><br />
    2018      <input type="submit" tal:condition="viewlet/file_exists"
    2119             tal:attributes="id python:('delete_%s' % viewlet.input_name);
    2220                name python:('delete_%s' % viewlet.input_name)"
    23              value="Delete attachment" class="btn" />
     21             value="Delete attachment" class="btn error" />
    2422      <input type="submit"
    2523               tal:attributes="id python:('upload_%s' % viewlet.input_name);
    2624                  name python:('upload_%s' % viewlet.input_name)"
    27                value="Upload new file" class="btn" />
     25               value="Upload new file" class="btn primary" />
    2826      <span i18n:translate="">
    2927        Max. file size:
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/imagedisplay.pt

    r7414 r7446  
    11<tr>
    2   <td class="label">
    3     <label i18n:translate="">
     2  <td class="fieldname">
    43        <span tal:replace="viewlet/label">FILENAME</span>:
    5     </label>
    64  </td>
    7   <td class="field">
    8     <span class="widget">
     5  <td>
    96      <img height="125px" tal:attributes="src viewlet/download_name" />
    107      <br />
    11     </span>
    128  </td>
    139</tr>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/imageupload.pt

    r7414 r7446  
    11<tr>
    2   <td class="label">
    3     <label i18n:translate="" tal:attributes="for viewlet/input_name">
    4         <span tal:replace="viewlet/label">FILENAME</span>:
    5     </label>
     2  <td class="fieldname">
     3    <span tal:replace="viewlet/label">FILENAME</span>:
    64  </td>
    7   <td class="field">
     5  <td>
    86    <span class="widget">
    97      <img align="middle" height="125px"
     
    1210       tal:attributes="id python:('delete_%s' % viewlet.input_name);
    1311          name python:('delete_%s' % viewlet.input_name)"
    14        value="Delete" class="button" />
     12       value="Delete" class="btn error" />
    1513      <br /><br />
    1614      <input type="file" tal:attributes="name viewlet/input_name"/>
     15      <br /><br />
    1716      <input type="submit"
    1817               tal:attributes="id python:('upload_%s' % viewlet.input_name);
    1918                  name python:('upload_%s' % viewlet.input_name)"
    20                value="Upload" class="button" />
     19               value="Upload" class="btn primary" />
    2120      <span i18n:translate="">
    2221        Max. file size:
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/paymentsmanagepage.pt

    r7254 r7446  
    33tal:content="view/label">Label</h2>
    44
    5 <div class="form-status"
     5<div class="alert-message error"
    66    tal:define="status view/status"
    77    tal:condition="status">
     
    1313
    1414<form action="." tal:attributes="action request/URL" method="POST"
    15       class="edit-form" enctype="multipart/form-data">
     15      enctype="multipart/form-data">
    1616
    1717  <table class="display dataTableManage">
     
    4646  </table>
    4747
    48   <div class="actionButtons" tal:condition="view/availableActions">
     48  <div tal:condition="view/availableActions">
    4949    <span tal:repeat="action view/actions"
    5050          tal:omit-tag="">
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/paymentspage.pt

    r7254 r7446  
    11<h2 tal:content="view/label">TITLE</h2>
    22
    3 <table class="zebra">
    4 <thead>
    5 </thead>
    63<table class="display dataTable">
    74  <thead>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/setpassword.pt

    r6758 r7446  
    22    tal:content="view/label">Label</h2>
    33<form method="POST">
    4   <table>
     4  <table class="form-table">
    55    <tbody>
    6       <tr><td>
    7           <label for="reg_number">Registration Number:
    8           </label></td> <td>
     6      <tr>
     7      <td>
     8          Registration Number:
     9      </td>
     10      <td>
    911          <input name="reg_number" type="text" size="15" maxlength="15"
    1012                 value="" tal:attributes="value view/reg_number"/>
    11       </td></tr>
     13      </td>
     14      </tr>
    1215      <tr>
    1316        <td>
    14           <label for="ac_series">Access Code:
    15           </label></td> <td>
     17          Access Code:
     18        </td>
     19        <td>
    1620          <span tal:replace="view/ac_prefix">PIN Prefix
    1721          </span> -
     
    2327      <tr>
    2428        <td colspan="2">
    25         <input type="submit" name="SUBMIT"
     29        <input type="submit" name="SUBMIT" class="btn primary"
    2630               value="Show Student Id and set password" /> </td>
    2731      </tr>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/studentpage.pt

    r6635 r7446  
    33    tal:content="view/label">Label</h2>
    44
    5 <table class="zebra">
     5<table class="form-table">
    66  <tbody>
    77    <tal:block repeat="widget view/widgets">
     
    1717  </tbody>
    1818  <tfoot>
    19     <tr class="controls">
     19    <tr>
    2020      <td colspan="2" class="align-right">
    2121        <input tal:repeat="action view/actions"
     
    2424    </tr>
    2525  </tfoot>
    26 
    2726</table>
    2827
Note: See TracChangeset for help on using the changeset viewer.