Skip to content

Commit 138d79d

Browse files
committed
fixed missed checkboxes in edit forms and row's mass-operation control (issue hestiacp#17)
1 parent b9d3998 commit 138d79d

File tree

3 files changed

+12
-67
lines changed

3 files changed

+12
-67
lines changed

web/css/main.css

Lines changed: 5 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Title : Vesta
33
Author : Eugen Lobicov, eugen.lobicov@gmail.com
44
55
created : November 27, 2009
6-
last updated : January 11, 2012
6+
last updated : January 12, 2012
77
- - - - - - - - - - - - - - - - - - */
88

99
html{
@@ -585,7 +585,7 @@ input::-moz-focus-inner{
585585
width:11px;
586586
height:11px;
587587
margin:2px 5px 0 0;
588-
background:url(../images/chekbox-selector.png) no-repeat;
588+
background:url(../images/checkbox-selector.png) no-repeat;
589589
cursor:pointer;
590590
}
591591
.checkbox-selector .selector-title{
@@ -610,18 +610,6 @@ input::-moz-focus-inner{
610610
font-size: 12px;
611611

612612
background-color: #fff;
613-
/* background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eeeeee), color-stop(0.5, white));
614-
background-image: -webkit-linear-gradient(center bottom, #eeeeee 0%, white 50%);
615-
background-image: -moz-linear-gradient(center bottom, #eeeeee 0%, white 50%);
616-
background-image: -o-linear-gradient(top, #eeeeee 0%,#ffffff 50%);
617-
background-image: -ms-linear-gradient(top, #eeeeee 0%,#ffffff 50%);
618-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff',GradientType=0 );
619-
background-image: linear-gradient(top, #eeeeee 0%,#ffffff 50%);
620-
621-
-moz-background-clip : padding;
622-
-webkit-background-clip: padding-box;
623-
background-clip : padding-box;
624-
*/
625613

626614
box-shadow: inset 1px 1px 4px 0px rgba(0, 0, 0, 0.10);
627615
-moz-box-shadow: inset 1px 1px 4px 0px rgba(0, 0, 0, 0.10);
@@ -652,15 +640,6 @@ input::-moz-focus-inner{
652640
background-clip : padding-box;
653641
background: #ccc;
654642

655-
/* background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccc), color-stop(0.6, #eee));
656-
background-image: -webkit-linear-gradient(center bottom, #ccc 0%, #eee 60%);
657-
background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee 60%);
658-
background-image: -o-linear-gradient(bottom, #ccc 0%, #eee 60%);
659-
background-image: -ms-linear-gradient(top, #cccccc 0%,#eeeeee 60%);
660-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cccccc', endColorstr='#eeeeee',GradientType=0 );
661-
background-image: linear-gradient(top, #cccccc 0%,#eeeeee 60%);
662-
*/
663-
664643
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #fff), color-stop(0.6, #f5f4ef));
665644
background-image: -webkit-linear-gradient(center bottom, #fff 0%, #f5f4ef 60%);
666645
background-image: -moz-linear-gradient(center bottom, #fff 0%, #f5f4ef 60%);
@@ -1676,21 +1655,17 @@ input::-moz-focus-inner{
16761655
width:18px;
16771656
height:18px;
16781657
margin:6px 0 0;
1679-
background:url(../images/checkboxes.png) no-repeat;
1658+
background:url(/images/form-checkboxes.png) no-repeat;
16801659
}
16811660
.b-new-entry .checkbox:hover{
1682-
background-position:0 -98px;
1661+
background-position:0 -100px;
16831662
}
16841663
.b-new-entry .stats-settings{
16851664
padding-left:40px;
16861665
}
16871666
.b-new-entry .db-credentials .field-label{
16881667
text-indent:40px;
16891668
}
1690-
/*.b-new-entry .pwd-box .text-field{
1691-
float:left;
1692-
margin:0 15px 0 0;
1693-
}*/
16941669
.b-new-entry_user .lastname-box{
16951670
margin-bottom:30px;
16961671
}
@@ -1774,26 +1749,6 @@ input::-moz-focus-inner{
17741749
border-top:1px solid #dcdbad;
17751750
background:url(../images/form-bottom-bg.png) repeat-x;
17761751
}
1777-
/* .b-new-entry .help-btn{
1778-
position:absolute;
1779-
top:13px;
1780-
right:20px;
1781-
font-size:11px;
1782-
line-height:12px;
1783-
color:#b4b39f;
1784-
text-transform:uppercase;
1785-
cursor:pointer;
1786-
border-bottom:1px solid #b4b39f;
1787-
text-decoration:none;
1788-
}
1789-
.b-new-entry .help-btn:hover{
1790-
color:#000;
1791-
border-bottom-color:#9fb35a;
1792-
}
1793-
.b-new-entry .help-btn:active{
1794-
color:#4B9427;
1795-
}
1796-
*/
17971752

17981753
.b-new-entry .cancel-btn{
17991754

@@ -1893,7 +1848,6 @@ input::-moz-focus-inner{
18931848
height:32px;
18941849
font-size:0;
18951850
line-height:0;
1896-
/* background:#fff url(../images/select-arrow.png) no-repeat 100% 50%;*/
18971851
background:#fff url(../images/autocomplete-field-arrows-sprite.png) no-repeat;
18981852
cursor:pointer;
18991853
}
@@ -1981,12 +1935,6 @@ input::-moz-focus-inner{
19811935
.b-new-detailed-restore .add-entry-btn{
19821936
padding:0 30px;
19831937
}
1984-
/*
1985-
.b-new-detailed-restore .cancel-btn{
1986-
left:auto;
1987-
right:16px;
1988-
}
1989-
*/
19901938

19911939
/* Show/edit dns records form
19921940
- - - - - - - - - - - - - - - - - - - */
@@ -2206,19 +2154,12 @@ input::-moz-focus-inner{
22062154
background:url(../images/stats-brace.png) no-repeat 0 50%;
22072155
}
22082156
.stats-box-title{
2209-
/*
2210-
background: url("../images/stats-curve.png") no-repeat 85% 50%;
2211-
2212-
line-height: 61px;
2213-
margin-right: 33px;
2214-
padding-right: 35px;
2215-
*/
22162157
position:absolute;
22172158
top:50%;
22182159
left:-68px;
22192160

22202161
width:28px;
2221-
margin-top:-10px;
2162+
margin-top:-6px;
22222163
padding-right:35px;
22232164
text-transform:uppercase;
22242165
font-size:9px;

web/images/checkbox-selector.png

2.93 KB
Loading

web/js/templates.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,10 @@ App.Templates.html = {
715715
</div>\
716716
</div>\
717717
</div><!-- Mail options -->\
718+
<div class="form-row cc">\
719+
<label for="#" class="field-label">create DNS domain:</label>\
720+
<input type="checkbox" value="" name="DNS_DOMAIN" class="styled">\
721+
</div>\
718722
<div class="form-row buttons-row cc">\
719723
<input class="add-entry-btn do_action_save_form" type="submit" value="~!:save_button~!"/>\
720724
<span class="cancel-btn do_action_cancel_form">Cancel</span>\
@@ -856,13 +860,13 @@ App.Templates.html = {
856860
<span class="generate-pwd do_action_generate_pass">Generate</span>\
857861
</div>\
858862
</div>\
859-
<div class="form-row hidden cc">\
863+
<!--div class="form-row hidden cc">\
860864
<label for="#" class="field-label">Host:</label>\
861865
<select name="HOST" class="styled">~!:HOST_OPTIONS~!</select>\
862-
</div>\
866+
</div -->\
863867
<div class="form-row cc">\
864868
<label for="#" class="field-label">Encoding:</label>\
865-
<select name="TYPE" class="styled">~!:ENCODING_OPTIONS~!</select>\
869+
<select name="ENCODING" class="styled">~!:ENCODING_OPTIONS~!</select>\
866870
</div>\
867871
<div class="form-row suspended cc">\
868872
<label for="#" class="field-label">Suspended:</label>\

0 commit comments

Comments
 (0)