Reworked admin -> customerslist, fixes #619
Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
@@ -9,21 +9,8 @@
|
||||
</if>
|
||||
(<a href="$filename?s=$s&page=$page&action=su&id={$row['customerid']}" rel="external">{$row['loginname']}</a> | {$row['adminname']})
|
||||
</strong>
|
||||
</td>
|
||||
<td rowspan="2">
|
||||
<a href="$filename?s=$s&page=$page&action=edit&id={$row['customerid']}" style="text-decoration:none;">
|
||||
<img src="images/Froxlor/icons/edit.png" alt="{$lng['panel']['edit']}" />
|
||||
</a>
|
||||
<a href="$filename?s=$s&page=$page&action=delete&id={$row['customerid']}" style="text-decoration:none;">
|
||||
<img src="images/Froxlor/icons/delete.png" alt="{$lng['panel']['delete']}" />
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table class="overviewcustomerextras">
|
||||
<tr>
|
||||
<td style="width: 300px;">
|
||||
<div>
|
||||
<span class="overviewcustomerextras">
|
||||
Webspace:
|
||||
<if $row['diskspace'] != 'UL'>
|
||||
<span class="progressBar" title="{$row['diskspace_used']} / {$row['diskspace']} MB">
|
||||
@@ -39,8 +26,8 @@
|
||||
<span class="greybar"><em style="left: 200px;">100%</em></span>
|
||||
</span>
|
||||
</if>
|
||||
</td>
|
||||
<td style="width: 300px;">
|
||||
</span>
|
||||
<span class="overviewcustomerextras">
|
||||
Traffic:
|
||||
<if $row['traffic'] != 'UL'>
|
||||
<span class="progressBar" title="{$row['traffic_used']} / {$row['traffic']} GB">
|
||||
@@ -56,11 +43,18 @@
|
||||
<span class="greybar"><em style="left: 200px;">100%</em></span>
|
||||
</span>
|
||||
</if>
|
||||
</td>
|
||||
<td>
|
||||
</span>
|
||||
<span style="clear: both !important;">
|
||||
{$last_login}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<a href="$filename?s=$s&page=$page&action=edit&id={$row['customerid']}" style="text-decoration:none;">
|
||||
<img src="images/Froxlor/icons/edit.png" alt="{$lng['panel']['edit']}" />
|
||||
</a>
|
||||
<a href="$filename?s=$s&page=$page&action=delete&id={$row['customerid']}" style="text-decoration:none;">
|
||||
<img src="images/Froxlor/icons/delete.png" alt="{$lng['panel']['delete']}" />
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -502,10 +502,13 @@ table tbody td {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.overviewcustomerextras,.overviewcustomerextras tbody td {
|
||||
line-height: 11px;
|
||||
.overviewcustomerextras {
|
||||
line-height: 15px;
|
||||
font-size: 10px;
|
||||
border: 0;
|
||||
width: 300px;
|
||||
float: left;
|
||||
padding-top: 8px;
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
|
||||
td {
|
||||
|
||||
@@ -14,7 +14,16 @@ $(document).ready(function(){
|
||||
$(this).css("background-color", "#fff");
|
||||
},
|
||||
function() {
|
||||
$(this).css("background-color", "#f8f8f8");
|
||||
$(this).css("background-color", "#f5f5f5");
|
||||
}
|
||||
);
|
||||
}
|
||||
if($("table.bradiusodd").length != 0) {
|
||||
$("table.bradiusodd tr").hover(function() {
|
||||
$(this).css("background-color", "#fff");
|
||||
},
|
||||
function() {
|
||||
$(this).css("background-color", "#f5f5f5");
|
||||
}
|
||||
);
|
||||
}
|
||||
@@ -24,7 +33,7 @@ $(document).ready(function(){
|
||||
$(this).css("background-color", "#fff");
|
||||
},
|
||||
function() {
|
||||
$(this).css("background-color", "#f8f8f8");
|
||||
$(this).css("background-color", "#f5f5f5");
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user