Skip to content

Commit 6535c5c

Browse files
committed
fix for long dns records
1 parent 75374e2 commit 6535c5c

File tree

3 files changed

+23
-12
lines changed

3 files changed

+23
-12
lines changed

web/css/styles.min.css

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -679,14 +679,15 @@ input[type="checkbox"] {
679679
}
680680

681681
.l-menu__item--active {
682-
background-color: #fff;
682+
//background-color: #fff;
683683
}
684684

685685
.l-menu__item.l-menu__item--active a {
686686
color: #ff6701;
687687
font-size: 10px;
688688
font-weight: bold;
689689
text-transform: uppercase;
690+
background-color: #fff;
690691
}
691692

692693
.l-menu {
@@ -699,7 +700,7 @@ input[type="checkbox"] {
699700
color: #f7f7f7;
700701
position: relative;
701702
line-height: 34px;
702-
padding: 11px 20px;
703+
padding: 11px 18px;
703704
}
704705
.l-menu__item a:hover {
705706
background-color: #f79b44;
@@ -729,6 +730,10 @@ input[type="checkbox"] {
729730
padding: 11px 12px;
730731
}
731732

733+
.lang-tw .l-menu__item a {
734+
padding: 13px 18px;
735+
}
736+
732737
.l-profile {
733738
overflow: hidden;
734739
float: right;
@@ -759,6 +764,12 @@ input[type="checkbox"] {
759764
.l-profile__logout:active {
760765
color: #ffd62e;
761766
}
767+
.lang-cn .l-profile__logout {
768+
padding: 8px 5px;
769+
}
770+
.lang-tw .l-profile__logout {
771+
padding: 8px 5px;
772+
}
762773

763774

764775

@@ -1456,16 +1467,17 @@ div.l-content > div.l-separator:nth-of-type(4) {
14561467
}
14571468
.lang-ru .actions-panel__col a {
14581469
font-size: 11px;
1459-
line-height: 31px;
1460-
padding-top: 2px;
1470+
padding-top: 1px;
14611471
}
14621472
.lang-tw .actions-panel__col a {
14631473
font-size: 15px;
14641474
font-weight: normal;
1475+
line-height: 29px;
14651476
}
14661477
.lang-ar .actions-panel__col a {
14671478
font-size: 15px;
14681479
font-weight: normal;
1480+
line-height: 29px;
14691481
}
14701482

14711483

@@ -2072,7 +2084,7 @@ div.l-content > div.l-separator:nth-of-type(4) {
20722084
height: 16px;
20732085
overflow: hidden;
20742086
padding-top: 6px;
2075-
width: 630px;
2087+
width: 620px;
20762088
}
20772089

20782090
.vst-ok {
@@ -2157,7 +2169,9 @@ label {
21572169
background-color: #D7F9FF;
21582170
color: #333;
21592171
}
2160-
.vst-input:disabled {
2172+
2173+
.vst-input:disabled,
2174+
.vst-list:disabled {
21612175
background-color: #ebebeb;
21622176
}
21632177
.vst-input:focus:disabled {

web/templates/admin/list_dns_rec.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,10 @@
4848

4949
<div class="l-center units">
5050

51-
<div class="l-unit-ft">
51+
<div class="l-unit">
5252
<div class="subtitle"><?=__('Listing')?> <?=htmlentities($_GET['domain'])?></div>
5353
</div>
5454

55-
<div class="l-separator"></div>
56-
<!-- /.l-separator -->
57-
5855
<?php
5956
foreach ($data as $key => $value) {
6057
++$i;
@@ -103,7 +100,7 @@
103100
<!-- /.l-unit__col -->
104101
<div class="l-unit__col l-unit__col--right">
105102
<div class="l-unit__stats">
106-
<div class="clearfix l-unit__stat-col--left small"><b><?=$data[$key]['RECORD']?></b></div>
103+
<div class="clearfix l-unit__stat-col--left small"><b><? echo substr($data[$key]['RECORD'], 0, 12); if(strlen($data[$key]['RECORD']) > 12 ) echo '...'; ?></b></div>
107104
<div class="clearfix l-unit__stat-col--left compact"><b><?=$data[$key]['TYPE']?></b></div>
108105
<div class="clearfix l-unit__stat-col--left compact"><?=$data[$key]['PRIORITY']?>&nbsp;</div>
109106
<div class="clearfix l-unit__stat-col--left wide-4"><b><?=htmlspecialchars($data[$key]['VALUE'], ENT_QUOTES, 'UTF-8')?></b></div>

web/templates/user/list_dns_rec.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
<!-- /.l-unit__col -->
101101
<div class="l-unit__col l-unit__col--right">
102102
<div class="l-unit__stats">
103-
<div class="clearfix l-unit__stat-col--left small"><b><?=$data[$key]['RECORD']?></b></div>
103+
<div class="clearfix l-unit__stat-col--left small"><b><? echo substr($data[$key]['RECORD'], 0, 14); if(strlen($data[$key]['RECORD']) > 14 ) echo '..'; ?></b></div>
104104
<div class="clearfix l-unit__stat-col--left compact"><b><?=$data[$key]['TYPE']?></b></div>
105105
<div class="clearfix l-unit__stat-col--left compact"><?=$data[$key]['PRIORITY']?>&nbsp;</div>
106106
<div class="clearfix l-unit__stat-col--left wide-4"><b><?=htmlspecialchars($data[$key]['VALUE'], ENT_QUOTES, 'UTF-8')?></b></div>

0 commit comments

Comments
 (0)