2018-05-26 13:11:57 +02:00
|
|
|
<div>
|
|
|
|
<div id="carouselExampleSlidesOnly" class="carousel slide" data-ride="carousel">
|
|
|
|
<div class="carousel-inner" style="height: 100px;">
|
|
|
|
<div class="carousel-item active">
|
|
|
|
<img class="d-block h-100" src="img/header_pink.png" alt="First slide">
|
|
|
|
</div>
|
|
|
|
<div class="carousel-item">
|
|
|
|
<img class="d-block h-100" src="img/header_lime.png" alt="Second slide">
|
|
|
|
</div>
|
|
|
|
<div class="carousel-item">
|
|
|
|
<img class="d-block h-100" src="img/header_blue.png" alt="Third slide">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-06-10 20:38:33 +02:00
|
|
|
|
|
|
|
<!--Navbar-->
|
|
|
|
<nav class="navbar sticky-top navbar-expand-lg navbar-dark bg-dark">
|
|
|
|
<a class="navbar-brand" href="#">FriendsBook</a>
|
|
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
|
|
|
<ul class="navbar-nav mr-auto">
|
|
|
|
<li class="nav-item active">
|
|
|
|
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="#">SPACER</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="#">SPACER</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<form class="form-inline my-2 my-lg-0">
|
|
|
|
<div class="btn-group" role="group" aria-label="Basic example">
|
|
|
|
<!-- Button trigger modal Login -->
|
2018-06-11 18:15:21 +02:00
|
|
|
<button id="toggle-login" type="button" class="btn btn-secondary" data-toggle="modal" data-target="#login">
|
2018-06-10 20:38:33 +02:00
|
|
|
Login
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<!-- Button trigger modal Register -->
|
|
|
|
<button type="button" class="btn btn-secondary" data-toggle="modal" data-target="#register">
|
|
|
|
Register
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
<!-- Modal login-->
|
2018-06-17 18:24:56 +02:00
|
|
|
<?php require("php/signin.php") ?>
|
|
|
|
|
2018-06-10 20:38:33 +02:00
|
|
|
<div class="modal fade" id="login" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
|
|
|
<div class="modal-dialog" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h5 class="modal-title" id="exampleModalLabel">Login</h5>
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
Login into your FriendsBook Account!
|
|
|
|
<!--Login-->
|
|
|
|
<form id="login-form" action="index.php" method="post">
|
|
|
|
|
|
|
|
<div class="input-group input-group-sm mb-3">
|
|
|
|
<div class="input-group-prepend">
|
|
|
|
<span class="input-group-text" id="inputGroup-sizing-sm">Username</span>
|
|
|
|
</div>
|
|
|
|
<input type="text" class="form-control" name="loginName" aria-label="Small" aria-describedby="inputGroup-sizing-sm">
|
|
|
|
</div>
|
|
|
|
<div class="input-group input-group-sm mb-3">
|
|
|
|
<div class="input-group-prepend">
|
|
|
|
<span class="input-group-text" id="inputGroup-sizing-sm">Password</span>
|
|
|
|
</div>
|
|
|
|
<input type="password" class="form-control" name="loginPassword" aria-label="Small" aria-describedby="inputGroup-sizing-sm">
|
|
|
|
</div>
|
2018-06-11 18:15:21 +02:00
|
|
|
<div id="login-status">
|
|
|
|
|
|
|
|
</div>
|
2018-06-10 20:38:33 +02:00
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
2018-06-11 18:15:21 +02:00
|
|
|
<button id="btnLogin" type="submit" class="btn btn-primary">Login</button>
|
2018-06-10 20:38:33 +02:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- Modal Register-->
|
|
|
|
<div class="modal fade" id="register" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
|
|
|
<div class="modal-dialog" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h5 class="modal-title" id="exampleModalLabel">Register</h5>
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
Join our Community now! #friends
|
|
|
|
<!--Register-->
|
|
|
|
<form id="create-form" action="index.php" method="post">
|
|
|
|
|
|
|
|
<div class="input-group input-group-sm mb-3">
|
|
|
|
<div class="input-group-prepend">
|
|
|
|
<span class="input-group-text" id="inputGroup-sizing-sm">Username</span>
|
|
|
|
</div>
|
|
|
|
<input type="text" class="form-control" name="registerName" aria-label="Small" aria-describedby="inputGroup-sizing-sm">
|
|
|
|
</div>
|
|
|
|
<div class="input-group input-group-sm mb-3">
|
|
|
|
<div class="input-group-prepend">
|
|
|
|
<span class="input-group-text" id="inputGroup-sizing-sm">Password</span>
|
|
|
|
</div>
|
|
|
|
<input type="password" class="form-control" name="registerPassword" aria-label="Small" aria-describedby="inputGroup-sizing-sm">
|
|
|
|
</div>
|
|
|
|
<div class="input-group input-group-sm mb-3">
|
|
|
|
<div class="input-group-prepend">
|
|
|
|
<span class="input-group-text" id="inputGroup-sizing-sm">EmailAdress</span>
|
|
|
|
</div>
|
2018-06-17 18:24:56 +02:00
|
|
|
<input type="text" class="form-control" name="registerMail" aria-label="Small" aria-describedby="inputGroup-sizing-sm">
|
2018-06-10 20:38:33 +02:00
|
|
|
</div>
|
|
|
|
╭∩╮(ಠಠ)╭∩╮
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
2018-06-11 18:15:21 +02:00
|
|
|
<button id="btnCreate" type="submit" class="btn btn-primary">Create Account</button>
|
2018-06-10 20:38:33 +02:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|