Made changes to the index and css files
This commit is contained in:
parent
7d06202348
commit
f74abb9264
2 changed files with 26 additions and 14 deletions
|
@ -140,7 +140,7 @@ p {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -253,7 +253,7 @@ input:invalid+span:after {
|
||||||
content: '✖';
|
content: '✖';
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input:valid+span:after {
|
input:valid+span:after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
content: '✓';
|
content: '✓';
|
||||||
|
@ -268,6 +268,14 @@ input:invalid+span:after {
|
||||||
.social-icon {
|
.social-icon {
|
||||||
margin: 20px 10px;
|
margin: 20px 10px;
|
||||||
}
|
}
|
||||||
|
.res {
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
}
|
||||||
|
.rec {
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 1028px) {
|
@media (max-width: 1028px) {
|
||||||
#title {
|
#title {
|
||||||
|
@ -323,4 +331,4 @@ input[type=submit] {
|
||||||
|
|
||||||
input[type=submit]:hover {
|
input[type=submit]:hover {
|
||||||
background-color: #fa4664;
|
background-color: #fa4664;
|
||||||
}
|
}
|
||||||
|
|
26
index.html
26
index.html
|
@ -31,7 +31,7 @@
|
||||||
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
|
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
|
||||||
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
|
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -379,8 +379,11 @@
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form>
|
<form>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
<p class=class="res">Please leave us with your personal information.</p>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div class="col-6" style="float: right;">
|
<div class="col-6" style="float: right;">
|
||||||
|
|
||||||
<label for="fnameLabel">First Name</label>
|
<label for="fnameLabel">First Name</label>
|
||||||
<input type="text" id="fname" name="firstname" placeholder="First Name">
|
<input type="text" id="fname" name="firstname" placeholder="First Name">
|
||||||
</div>
|
</div>
|
||||||
|
@ -403,6 +406,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
|
<p class="rec">Please provide your credit card information to guarantee your service appointment.</p>
|
||||||
<h2>Account Details</h2>
|
<h2>Account Details</h2>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -411,7 +415,7 @@
|
||||||
<input type="text" id="cardHolder" name="cardHolder" placeholder="Name on the Card">
|
<input type="text" id="cardHolder" name="cardHolder" placeholder="Name on the Card">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<label for="creditCardLabel">Credit Card</label>
|
<label for="creditCardLabel">Credit Card</label>
|
||||||
<input type="text" id="creditCard" name="creditCard" placeholder="Credit Card">
|
<input type="text" id="creditCard" name="creditCard" placeholder="Credit Card">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -427,7 +431,7 @@
|
||||||
<input type="text" id="expiryDate" name="cvv" placeholder="CVV">
|
<input type="text" id="expiryDate" name="cvv" placeholder="CVV">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -450,8 +454,8 @@
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<input type="submit" value="Submit">
|
<input type="submit" value="Submit">
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -474,14 +478,14 @@
|
||||||
document.getElementById('appointment').scrollIntoView();
|
document.getElementById('appointment').scrollIntoView();
|
||||||
}
|
}
|
||||||
|
|
||||||
var value = 0;
|
var value = 0;
|
||||||
|
|
||||||
$(function() {
|
$(function() {
|
||||||
$( "#datepicker").datepicker({ beforeShowDay: getAvailability});
|
$( "#datepicker").datepicker({ beforeShowDay: getAvailability});
|
||||||
});
|
});
|
||||||
|
|
||||||
function getMechanic(selectObject) {
|
function getMechanic(selectObject) {
|
||||||
value = selectObject.value;
|
value = selectObject.value;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getAvailability(date){
|
function getAvailability(date){
|
||||||
|
@ -497,12 +501,12 @@
|
||||||
else
|
else
|
||||||
return [ true, "", "" ]
|
return [ true, "", "" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue