fixed identation

This commit is contained in:
Joey Lai
2017-01-12 14:18:49 +01:00
parent 5c96744507
commit 4cb9a83d62

View File

@@ -12,8 +12,8 @@
<img style="width:50%;margin-left:25%" src="img/top-logo.png" alt="MyHyvesbook+"> <img style="width:50%;margin-left:25%" src="img/top-logo.png" alt="MyHyvesbook+">
</div> </div>
<form action="../profile.php/" method="post"> <form action="../profile.php" method="post">
<h1>Welkom bij MyHyvesbook+ </h1> <h1>Welkom bij MyHyvesbook+</h1>
<div class="login_containerlogin"> <div class="login_containerlogin">
<label><b>Gebruikersnaam</b></label> <label><b>Gebruikersnaam</b></label>
<input type="text" placeholder="Voer je gebruikersnaam in" name="uname" <input type="text" placeholder="Voer je gebruikersnaam in" name="uname"
@@ -42,7 +42,7 @@
class="close" title="Close Modal">&times;</span> class="close" title="Close Modal">&times;</span>
<!-- Register Content --> <!-- Register Content -->
<form class="modal-content animate" action="../profile.php/" onsubmit="return passwordfunction()" method="post"> <form class="modal-content animate" action="../profile.php" onsubmit="return passwordfunction()" method="post">
<h2>Registreer je account</h2> <h2>Registreer je account</h2>
<div class="login_containerregister"> <div class="login_containerregister">
@@ -60,21 +60,21 @@
<div class="login_containerregister"> <div class="login_containerregister">
<label><b>Geboortedatum</b></label> <label><b>Geboortedatum</b></label>
<!-- These are the select elements we will target --> <!-- These are the select elements we will target -->
<select id="dobday" title="Voer een dag in"required></select> <select id="dobday" title="Voer een dag in" ></select>
<select id="dobmonth" title="Voer een maand in"required></select> <select id="dobmonth" title="Voer een maand in" required></select>
<select id="dobyear" title="Voer een jaar in"required></select> <select id="dobyear" title="Voer een jaar in" required></select>
<!-- And here's the library being called! --> <!-- And here's the library being called! -->
<script> <script>
$(document).ready(function() { $(document).ready(function() {
$.dobPicker({ $.dobPicker({
daySelector: '#dobday', /* Required */ daySelector: '#dobday',
monthSelector: '#dobmonth', /* Required */ monthSelector: '#dobmonth',
yearSelector: '#dobyear', /* Required */ yearSelector: '#dobyear',
dayDefault: 'Dag', /* Optional */ dayDefault: 'Dag',
monthDefault: 'Maand', /* Optional */ monthDefault: 'Maand',
yearDefault: 'Jaar', /* Optional */ yearDefault: 'Jaar',
minimumAge: 12, /* Optional */ minimumAge: 12,
maximumAge: 80 /* Optional */ maximumAge: 80
}); });
}); });
</script> </script>
@@ -122,7 +122,6 @@
<input type="submit" value="Registreer je account" name="Submit" id="frm1_submit" /> <input type="submit" value="Registreer je account" name="Submit" id="frm1_submit" />
</div> </div>
</form> </form>
</div> </div>
</div> </div>
<script> <script>
@@ -132,10 +131,10 @@
</html> </html>
<script> <script>
// Get the modal // Get the modal
var modal = document.getElementById('id01'); var modal = document.getElementById('id01');
// When the user clicks anywhere outside of the modal, close it // When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) { window.onclick = function(event) {
if (event.target == modal) { if (event.target == modal) {
modal.style.display = "none"; modal.style.display = "none";
} }
@@ -143,7 +142,7 @@ window.onclick = function(event) {
</script> </script>
<script> <script>
function passwordfunction() { function passwordfunction() {
var password1 = document.getElementById("password").value; var password1 = document.getElementById("password").value;
var password2 = document.getElementById("confirmpassword").value; var password2 = document.getElementById("confirmpassword").value;
var passwordmatching = true; var passwordmatching = true;
@@ -155,5 +154,5 @@ function passwordfunction() {
confirmpassword.setCustomValidity("Wachwoord match niet") confirmpassword.setCustomValidity("Wachwoord match niet")
} }
return passwordmatching; return passwordmatching;
} }
</script> </script>