Merge branch 'marijn-settings' into 'master'
Marijn settings See merge request !25
This commit was merged in pull request #29.
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
<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>
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
class="close" title="Close Modal">×</span>
|
class="close" title="Close Modal">×</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">
|
||||||
|
|||||||
19
website/settings.php
Normal file
19
website/settings.php
Normal 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>
|
||||||
33
website/styles/settings.css
Normal file
33
website/styles/settings.css
Normal 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 {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -15,5 +15,6 @@
|
|||||||
@import url("styles/footer.css");
|
@import url("styles/footer.css");
|
||||||
@import url("styles/adminpanel.css");
|
@import url("styles/adminpanel.css");
|
||||||
@import url("styles/chat.css");
|
@import url("styles/chat.css");
|
||||||
|
@import url("styles/settings.css");
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -10,8 +10,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="right profile-menu">
|
<div class="right profile-menu">
|
||||||
<div id="profile-menu-popup">
|
<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="index.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="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>
|
<a href="profile.php"><span style="color: green;" class="fa fa-user" data-title="Profiel"></span></a>
|
||||||
</div>
|
</div>
|
||||||
<div id="profile-hello-popup">
|
<div id="profile-hello-popup">
|
||||||
|
|||||||
87
website/views/settings-view.php
Normal file
87
website/views/settings-view.php
Normal 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>
|
||||||
Reference in New Issue
Block a user