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

Revision 12482, 2.0 KB checked in by rvelices, 8 years ago (diff)

admin remove unused css rules + unused class names from html elements

  • Property svn:eol-style set to LF
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
13    <p>
14      <input class="submit" type="submit" name="submit_add" value="{'Add'|@translate}">
15      <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
16    </p>
17  </fieldset>
18</form>
19
20<table class="table2">
21  <tr class="throw">
22    <th>{'Group name'|@translate}</th>
23    <th>{'Members'|@translate}</th>
24    <th>{'Actions'|@translate}</th>
25  </tr>
26  {if not empty($groups)}
27  {foreach from=$groups item=group name=group_loop}
28  <tr class="{if $smarty.foreach.group_loop.index is odd}row1{else}row2{/if}">
29    <td>{$group.NAME}<i><small>{$group.IS_DEFAULT}</small></i></td>
30    <td><a href="{$group.U_MEMBERS}">{$group.MEMBERS}</a></td>
31    <td style="text-align:center;">
32      <a href="{$group.U_PERM}">
33        <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/permissions.png" style="border:none" alt="{'Permissions'|@translate}" title="{'Permissions'|@translate}"></a>
34      <a href="{$group.U_DELETE}" onclick="return confirm('{'delete'|@translate|@escape:'javascript'}'
35                                + '\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');">
36        <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/delete.png" style="border:none" alt="{'Delete'|@translate}" title="{'Delete'|@translate}"></a>
37      <a href="{$group.U_ISDEFAULT}" onclick="return confirm('{'Toggle \'default group\' property'|@translate|@escape:'javascript'}'
38                                +'\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');">
39        <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>
40    </td>
41  </tr>
42  {/foreach}
43  {/if}
44</table>
Note: See TracBrowser for help on using the repository browser.