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>
|
<h2>Accessible password groups</h2>
|
||||||
{foreach $passwordgroups as $passwordgroup=>$permissions}
|
{foreach $passwordgroups as $passwordgroup=>$permissions}
|
||||||
{if $permissions@first}
|
{if $permissions@first}
|
||||||
<ul>
|
<table>
|
||||||
|
<tbody>
|
||||||
{/if}
|
{/if}
|
||||||
<li>
|
<tr>
|
||||||
<span class="pwgname" id="pwgname_{$passwordgroup}">{$passwordgroup}</span>{if ($permissions == 'rw') || ($isadmin)} [Add password]{/if}
|
<td>
|
||||||
</li>
|
<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}
|
{if $permissions@last}
|
||||||
{if $isadmin}
|
</tbody>
|
||||||
<li id="addnewgroup">Create new group</li>
|
</table>
|
||||||
{/if}
|
{if $isadmin}
|
||||||
</ul>
|
<span id="addnewgroup">Create new group</li>
|
||||||
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user