Skip to content

Commit 5d0ac56

Browse files
committed
UI improvement from Dmitry Naumov
1 parent 3e960b5 commit 5d0ac56

File tree

9 files changed

+44
-16
lines changed

9 files changed

+44
-16
lines changed

web/templates/admin/list_dns.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<table width="830px">
5555
<tr>
5656
<td></td>
57-
<td class="data-controls" width="96px"><a href="/list/dns/?domain=<?php echo $key ?>"><img src="/images/more.png" width="8px" height="8px"> list records</a></td>
57+
<td class="data-controls" width="108px"><a href="/list/dns/?domain=<?php echo $key ?>"><img src="/images/more.png" width="8px" height="8px"> list <?php echo $data[$key]['RECORDS'] ?> records</a></td>
5858
<td class="data-controls" width="92px"><a href="/add/dns/?domain=<?php echo $key ?>"><img src="/images/add.png" width="8px" height="8px"> add record</a></td>
5959
<td class="data-controls" width="50px"><a href="/edit/dns/?domain=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
6060
<td class="data-controls do_<?php echo $spnd_action ?>" width="80px">

web/templates/admin/list_dns_rec.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
</table>
3131

3232
<div id="vstobjects">
33+
<table class="data" style="background: #ebe9dc;margin: 10px 0;">
34+
<tr>
35+
<td style="padding: 8px 2px 8px 0;">
36+
<a class="name" style="color: #555; font-size: 10pt;"><b>Listing <?php echo $_GET['domain'] ?></b></a>
37+
</td>
38+
</tr>
39+
</table>
3340
<table class="data">
3441
<?php
3542
foreach ($data as $key => $value) {

web/templates/admin/list_mail.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<table width="830px">
5959
<tr>
6060
<td></td>
61-
<td class="data-controls" width="100px"><a href="?domain=<?php echo $key ?>"><img src="/images/more.png" width="8px" height="8px"> list accounts</a></td>
61+
<td class="data-controls" width="112px"><a href="?domain=<?php echo $key ?>"><img src="/images/more.png" width="8px" height="8px"> list <?php echo $data[$key]['ACCOUNTS'] ?> accounts</a></td>
6262
<td class="data-controls" width="98px"><a href="/add/mail/?domain=<?php echo $key ?>"><img src="/images/add.png" width="8px" height="8px"> add account</a></td>
6363
<td class="data-controls" width="104px"><a href="<?php echo "http://".$http_host."/webmail/"; ?>" target="_blank"><img src="/images/new_window.png" width="8px" height="8px"> open webmail</a></td>
6464
<td class="data-controls" width="50px"><a href="/edit/mail/?domain=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>

web/templates/admin/list_mail_acc.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@
3030
</table>
3131

3232
<div id="vstobjects">
33+
<table class="data" style="background: #ebe9dc;margin: 10px 0;">
34+
<tr>
35+
<td style="padding: 8px 2px 8px 0;">
36+
<a class="name" style="color: #555; font-size: 10pt;"><b>Listing <?php echo $_GET['domain'] ?></b></a>
37+
</td>
38+
</tr>
39+
</table>
40+
3341
<table class="data">
3442
<?php
3543
foreach ($data as $key => $value) {

web/templates/header.html

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535

3636
.top {
37-
background: #555;
37+
background: #444;
3838
color: #cce4f0;
3939
padding: 0;
4040
margin-left: auto;
@@ -85,14 +85,10 @@
8585

8686
.nav-lnk {
8787
text-decoration: none;
88-
color: #555;
88+
color: #444;
8989
float:left;
9090
}
9191

92-
.nav-lnk:hover {
93-
color: #333;
94-
}
95-
9692
.nav-lnk:active {
9793
color: #ccc;
9894
}
@@ -372,24 +368,24 @@
372368
}
373369

374370
.username {
375-
color: #555555;
371+
color: #555;
376372
font-size: 16pt;
377373
line-height: 1.2em;
378374
}
379375

380376
.domain {
381-
color: #555555;
377+
color: #555;
382378
font-size: 16pt;
383379
line-height: 0.8em;
384380
}
385381

386382
.cron {
387-
color: #555555;
383+
color: #555;
388384
font-size: 18px;
389385
}
390386

391387
.log {
392-
color: #555555;
388+
color: #555;
393389
font-size: 12pt;
394390
}
395391

@@ -477,14 +473,15 @@
477473
}
478474

479475
.vst-text {
476+
color: #555;
480477
font-size: 12pt;
481478
}
482479

483480
.vst-textinput {
484481
background-color: #FFFFFF;
485482
border: 1px solid #999999;
486483
border-radius: 3px 3px 3px 3px;
487-
color: #555555;
484+
color: #555;
488485
font-size: 18px;
489486
padding: 6px;
490487
width: 360px;
@@ -503,7 +500,7 @@
503500
background-color: #FFFFFF;
504501
border: 1px solid #999999;
505502
border-radius: 3px 3px 3px 3px;
506-
color: #555555;
503+
color: #555;
507504
font-size: 14pt;
508505
padding: 6px;
509506
width: 360px;

web/templates/user/list_dns.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<table width="830px">
5353
<tr>
5454
<td></td>
55-
<td class="data-controls" width="96px"><a href="/list/dns/?domain=<?php echo $key ?>"><img src="/images/more.png" width="8px" height="8px"> list records</a></td>
55+
<td class="data-controls" width="108px"><a href="/list/dns/?domain=<?php echo $key ?>"><img src="/images/more.png" width="8px" height="8px"> list <?php echo $data[$key]['RECORDS'] ?> records</a></td>
5656
<td class="data-controls" width="92px"><a href="/add/dns/?domain=<?php echo $key ?>"><img src="/images/add.png" width="8px" height="8px"> add record</a></td>
5757
<td class="data-controls" width="50px"><a href="/edit/dns/?domain=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
5858
<td class="data-controls do_delete" width="70px">

web/templates/user/list_dns_rec.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@
2828
</table>
2929

3030
<div id="vstobjects">
31+
<table class="data" style="background: #ebe9dc;margin: 10px 0;">
32+
<tr>
33+
<td style="padding: 8px 2px 8px 0;">
34+
<a class="name" style="color: #555; font-size: 10pt;"><b>Listing <?php echo $_GET['domain'] ?></b></a>
35+
</td>
36+
</tr>
37+
</table>
38+
3139
<table class="data">
3240
<?php
3341
foreach ($data as $key => $value) {

web/templates/user/list_mail.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<table width="830px">
5757
<tr>
5858
<td></td>
59-
<td class="data-controls" width="100px"><a href="?domain=<?php echo $key ?>"><img src="/images/more.png" width="8px" height="8px"> list accounts</a></td>
59+
<td class="data-controls" width="112px"><a href="?domain=<?php echo $key ?>"><img src="/images/more.png" width="8px" height="8px"> list <?php echo $data[$key]['ACCOUNTS'] ?> accounts</a></td>
6060
<td class="data-controls" width="98px"><a href="/add/mail/?domain=<?php echo $key ?>"><img src="/images/add.png" width="8px" height="8px"> add account</a></td>
6161
<td class="data-controls" width="104px"><a href="<?php echo "http://".$http_host."/webmail/"; ?>" target="_blank"><img src="/images/new_window.png" width="8px" height="8px"> open webmail</a></td>
6262
<td class="data-controls" width="50px"><a href="/edit/mail/?domain=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>

web/templates/user/list_mail_acc.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@
2828
</table>
2929

3030
<div id="vstobjects">
31+
<table class="data" style="background: #ebe9dc;margin: 10px 0;">
32+
<tr>
33+
<td style="padding: 8px 2px 8px 0;">
34+
<a class="name" style="color: #555; font-size: 10pt;"><b>Listing <?php echo $_GET['domain'] ?></b></a>
35+
</td>
36+
</tr>
37+
</table>
38+
3139
<table class="data">
3240
<?php
3341
foreach ($data as $key => $value) {

0 commit comments

Comments
 (0)