Changeset 11588 for trunk/admin/themes


Ignore:
Timestamp:
Jul 1, 2011, 3:38:43 PM (13 years ago)
Author:
mistic100
Message:

feature:2317 move order config to Admin->Config->Options
each drop-down menu is on a new line

Location:
trunk/admin/themes/default
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/configuration.tpl

    r11587 r11588  
    9797    </li>
    9898   
    99     <li>
     99    <li style="margin-top:20px;">
    100100      &nbsp;
    101101      <span class="property">
     
    103103       
    104104        {foreach from=$main.order_by item=order}
    105         <span class="filter {if $ORDER_BY_IS_CUSTOM}transparent{/if}">
    106           <a class="removeFilter" title="{'remove this filter'|@translate}"><span>[x]</span></a>
     105        <span class="filter {if $ORDER_BY_IS_CUSTOM}transparent{/if}">         
    107106          <select name="order_by_field[]" {if $ORDER_BY_IS_CUSTOM}disabled{/if}>
    108107            {html_options options=$main.order_field_options selected=$order.FIELD }
     
    111110            {html_options options=$main.order_direction_options selected=$order.DIRECTION }
    112111          </select> 
     112          <a class="removeFilter">{'delete'|@translate}</a>
    113113        </span>
    114114        {/foreach}
    115115       
    116116        {if !$ORDER_BY_IS_CUSTOM}
    117           <a class="addFilter" title="{'Add a filter'|@translate}"><span>[+]</span></a>
     117          <a class="addFilter">{'Add a criteria'|@translate}</a>
    118118        {else}
    119119          <span class="order_by_is_custom">{'You can\'t define a default photo order because you have a custom setting in your local configuration.'|@translate}</span>
  • trunk/admin/themes/default/theme.css

    r11587 r11588  
    10501050div.token-input-dropdown ul li.token-input-selected-dropdown-item {background-color: #3b5998;color: #fff;}
    10511051
    1052 #mainConfCheck a.addFilter {background: url(icon/plus.gif) no-repeat 0 4px;width:19px;height:19px;display:inline-block;}
    1053 #mainConfCheck a.addFilter:hover {background-position:0 5px;border:none;}
    1054 #mainConfCheck a.addFilter span {display:none;}
    1055 #mainConfCheck a.removeFilter {background: url(icon/remove_filter.png) no-repeat top left;width:7px;height:7px;display:inline-block;}
    1056 #mainConfCheck a.removeFilter:hover {background: url(icon/remove_filter_hover.png);border:none;}
    1057 #mainConfCheck a.removeFilter span {display:none;}
     1052#mainConfCheck a.addFilter {font-weight:normal;margin-left:20px;}
     1053#mainConfCheck a.removeFilter {font-weight:normal;}
    10581054#mainConfCheck span.property span.filter:first-child a.removeFilter {display:none;} /* can't delete the first field */
    1059 #mainConfCheck span.filter {margin-right:10px;}
     1055#mainConfCheck span.filter {display:block;margin-left:20px;}
    10601056#mainConfCheck .transparent {opacity:0.5;filter:alpha(opacity=50);}
    1061 #mainConfCheck .order_by_is_custom {display:block;font-weight:normal;font-style:italic;}
     1057#mainConfCheck .order_by_is_custom {display:block;font-weight:normal;font-style:italic;margin-left:20px;}
Note: See TracChangeset for help on using the changeset viewer.