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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -67,4 +67,4 @@
} }
?> ?>
</table> </table>
</div> </div>

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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