source: trunk/admin/themes/default/template/group_list.tpl @ 18976

Last change on this file since 18976 was 18976, checked in by rvelices, 11 years ago

cleanup admin css

  • Property svn:eol-style set to LF
File size: 2.0 KB
Line 
1<div class="titrePage">
2  <h2>{'Group management'|@translate}</h2>
3</div>
4
5<form method="post" name="add_user" action="{$F_ADD_ACTION}" class="properties">
6  <fieldset>
7    <legend>{'Add group'|@translate}</legend>
8    <span class="property">
9      <label for="groupname">{'Group name'|@translate}</label>
10    </span>
11    <input type="text" id="groupname" name="groupname" maxlength="50" size="20">
12                <input type="submit" name="submit_add" value="{'Add'|@translate}">
13                <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
14
15  </fieldset>
16</form>
17
18<table class="table2">
19  <tr class="throw">
20    <th>{'Group name'|@translate}</th>
21    <th>{'Members'|@translate}</th>
22    <th>{'Actions'|@translate}</th>
23  </tr>
24  {if not empty($groups)}
25  {foreach from=$groups item=group name=group_loop}
26  <tr class="{if $smarty.foreach.group_loop.index is odd}row1{else}row2{/if}">
27    <td>{$group.NAME}<i><small>{$group.IS_DEFAULT}</small></i></td>
28    <td><a href="{$group.U_MEMBERS}">{$group.MEMBERS}</a></td>
29    <td style="text-align:center;">
30      <a href="{$group.U_PERM}">
31        <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/permissions.png" style="border:none" alt="{'Permissions'|@translate}" title="{'Permissions'|@translate}"></a>
32      <a href="{$group.U_DELETE}" onclick="return confirm('{'delete'|@translate|@escape:'javascript'}'
33                                + '\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');">
34        <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/delete.png" style="border:none" alt="{'Delete'|@translate}" title="{'Delete'|@translate}"></a>
35      <a href="{$group.U_ISDEFAULT}" onclick="return confirm('{'Toggle \'default group\' property'|@translate|@escape:'javascript'}'
36                                +'\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');">
37        <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/toggle_is_default_group.png" style="border:none" alt="{'Toggle \'default group\' property'|@translate}" title="{'Toggle \'default group\' property'|@translate}"></a>
38    </td>
39  </tr>
40  {/foreach}
41  {/if}
42</table>
Note: See TracBrowser for help on using the repository browser.