the_kellner
acb36dda96
Changes in js/contentloader.js: -document.getElementById('btnCreate').addEventListener("click" , async (event) => { document.getElementById('create-form').addEventListener("submit" , async (event) => {
37 lines
1.3 KiB
PHP
37 lines
1.3 KiB
PHP
<p></p>
|
|
<div class="container">
|
|
<div class="row">
|
|
|
|
<div class="col-12">
|
|
<div class="alert alert-dark" role="alert">
|
|
<h4> Register at FriendsBook now!</h4>
|
|
</div>
|
|
<hr />
|
|
<!--Register-->
|
|
<form id="create-form" action="index.php?page=login" 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" required>
|
|
</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" required>
|
|
</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>
|
|
<input type="text" class="form-control" name="registerMail" aria-label="Small" aria-describedby="inputGroup-sizing-sm" required>
|
|
</div>
|
|
<hr />
|
|
<button id="btnCreate" type="submit" style="float: right;" class="btn btn-primary">Create Account</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div> <!-- Ende container login -->
|