Skip to content

Commit b9dd6f4

Browse files
committed
data-count div instead of table
1 parent 1a009ce commit b9dd6f4

28 files changed

+237
-371
lines changed

web/css/main.css

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
body {
22
font-family: Arial, Helvetica, sans-serif;
3-
background-color: #e5e5e5;
43
background-color: #e1e8e8;
54
margin: 0;
65
padding: 0;
@@ -28,7 +27,7 @@ td {
2827
.top {
2928
width: 1000px;
3029
position: fixed; background: #fff;
31-
border-bottom: 1px solid #e5e5e5;
30+
border-bottom: 1px solid #e1e8e8;
3231
}
3332

3433
.top-menu {
@@ -66,7 +65,7 @@ td {
6665
line-height: 22px;
6766
padding: 0 20px 2px;
6867
color: #333;
69-
background-color: #e2e2e2;
68+
background-color: #f0f0f0;
7069
}
7170

7271
.top-selected-link:hover {
@@ -126,7 +125,7 @@ td {
126125
height: 111px;
127126
width: 167px;
128127
margin: 0;
129-
border-bottom: 1px solid #e5e5e5;
128+
border-bottom: 1px solid #e1e8e8;
130129
}
131130

132131
.nav-lnk {
@@ -146,7 +145,7 @@ td {
146145
width: 119px;
147146
float:left;
148147
cursor: pointer;
149-
border-bottom: 1px solid #e5e5e5;
148+
border-bottom: 1px solid #e1e8e8;
150149
}
151150

152151
.nav-block:hover {
@@ -320,13 +319,13 @@ td {
320319
}
321320

322321
.submenu-select-link:hover {
323-
text-decoration: underline;
322+
color: #fff;
323+
background-color: #f79b44;
324324
}
325325

326326
.submenu-select-link:active {
327327
color: #fff;
328-
background-color: #f79b44;
329-
text-decoration: underline;
328+
background-color: #777;
330329
}
331330

332331
.submenu-select-dropdown {
@@ -460,7 +459,7 @@ td {
460459

461460
.data-row:hover {
462461
margin: 0;
463-
background-color: #f7f6ed;
462+
background-color: #f0f0f0;
464463
}
465464

466465
.data-row:active {
@@ -573,11 +572,9 @@ td {
573572

574573
.data-count {
575574
font-family: Arial, Helvetica, sans-serif;
576-
background-color: #f3f3f3;
577-
color: #555;
575+
color: #505050;
578576
font-size: 8pt;
579-
margin: 18px 0 0 0;
580-
padding: 0 16px 0 0;
577+
padding: 20px 0 20px 174px;
581578
}
582579

583580
.chart1 {
@@ -635,7 +632,7 @@ td {
635632
.counter-name {
636633
white-space: nowrap;
637634
vertical-align:top;
638-
line-height: 1.3em;
635+
line-height: 1.2em;
639636
font-size: 10pt;
640637
color: #222;
641638
padding: 2px 4px 1px 0;
@@ -651,7 +648,7 @@ td {
651648

652649
.counter-value {
653650
vertical-align:top;
654-
line-height: 1.3em;
651+
line-height: 1.2em;
655652
font-size: 10pt;
656653
color: #222;
657654
padding: 2px 0 1px 2px;
@@ -858,12 +855,13 @@ td {
858855
}
859856

860857
.vst-advanced:hover {
861-
color: #7fa1cb;
858+
color: #fff;
859+
background-color: #f79b44;
862860
}
863861

864862
.vst-advanced:active {
865863
color: #fff;
866-
background-color: #f79b44;
864+
background-color: #777;
867865
}
868866

869867
.fixed{

web/templates/admin/list_backup.html

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -135,19 +135,13 @@
135135
</table>
136136
</form>
137137

138-
<table class="data-count">
139-
<tr>
140-
<td width="174px"></td>
141-
<td>
142-
<?php
143-
if ( $i == 1) {
144-
echo __('1 archive');
145-
} else {
146-
echo __('%s archives',$i);
147-
}
148-
?>
149-
</td>
150-
</tr>
151-
</table>
138+
<div class="data-count">
139+
<?php
140+
if ( $i == 1) {
141+
echo __('1 archive');
142+
} else {
143+
echo __('%s archives',$i);
144+
}
145+
?>
146+
</div>
152147
</div>
153-

web/templates/admin/list_backup_detail.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,4 +264,3 @@
264264
</form>
265265

266266
</div>
267-

web/templates/admin/list_backup_exclusions.html

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,7 @@
8181
</table>
8282
</form>
8383

84-
<table class="data-count">
85-
<tr>
86-
<td width="174px"></td>
87-
<td>
88-
...
89-
</td>
90-
</tr>
91-
</table>
84+
<div class="data-count">
85+
...
86+
</div>
9287
</div>
93-

web/templates/admin/list_cron.html

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -138,19 +138,13 @@
138138
</table>
139139
</from>
140140

141-
<table class="data-count">
142-
<tr>
143-
<td width="174px"></td>
144-
<td>
145-
<?php
146-
if ( $i == 1) {
147-
echo __('1 cron job');
148-
} else {
149-
echo __('%s cron jobs',$i);
150-
}
151-
?>
152-
</td>
153-
</tr>
154-
</table>
141+
<div class="data-count">
142+
<?php
143+
if ( $i == 1) {
144+
echo __('1 cron job');
145+
} else {
146+
echo __('%s cron jobs',$i);
147+
}
148+
?>
149+
</div>
155150
</div>
156-

web/templates/admin/list_db.html

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -159,18 +159,13 @@
159159
</table>
160160
</form>
161161

162-
<table class="data-count">
163-
<tr>
164-
<td width="174px"></td>
165-
<td>
166-
<?php
167-
if ( $i == 1) {
168-
echo __('1 database');
169-
} else {
170-
echo __('%s databases',$i);
171-
}
172-
?>
173-
</td>
174-
</tr>
175-
</table>
162+
<div class="data-count">
163+
<?php
164+
if ( $i == 1) {
165+
echo __('1 database');
166+
} else {
167+
echo __('%s databases',$i);
168+
}
169+
?>
170+
</div>
176171
</div>

web/templates/admin/list_dns.html

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -144,18 +144,13 @@
144144
</table>
145145
</form>
146146

147-
<table class="data-count">
148-
<tr>
149-
<td width="174px"></td>
150-
<td>
151-
<?php
152-
if ( $i == 1) {
153-
echo __('1 domain');
154-
} else {
155-
echo __('%s domains',$i);
156-
}
157-
?>
158-
</td>
159-
</tr>
160-
</table>
147+
<div class="data-count">
148+
<?php
149+
if ( $i == 1) {
150+
echo __('1 domain');
151+
} else {
152+
echo __('%s domains',$i);
153+
}
154+
?>
155+
</div>
161156
</div>

web/templates/admin/list_dns_rec.html

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -88,19 +88,13 @@
8888
?>
8989
</table>
9090
</form>
91-
<table class="data-count">
92-
<tr>
93-
<td width="174px">
94-
</td>
95-
<td>
96-
<?php
97-
if ( $i == 1) {
98-
echo __('1 record');
99-
} else {
100-
echo __('%s records',$i);
101-
}
102-
?>
103-
</td>
104-
</tr>
105-
</table>
91+
<div class="data-count">
92+
<?php
93+
if ( $i == 1) {
94+
echo __('1 record');
95+
} else {
96+
echo __('%s records',$i);
97+
}
98+
?>
99+
</div>
106100
</div>

web/templates/admin/list_ip.html

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -135,18 +135,13 @@
135135
</table>
136136
</form>
137137

138-
<table class="data-count">
139-
<tr>
140-
<td width="174px"></td>
141-
<td>
142-
<?php
143-
if ( $i == 1) {
144-
echo __('1 IP address');
145-
} else {
146-
echo __('%s IP addresses',$i);
147-
}
148-
?>
149-
</td>
150-
</tr>
151-
</table>
138+
<div class="data-count">
139+
<?php
140+
if ( $i == 1) {
141+
echo __('1 IP address');
142+
} else {
143+
echo __('%s IP addresses',$i);
144+
}
145+
?>
146+
</div>
152147
</div>

web/templates/admin/list_log.html

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,13 @@
4646

4747
</table>
4848

49-
<table class="data-count">
50-
<tr>
51-
<td width="174px"></td>
52-
<td>
53-
<?php
54-
if ( $i == 1) {
55-
echo __('one log record');
56-
} else {
57-
echo __('%s log records',$i);
58-
}
59-
?>
60-
</td>
61-
</tr>
62-
</table>
49+
<div class="data-count">
50+
<?php
51+
if ( $i == 1) {
52+
echo __('one log record');
53+
} else {
54+
echo __('%s log records',$i);
55+
}
56+
?>
57+
</div>
6358
</div>

0 commit comments

Comments
 (0)