Changeset 23062


Ignore:
Timestamp:
Jun 5, 2013, 11:46:20 PM (7 years ago)
Author:
flop25
Message:

bug:2890
testing a new layout: feedbacks welcomed on the bug ticket
ToDo: not hardcoded, rounded corners, remove the 2 actions

File:
1 edited

Legend:

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

    r22580 r23062  
    6767  <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
    6868
    69   <table class="table2">
    70     <tr class="throw">
    71       <th></th>
    72       <th>{'Group name'|@translate}</th>
    73       <th>{'Members'|@translate}</th>
    74     </tr>
     69  <ul style="text-align:center;">
    7570    {if not empty($groups)}
    7671    {foreach from=$groups item=group name=group_loop}
    77     <tr class="{if $smarty.foreach.group_loop.index is odd}row1{else}row2{/if}">
    78       <td><input class="group_selection" name="group_selection[]" type="checkbox" value="{$group.ID}"></td>
    79       <td>{$group.NAME}<i><small>{$group.IS_DEFAULT}</small></i></td>
    80       <td>{if $group.MEMBERS>0}<a href="{$group.U_MEMBERS}" title="{'Manage the members'|@translate}">{$group.MEMBERS}</a><br>{$group.L_MEMBERS}{else}{$group.MEMBERS}{/if}</td>
    81     </tr>
     72    <li style="vertical-align: middle;position: relative;display: inline-block;text-align: left;background-color: #ccc;height: 300px; width: 250px; margin: 5px">
     73      <p style="text-align: left;"><label>{$group.NAME}<i><small>{$group.IS_DEFAULT}</small></i><input class="group_selection" name="group_selection[]" type="checkbox" value="{$group.ID}"></label></p>
     74      <p style="text-align: left;max-height: 200px;overflow: auto;">{if $group.MEMBERS>0}<a href="{$group.U_MEMBERS}" title="{'Manage the members'|@translate}">{$group.MEMBERS}</a><br>{$group.L_MEMBERS}{else}{$group.MEMBERS}{/if}</p>
     75      <p style="text-align: left;position: absolute;bottom: 0"><a class="buttonLike" href="{$group.U_PERM}" title="{'Permissions'|@translate}">{'Manage Permissions'|@translate}</a></p>
     76    </li>
    8277    {/foreach}
    8378    {/if}
    84   </table>
     79  </ul>
    8580
    8681  <fieldset id="action">
Note: See TracChangeset for help on using the changeset viewer.