Made password group listing a table instead of a list
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
This commit is contained in:
parent
e79e7b2191
commit
f72cec984e
@ -41,16 +41,29 @@
|
||||
<h2>Accessible password groups</h2>
|
||||
{foreach $passwordgroups as $passwordgroup=>$permissions}
|
||||
{if $permissions@first}
|
||||
<ul>
|
||||
<table>
|
||||
<tbody>
|
||||
{/if}
|
||||
<li>
|
||||
<span class="pwgname" id="pwgname_{$passwordgroup}">{$passwordgroup}</span>{if ($permissions == 'rw') || ($isadmin)} [Add password]{/if}
|
||||
</li>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="pwgname" id="pwgname_{$passwordgroup}">{$passwordgroup}</span>
|
||||
</td>
|
||||
<td>
|
||||
{if ($permissions == 'rw') || ($isadmin)}[Add password]{/if}
|
||||
</td>
|
||||
<td>
|
||||
{if ($permissions == 'rw') || ($isadmin)}[Group settings]{/if}
|
||||
</td>
|
||||
<td>
|
||||
{if ($isadmin)}[Delete group]{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{if $permissions@last}
|
||||
</tbody>
|
||||
</table>
|
||||
{if $isadmin}
|
||||
<li id="addnewgroup">Create new group</li>
|
||||
<span id="addnewgroup">Create new group</li>
|
||||
{/if}
|
||||
</ul>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user