Changeset 812


Ignore:
Timestamp:
Aug 14, 2005, 8:18:47 PM (19 years ago)
Author:
plg
Message:
  • modification : simplification of HTML/CSS code for double select screen to manage categories properties (admin/cat_options)
  • typo fixed : in menu language key for [admin > categories > representative]
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/ChangeLog

    r811 r812  
     12005-08-14 Pierrick LE GALL
     2
     3        * modification : simplification of HTML/CSS code for double select
     4        screen to manage categories properties (admin/cat_options)
     5
    162005-08-14 Pierrick LE GALL
    27
  • trunk/template/default/admin.tpl

    r809 r812  
    4444  <li><a class="adminMenu" href="{U_CAT_STATUS}">{L_CAT_STATUS}</a></li>
    4545  <!-- BEGIN representative -->
    46   <li><a class="adminMenu" href="{representative.URL}">{lang:Representatve}</a></li>
     46  <li><a class="adminMenu" href="{representative.URL}">{lang:Representative}</a></li>
    4747  <!-- END representative -->
    4848</ul>
  • trunk/template/default/admin/cat_options.tpl

    r693 r812  
    11<div class="admin">{L_CAT_TITLE}</div>
    2 <form name="form1" method="post" action="{F_ACTION}" style="text-align:center;width:800px;">
    3 <div style="clear:both;"></div>
    4 <div style="height:auto;">
    5   <div style="float:left;padding:10px;width:300px;">
    6   <span class="titreMenu">{L_CAT_OPTIONS_TRUE}</span><br />
    7   <select style="height:auto;width:280px" name="cat_true[]" multiple="multiple" size="10">
    8     <!-- BEGIN category_option_true -->
    9     <option class="{category_option_true.CLASS}" {category_option_true.SELECTED} value="{category_option_true.VALUE}">{category_option_true.OPTION}</option>
    10     <!-- END category_option_true -->
    11   </select>
    12   </div>
    13   <div style="float:left;padding-top:80px;padding-bottom:80px;text-align:center;width:160px;" >
    14     <input type="submit" value="&laquo;" name="trueify" style="font-size:15px;" class="bouton" /><br/>
    15     <input type="submit" value="&raquo;" name="falsify" style="font-size:15px;" class="bouton" />
    16   </div>
    17   <div style="float:right;padding:10px;width:300px;">
    18    <span class="titreMenu">{L_CAT_OPTIONS_FALSE}</span><br />
    19   <select style="width:280px" name="cat_false[]" multiple="multiple" size="10">
    20     <!-- BEGIN category_option_false -->
    21     <option class="{category_option_false.CLASS}" {category_option_false.SELECTED} value="{category_option_false.VALUE}">{category_option_false.OPTION}</option>
    22     <!-- END category_option_false -->
    23   </select>
    24   </div>
    25 </div>
    26 <div style="clear:both;"></div>
    27 <input type="hidden" name="{HIDDEN_NAME}" value="{HIDDEN_VALUE}" />
    28 <input type="reset" name="reset" value="{L_RESET}" class="bouton" />
     2
     3<form method="post" action="{F_ACTION}">
     4  <input type="hidden" name="{HIDDEN_NAME}" value="{HIDDEN_VALUE}" />
     5
     6  <table class="doubleSelect">
     7    <tr>
     8      <td>
     9        <h3>{L_CAT_OPTIONS_TRUE}</h3>
     10        <select class="categoryList" name="cat_true[]" multiple="multiple" size="30">
     11          <!-- BEGIN category_option_true -->
     12          <option class="{category_option_true.CLASS}" {category_option_true.SELECTED} value="{category_option_true.VALUE}">{category_option_true.OPTION}</option>
     13          <!-- END category_option_true -->
     14        </select>
     15        <p><input type="submit" value="&raquo;" name="falsify" style="font-size:15px;"/></p>
     16      </td>
     17
     18      <td>
     19        <h3>{L_CAT_OPTIONS_FALSE}</h3>
     20        <select class="categoryList" name="cat_false[]" multiple="multiple" size="30">
     21          <!-- BEGIN category_option_false -->
     22          <option class="{category_option_false.CLASS}" {category_option_false.SELECTED} value="{category_option_false.VALUE}">{category_option_false.OPTION}</option>
     23          <!-- END category_option_false -->
     24        </select>
     25        <p><input type="submit" value="&laquo;" name="trueify" style="font-size:15px;" /></p>
     26      </td>
     27    </tr>
     28  </table>
    2929</form>
     30
    3031<div class="information">{L_CAT_OPTIONS_INFO}</div>
    3132
  • trunk/template/default/default.css

    r811 r812  
    509509  margin: 5px;
    510510}
     511
     512select.categoryList {
     513  width: 400px;
     514}
     515
     516table.doubleSelect {
     517  text-align: center;
     518  margin: 0 auto;
     519}
     520
     521table.doubleSelect td {
     522  padding: 0 5px;
     523}
Note: See TracChangeset for help on using the changeset viewer.