Ignore:
Timestamp:
10 Jan 2012, 07:45:40 (13 years ago)
Author:
Henrik Bettermann
Message:

Use proper css classes for buttons.

Location:
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/configurationmanagepage.pt

    r7443 r7444  
    4646      <div tal:condition="view/availableActions">
    4747        <span tal:repeat="action view/actions" tal:omit-tag="">
    48           <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/>
     48          <input tal:condition="python:action.label in view.taboneactions"
     49                 tal:replace="structure action/render"/>
    4950        </span>
    5051      </div>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenterimport1page.pt

    r7443 r7444  
    1919      tal:attributes="class python: repeat['file'].odd() and 'odd' or ''">
    2020        <td>
    21           <button type="submit" name="select" class="btn"
     21          <button type="submit" name="select" class="btn primary"
    2222            tal:attributes="value file/name">Select</button>
    2323        </td>
     
    2929    </tbody>
    3030  </table>
    31   <input type="submit" name="cancel" value="Cancel" />
     31  <input type="submit" name="cancel" class="btn" value="Cancel" />
    3232</form>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenterimport2page.pt

    r7443 r7444  
    6060    </p>
    6161  </div>
    62   <input type="submit" name="cancel" value="Cancel" />
    63   <input type="submit" name="back1" value="Back to step 1" />
    64   <input tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''"
     62  <input class="btn" type="submit" name="cancel" value="Cancel" />
     63  <input class="btn danger" type="submit" name="back1" value="Back to step 1" />
     64  <input class="btn primary" tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''"
    6565    type="submit" name="proceed" value="Proceed to step 3..." />
    6666</form>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenterimport3page.pt

    r7443 r7444  
    7171  </div>
    7272
    73   <input type="submit" name="cancel" value="Cancel" />
    74   <input type="reset" name="reset" value="Reset" />
    75   <input type="submit" name="update" value="Set headerfields" />
     73  <input class="btn" type="submit" name="cancel" value="Cancel" />
     74  <input class="btn" type="reset" name="reset" value="Reset" />
     75  <input class="btn" type="submit" name="update" value="Set headerfields" />
    7676  <br /><br />
    77   <input type="submit" name="back2" value="Back to step 2" />
    78   <input tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''"
     77  <input class="btn danger" type="submit" name="back2" value="Back to step 2" />
     78  <input class="btn primary" tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''"
    7979   type="submit" name="proceed" value="Perform import..." />
    8080</form>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenterimport4page.pt

    r6908 r7444  
    1818</p>
    1919<form method="POST">
    20   <input type="submit" name="finish" value="Back to data center" />
    21   <input type="submit" name="showlog" value="View processing log" />
     20  <input class="btn primary" type="submit" name="finish" value="Back to data center" />
     21  <input class="btn" type="submit" name="showlog" value="View processing log" />
    2222</form>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenterlogspage.pt

    r7443 r7444  
    2020        <td class="text-center">
    2121          <form method="POST">
    22             <input type="submit" class="btn" name="show" value="Show" />
     22            <input type="submit" class="btn primary" name="show" value="Show" />
    2323            <input type="hidden" name="logname" tal:attributes="value file/name" />
    2424          </form></td>
     
    3030  </table>
    3131  <form method="POST">
    32     <input type="submit" name="back" value="Back to Data Center" />
     32    <input type="submit" class="btn" name="back" value="Back to Data Center" />
    3333  </form>
    3434</div>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenterlogsshowfilepage.pt

    r7443 r7444  
    44
    55<form method="POST">
    6   <input type="submit" name="back" value="Back" />
     6  <input class="btn primary" type="submit" name="back" value="Back" />
    77</form>
    88
     
    1414
    1515<form method="POST">
    16   <input type="submit" name="back" value="Back" />
     16  <input class="btn primary" type="submit" name="back" value="Back" />
    1717</form>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacentermanagepage.pt

    r7443 r7444  
    1515    <input type="checkbox" name="overwrite" checked="no" />
    1616    <br /><br />
    17     <input type="submit" name="save" value="Save" />
    18     <input type="reset" name="reset" value="Reset" />
    19     <input type="submit" name="cancel" value="Cancel" />
     17    <input class="btn primary" type="submit" name="save" value="Save" />
     18    <input class="btn" type="reset" name="reset" value="Reset" />
     19    <input class="btn" type="submit" name="cancel" value="Cancel" />
    2020  </div>
    2121</form>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/datacenteruploadpage.pt

    r6908 r7444  
    55<form method="post" enctype="multipart/form-data">
    66  <input type="file" name="uploadfile:file" />
     7  <br /><br />
    78  <div>
    8     <input type="submit" name="SUBMIT" value="Upload" />
    9     <input type="submit" name="CANCEL" value="Cancel" />
     9    <input class="btn primary" type="submit" name="SUBMIT" value="Upload" />
     10    <input class="btn" type="submit" name="CANCEL" value="Cancel" />
    1011  </div>
    1112</form>
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/loginpage.pt

    r7443 r7444  
    2424  </table>
    2525  <input type="hidden" name="camefrom"   tal:attributes="value view/camefrom" />
    26   <input type="submit" name="SUBMIT" value="Login" /><br /><br />
     26  <input class="btn primary" type="submit" name="SUBMIT" value="Login" /><br /><br />
    2727  <p>Don't forget to logout or exit your browser when you're done.
    2828  If you are having trouble logging in, make sure to enable  cookies in your web browser.
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/searchpage.pt

    r7443 r7444  
    33  <input type="text" name="query"
    44         tal:attributes="value view/query" />
    5     <input type="submit" name="SUBMIT" value="Search" />
     5    <input class="btn primary" type="submit" name="SUBMIT" value="Search" />
    66</form>
    77<br />
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/userscontainerpage.pt

    r7443 r7444  
    2121          <input type="hidden" name="userid"
    2222           tal:attributes="value account/name"/>
    23             <input type="submit" name="manage" value="manage" />
    24             <input type="submit" name="delete" value="delete" />
     23            <input class="btn" type="submit" name="manage" value="manage" />
     24            <input class="btn" type="submit" name="delete" value="delete" />
    2525        </form>
    2626      </td>
Note: See TracChangeset for help on using the changeset viewer.