Added unlock link and greyed out customer if deactivated

This commit is contained in:
BNoiZe
2013-10-05 20:06:23 +02:00
parent 08e9f3ebd0
commit 521acfbe5c
7 changed files with 45 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
<tr>
<tr <if $row['deactivated'] == 1>class="disabled"</if>>
<td>
<strong>
<if $row['name'] != '' && $row['firstname'] != ''>
@@ -55,6 +55,11 @@
</a>&nbsp;
<a href="{$linker->getLink(array('section' => 'customers', 'page' => $page, 'action' => 'delete', 'id' => $row['customerid']))}" style="text-decoration:none;">
<img src="templates/{$theme}/assets/img/icons/delete.png" alt="{$lng['panel']['delete']}" />
</a>&nbsp;
<if $islocked == 1>
<a href="{$linker->getLink(array('section' => 'customers', 'page' => $page, 'action' => 'unlock', 'id' => $row['customerid']))}">
<img src="templates/{$theme}/assets/img/icons/unlock.png" alt="{$lng['panel']['unlock']}" />
</a>
</if>
</td>
</tr>

View File

@@ -483,6 +483,10 @@ table tbody td {
border-right: 1px solid #666;
}
.disabled td, .disabled td a {
color: #cfcfcf;
}
.formtable {
width: 100%;
border-spacing: 0;
@@ -751,3 +755,25 @@ caption {
font-weight: bold;
margin-bottom: 0.2em;
}
/* dataTables */
table thead th.sorting_asc {
background-image: url('../img/icons/sort_down.png');
background-repeat: no-repeat;
background-position: 10px center;
padding-left: 25px;
}
table thead th.sorting_desc {
background-image: url('../img/icons/sort_up.png');
background-repeat: no-repeat;
background-position: 10px center;
padding-left: 25px;
}
table thead th.sorting {
background-image: url('../img/icons/sort_both.png');
background-repeat: no-repeat;
background-position: 10px center;
padding-left: 25px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB