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