Changed field error messages, made fields wider

This commit is contained in:
Siarhei Puhach 2017-07-13 12:59:05 +03:00
parent 82ad7db0f7
commit 290bfe272f
3 changed files with 38 additions and 37 deletions

View file

@ -806,7 +806,7 @@ tech-sub-sec h2 {
.price-calc-section .card .description .select-number{
font-size: 20px;
text-align: center;
width: 60px;
width: 85px;
}
.price-calc-section .card .description i{
color: #29427A;
@ -915,7 +915,7 @@ color: #eb4d5c;
}
.logo-wrap-1 {
width: 50%;
padding: 15px 30px !importantx;
padding: 15px 30px !important;
min-height: 179px;
}
.landscape-xs-6{
@ -1141,7 +1141,8 @@ line-height: 40px;
.price-calc-section .card .description .select-number{
font-size: 17px;
text-align: center;
width: 60px;
width: 85px;
margin-left: 0;
}
}

View file

@ -24,10 +24,10 @@
'id': 'storageValue',
'value': 10,
'min': 10,
'max': 500,
'max': 2000,
'interval': 10
}
}
};
$(window).load(function(){

View file

@ -18,7 +18,7 @@
<div class="form-group">
<div class="description input">
<i class="fa fa-minus-circle left" data-minus="cpu" aria-hidden="true"></i>
<input class="input-price select-number" type="number" min="1" max="42" id="coreValue" name="cpu" data-error="{% trans 'Please enter a value greater than or equal to 1.' %}" required>
<input class="input-price select-number" type="number" min="1" max="48" id="coreValue" name="cpu" data-error="{% trans 'Please enter a value in range 1 - 48' %}" required>
<span> Core</span>
<i class="fa fa-plus-circle right" data-plus="cpu" aria-hidden="true"></i>
</div>
@ -27,7 +27,7 @@
<div class="form-group">
<div class="description input">
<i class="fa fa-minus-circle left" data-minus="ram" aria-hidden="true"></i>
<input id="ramValue" class="input-price select-number" type="number" min="2" max="200" name="ram" data-error="{% trans 'Please enter a value greater than or equal to 2.' %}" required>
<input id="ramValue" class="input-price select-number" type="number" min="2" max="200" name="ram" data-error="{% trans 'Please enter a value in range 2-200.' %}" required>
<span> GB RAM</span>
<i class="fa fa-plus-circle right" data-plus="ram" aria-hidden="true"></i>
</div>
@ -36,7 +36,7 @@
<div class="form-group">
<div class="description input">
<i class="fa fa-minus-circle left" data-minus="storage" aria-hidden="true"></i>
<input id="storageValue" class="input-price select-number" type="number" min="10" max="500" step="10" name="storage" data-error="{% trans 'Please enter a value greater than or equal to 10.' %}" required>
<input id="storageValue" class="input-price select-number" type="number" min="10" max="2000" step="10" name="storage" data-error="{% trans 'Please enter a value in range 10 - 2000.' %}" required>
<span>{% trans "GB Storage (SSD)" %}</span>
<i class="fa fa-plus-circle right" data-plus="storage" aria-hidden="true"></i>
</div>