Changeset 1064 for WAeUP_SRP


Ignore:
Timestamp:
14 Dec 2006, 21:00:24 (18 years ago)
Author:
Henrik Bettermann
Message:

PIN search beautyfied

Location:
WAeUP_SRP/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/layouts/scratch_card_search.xml

    r1010 r1064  
    1313  </property>
    1414  <property name="is_required">True</property>
    15   <property name="label">Search for used SC</property>
    16   <property name="label_edit">Search for used SC</property>
     15  <property name="label">>Search for Scratch Card</property>
     16  <property name="label_edit">Search for Scratch Card</property>
    1717  <property name="readonly_layout_modes"/>
    1818  <property name="hidden_layout_modes"/>
  • WAeUP_SRP/trunk/skins/waeup_pins/pins_view.pt

    r1062 r1064  
    88      <span tal:condition="isAnon">
    99      </span> 
     10      <h3>Search PIN Section</h3>
     11      <br />     
    1012      <span tal:condition="not:isAnon">
    1113        <span tal:replace="structure rendered" />
     
    3032          </tr>
    3133        </table>
    32         <table width="100%" cellspacing="0" cellpadding="2"
    33                summary="contents of the folder"
    34                class="folderButtons">
    35           <tr>
    36             <td align="left" valign="top" rowspan="3"></td>
    37             <td align="left" valign="top">
    38               <input type="submit" name="disable_pins:method"
    39                      value="disable pins"
    40                      class="destructive"
    41                      tal:attributes="onclick python:'return window.confirm(\'%s\')' %
    42                      (cpsmcat('really disable ?'), )"
    43                      />
    44             </td>
    45             <td align="left" valign="top">
    46               <input type="submit" name="enable_pins:method"
    47                      value="enable pins"
    48                      class="destructive"
    49                      tal:attributes="onclick python:'return window.confirm(\'%s\')' %
    50                      (cpsmcat('really enable ?'), )"
    51                      />
    52             </td>
    53           </tr>
    54         </table>
     34
     35        <span tal:condition="info/used">
     36        <br />
     37        <input type="submit" name="disable_pins:method"
     38               value="disable pins"
     39               class="destructive"
     40               tal:attributes="onclick python:'return window.confirm(\'%s\')' %
     41               (cpsmcat('really disable ?'), )"
     42               />
     43 
     44        &nbsp;
     45       
     46        <input type="submit" name="enable_pins:method"
     47               value="enable pins"
     48               class="destructive"
     49               tal:attributes="onclick python:'return window.confirm(\'%s\')' %
     50               (cpsmcat('really enable ?'), )"
     51               />
     52         <br />     
     53         </span>
     54
    5555      </form>
    56         <h3>PIN Batches</h3>
    57         <br />
     56      <br />
     57      <h3>PIN Batches</h3>
     58      <br />
    5859      <form action="." method="get">
    5960        <select class="form-element" name=":action"
Note: See TracChangeset for help on using the changeset viewer.