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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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