data-count div instead of table

This commit is contained in:
Serghey Rodin 2014-06-16 12:28:13 +03:00
commit b9dd6f4b73
28 changed files with 237 additions and 371 deletions

View file

@ -1,6 +1,5 @@
body {
font-family: Arial, Helvetica, sans-serif;
background-color: #e5e5e5;
background-color: #e1e8e8;
margin: 0;
padding: 0;
@ -28,7 +27,7 @@ td {
.top {
width: 1000px;
position: fixed; background: #fff;
border-bottom: 1px solid #e5e5e5;
border-bottom: 1px solid #e1e8e8;
}
.top-menu {
@ -66,7 +65,7 @@ td {
line-height: 22px;
padding: 0 20px 2px;
color: #333;
background-color: #e2e2e2;
background-color: #f0f0f0;
}
.top-selected-link:hover {
@ -126,7 +125,7 @@ td {
height: 111px;
width: 167px;
margin: 0;
border-bottom: 1px solid #e5e5e5;
border-bottom: 1px solid #e1e8e8;
}
.nav-lnk {
@ -146,7 +145,7 @@ td {
width: 119px;
float:left;
cursor: pointer;
border-bottom: 1px solid #e5e5e5;
border-bottom: 1px solid #e1e8e8;
}
.nav-block:hover {
@ -320,13 +319,13 @@ td {
}
.submenu-select-link:hover {
text-decoration: underline;
color: #fff;
background-color: #f79b44;
}
.submenu-select-link:active {
color: #fff;
background-color: #f79b44;
text-decoration: underline;
background-color: #777;
}
.submenu-select-dropdown {
@ -460,7 +459,7 @@ td {
.data-row:hover {
margin: 0;
background-color: #f7f6ed;
background-color: #f0f0f0;
}
.data-row:active {
@ -573,11 +572,9 @@ td {
.data-count {
font-family: Arial, Helvetica, sans-serif;
background-color: #f3f3f3;
color: #555;
color: #505050;
font-size: 8pt;
margin: 18px 0 0 0;
padding: 0 16px 0 0;
padding: 20px 0 20px 174px;
}
.chart1 {
@ -635,7 +632,7 @@ td {
.counter-name {
white-space: nowrap;
vertical-align:top;
line-height: 1.3em;
line-height: 1.2em;
font-size: 10pt;
color: #222;
padding: 2px 4px 1px 0;
@ -651,7 +648,7 @@ td {
.counter-value {
vertical-align:top;
line-height: 1.3em;
line-height: 1.2em;
font-size: 10pt;
color: #222;
padding: 2px 0 1px 2px;
@ -858,12 +855,13 @@ td {
}
.vst-advanced:hover {
color: #7fa1cb;
color: #fff;
background-color: #f79b44;
}
.vst-advanced:active {
color: #fff;
background-color: #f79b44;
background-color: #777;
}
.fixed{

View file

@ -135,10 +135,7 @@
</table>
</form>
<table class="data-count">
<tr>
<td width="174px"></td>
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 archive');
@ -146,8 +143,5 @@
echo __('%s archives',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -264,4 +264,3 @@
</form>
</div>

View file

@ -81,13 +81,7 @@
</table>
</form>
<table class="data-count">
<tr>
<td width="174px"></td>
<td>
<div class="data-count">
...
</td>
</tr>
</table>
</div>
</div>

View file

@ -138,10 +138,7 @@
</table>
</from>
<table class="data-count">
<tr>
<td width="174px"></td>
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 cron job');
@ -149,8 +146,5 @@
echo __('%s cron jobs',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -159,10 +159,7 @@
</table>
</form>
<table class="data-count">
<tr>
<td width="174px"></td>
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 database');
@ -170,7 +167,5 @@
echo __('%s databases',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -144,10 +144,7 @@
</table>
</form>
<table class="data-count">
<tr>
<td width="174px"></td>
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 domain');
@ -155,7 +152,5 @@
echo __('%s domains',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -88,11 +88,7 @@
?>
</table>
</form>
<table class="data-count">
<tr>
<td width="174px">
</td>
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 record');
@ -100,7 +96,5 @@
echo __('%s records',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -135,10 +135,7 @@
</table>
</form>
<table class="data-count">
<tr>
<td width="174px"></td>
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 IP address');
@ -146,7 +143,5 @@
echo __('%s IP addresses',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -46,10 +46,7 @@
</table>
<table class="data-count">
<tr>
<td width="174px"></td>
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('one log record');
@ -57,7 +54,5 @@
echo __('%s log records',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -170,10 +170,7 @@
?>
</table>
</form>
<table class="data-count">
<tr>
<td width="174px"></td>
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 domain');
@ -181,7 +178,5 @@
echo __('%s domains',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -142,10 +142,7 @@
</table>
</form>
<table class="data-count">
<tr>
<td width="174px"></td>
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 mail account');
@ -153,7 +150,5 @@
echo __('%s mail accounts',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -159,10 +159,7 @@
</table>
</form>
<table class="data-count">
<tr>
<td width="174px"></td>
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 package');
@ -170,7 +167,5 @@
echo __('%s packages',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -193,10 +193,7 @@
</table>
</form>
<table class="data-count">
<tr>
<td width="174px"></td>
<td>
<div class="data-count">
<?php
if ( $i == 1){
echo __('1 object');
@ -204,7 +201,5 @@
echo __('%s objects',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -194,10 +194,7 @@
</table>
<table class="data-count">
<tr>
<td width="174px"></td>
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 month');
@ -205,8 +202,5 @@
echo __('%s months',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -249,10 +249,7 @@
</table>
</form>
<table class="data-count">
<tr>
<td width="174px">
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 account');
@ -260,7 +257,5 @@
echo __('%s accounts',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -209,10 +209,7 @@
</table>
</form>
<table class="data-count">
<tr>
<td width="174px">
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 domain');
@ -220,7 +217,5 @@
echo __('%s domains',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -126,10 +126,7 @@
</table>
</from>
<table class="data-count">
<tr>
<td width="174px"></td>
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 cron job');
@ -137,8 +134,5 @@
echo __('%s cron jobs',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -147,10 +147,7 @@
</table>
</form>
<table class="data-count">
<tr>
<td width="174px"></td>
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 database');
@ -158,7 +155,5 @@
echo __('%s databases',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -132,10 +132,7 @@
</table>
</form>
<table class="data-count">
<tr>
<td width="174px"></td>
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 domain');
@ -143,7 +140,5 @@
echo __('%s domains',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -86,11 +86,8 @@
?>
</table>
</form>
<table class="data-count">
<tr>
<td width="174px">
</td>
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 record');
@ -98,7 +95,5 @@
echo __('%s records',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -158,10 +158,8 @@
?>
</table>
</form>
<table class="data-count">
<tr>
<td width="174px"></td>
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 domain');
@ -169,7 +167,5 @@
echo __('%s domains',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -130,10 +130,7 @@
</table>
</form>
<table class="data-count">
<tr>
<td width="174px"></td>
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 mail account');
@ -141,7 +138,5 @@
echo __('%s mail accounts',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -170,10 +170,7 @@
</table>
</form>
<table class="data-count">
<tr>
<td width="174px"></td>
<td>
<div class="data-count">
<?php
if ( $i == 1){
echo __('1 object');
@ -181,7 +178,5 @@
echo __('%s objects',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -179,10 +179,7 @@
</table>
<table class="data-count">
<tr>
<td width="174px"></td>
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 month');
@ -190,8 +187,5 @@
echo __('%s months',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -174,10 +174,7 @@
</table>
</form>
<table class="data-count">
<tr>
<td width="174px">
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 account');
@ -185,7 +182,5 @@
echo __('%s accounts',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>

View file

@ -197,10 +197,7 @@
</table>
</form>
<table class="data-count">
<tr>
<td width="174px">
<td>
<div class="data-count">
<?php
if ( $i == 1) {
echo __('1 domain');
@ -208,7 +205,5 @@
echo __('%s domains',$i);
}
?>
</td>
</tr>
</table>
</div>
</div>