Lars algemeen #39

Merged
11291680 merged 12 commits from lars-algemeen into master 2017-01-13 11:20:11 +01:00
6 changed files with 144 additions and 4 deletions
Showing only changes of commit 4b900b3721 - Show all commits

View File

@@ -12,7 +12,7 @@
<img style="width:50%;margin-left:25%" src="img/top-logo.png" alt="MyHyvesbook+">
</div>
<form action="../profile.php/" method="post">
<form action="/profile.php" method="post">
<h1>Welkom bij MyHyvesbook+ </h1>
<div class="login_containerlogin">
<label><b>Gebruikersnaam</b></label>
@@ -42,7 +42,7 @@
class="close" title="Close Modal">&times;</span>
<!-- 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>
<div class="login_containerregister">

19
website/settings.php Normal file
View File

@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<?php include("views/head.php"); ?>
<body>
<?php
/*
* This view adds the main layout over the screen.
* Header and menu.
*/
include("views/main.php");
/* Add your view files here. */
include("views/settings-view.php");
/* This adds the footer. */
include("views/footer.php");
?>
</body>
</html>

View File

@@ -0,0 +1,33 @@
.settings {
}
.settings input,
.settings textarea{
padding: 10px;
margin: 5px;
border-radius: 10px;
width: 200px;
}
.settings label {
width: 125px;
display: inline-block;
text-align: right;
}
.settings input[type="password"],
.settings input[type="text"],
.settings input[type="date"],
.settings input[type="email"],
.settings textarea{
border: 1px solid black;
}
.settings-password {
}
.settings-profile {
}

View File

@@ -15,5 +15,6 @@
@import url("styles/footer.css");
@import url("styles/adminpanel.css");
@import url("styles/chat.css");
@import url("styles/settings.css");
</style>
</head>

View File

@@ -10,8 +10,8 @@
</div>
<div class="right profile-menu">
<div id="profile-menu-popup">
<a href="login.php"><span style="color: red;" class="fa fa-sign-out" data-title="Uitloggen"></span></a> |
<a href="setting.php"><span style="color: blue;" class="fa fa-cog" data-title="Instellingen"></span></a> |
<a href="index.php"><span style="color: red;" class="fa fa-sign-out" data-title="Uitloggen"></span></a> |
<a href="settings.php"><span style="color: blue;" class="fa fa-cog" data-title="Instellingen"></span></a> |
<a href="profile.php"><span style="color: green;" class="fa fa-user" data-title="Profiel"></span></a>
</div>
<div id="profile-hello-popup">

View File

@@ -0,0 +1,87 @@
<div class="content">
<div class="settings">
<form class="settings-profile platform">
<h5>Profiel Instllingen</h5>
<label for="first-name">Voornaam</label>
<input type="text"
name="first-name"
id="first-name"
placeholder="Voornaam"
title="Voornaam"
><br />
<label for="last-name">Achternaam</label>
<input type="text"
name="last-name"
id="last-name"
placeholder="Lastname"
><br />
<label for="place">Woonplaats</label>
<input type="text"
name="place"
id="place"
placeholder="Woonplaats"
><br />
<label for="bday">Geboortedatum</label>
<input type="date"
name="bday"
id="bday"
placeholder="01/01/1900"
><br />
<label for="location">Locatie</label>
<input type="text"
name="location"
id="location"
placeholder="Locatie"
><br />
<label for="bio">Bio</label>
<textarea name="bio"
rows="5"
cols="10"
title="bio"
id="bio"
></textarea>
<br />
<label></label>
<input type="submit"
>
</form>
<form class="settings-password platform" method="post">
<h5>Verander Wachtwoord</h5>
<br />
<input type="password"
name="password-old"
placeholder="Oud wachtwoord"
><br />
<input type="password"
name="password-new"
placeholder="Nieuw wachtwoord"
><br />
<input type="password"
name="password-confirm"
placeholder="Bevestig wachtwoord"
><br />
<input type="submit"
value="Verander wachtwoord"
>
</form>
<form class="settings-email platform" method="post">
<h5>Verander Email</h5>
<br />
<input type="email"
name="email"
placeholder="Nieuw Email-adres"
><br />
<input type="email"
name="email-confirm"
placeholder="Bevestig Email"
><br />
<input type="submit"
value="Verander Email"
>
</form>
</div>
</div>