Ignore:
Timestamp:
Mar 15, 2010, 9:50:47 PM (14 years ago)
Author:
plg
Message:

feature 1507: better display for available themes (floating boxes)

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

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/default-layout.css

    r5123 r5145  
    737737  height: 4em;    /* legend height (don't set auto to be Gecko friendly)*/
    738738}
     739
     740.themeBox {float:left; text-align:center; height:170px; background-color:#eee; margin:5px; -moz-border-radius:5px;}
     741.themeBox IMG {border:1px solid white; margin:0 15px;}
     742.themeName {font-size:1.1em; margin:5px 0;}
     743.themeActions {margin:5px 0;}
     744.themeActions A {display:block;}
  • trunk/admin/themes/default/template/themes_new.tpl

    r5143 r5145  
    44
    55{if isset($themes)}
    6 <ul>
     6<div id="themesBox">
    77{foreach from=$new_themes item=theme name=themes_loop}
    8   <li>
    9     <img src="{$theme.src}"> {$theme.name} <a href="{$theme.install_url}">Install</a>
    10   </li>
     8  <div class="themeBox">
     9    <div class="themeName">{$theme.name}</div>
     10    <div class="themeShot"><img src="{$theme.src}"></div>
     11    <div class="themeActions"><a href="{$theme.install_url}">Install</a></div>
     12  </div>
    1113{/foreach}
    12 </ul>
     14</div> <!-- themesBox -->
    1315{/if}
Note: See TracChangeset for help on using the changeset viewer.