update
This commit is contained in:
54
Admin/template/partial/User/Index.tpl
Normal file
54
Admin/template/partial/User/Index.tpl
Normal file
@@ -0,0 +1,54 @@
|
||||
<div class="panelRightTop"></div>
|
||||
<div class="panelRightBody">
|
||||
<div class="paddedContent">
|
||||
{dropDownContainer isClose=true isHidden=true title="Wyszukiwarka"}
|
||||
<form method="post" action="">
|
||||
<table width="100%" cellspacing="0" cellpadding="5" border="0" class="frameTableForm tableContetntWhite">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Szukana Fraza:</td>
|
||||
<td class="left"><input class="input420" type="text" class="searchString" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="right">
|
||||
<input class="button" type="submit" value="Wyszukaj"/> <input class="button" name="clear" type="submit" value="Wyczyść" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
{/dropDownContainer}
|
||||
|
||||
{dropDownContainer title="Słownik"}
|
||||
<table class="datagrid" cellpadding="4" cellspacing="1" border="0">
|
||||
<thead>
|
||||
<tr >
|
||||
<th align="left">Login</th>
|
||||
<th>Nazwisko</th>
|
||||
<th>email</th>
|
||||
<th>Rola</th>
|
||||
<th>Ostatnio zalogowany</th>
|
||||
<th class="light" style="width: 40px; text-align: center;"><a class="optionIcon iconAdd" title="Dodaj" href="{url User=add}"> </a></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$userList item=item key=j name=main_items}
|
||||
<tr {if $j is even}class="even"{/if}>
|
||||
<td>
|
||||
<b>{$item->GetLogin()}</b></td>
|
||||
<td align="center"> {$item->GetName()} </td>
|
||||
<td align="center"> {$item->GetEmail()} </td>
|
||||
<td align="center"> {$item->GetRole()} </td>
|
||||
<td align="center"> {$item->GetLastLogin()} </td>
|
||||
<td align="center"> <a class="editItemTable" href="{url User=edit id=$item->GetId()}">edycja</a>
|
||||
<a class="deleteItemTable" href="{url user=delete id=$item->GetId() ok=1}" onclick="{literal}if(confirm('Czy napewno usunąć tego użytkownika?')){return true;}else{return false;}{/literal}">usuń</a> </td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
{/dropDownContainer}
|
||||
</div><!-- /paddedContent -->
|
||||
</div><!-- /panelRightBody -->
|
||||
<div class="panelRightBottom"></div>
|
||||
Reference in New Issue
Block a user