Added login and logout forms

This commit is contained in:
Kevin Frantz
2018-07-15 09:11:17 +02:00
parent c67078f88f
commit 9dddf13ac1
6 changed files with 46 additions and 6 deletions

View File

@@ -1 +0,0 @@
<?php

View File

@@ -0,0 +1,16 @@
{% extends "frames/default.html.twig" %}
{% block title %}login{% endblock %}
{% block content %}
<h1>Login</h1>
<form>
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
{% endblock %}

View File

@@ -0,0 +1,20 @@
{% extends "frames/default.html.twig" %}
{% block title %}register{% endblock %}
{% block content %}
<h1>Register</h1>
<form>
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email">
</div>
<div class="form-group">
<label for="exampleInputEmail1">Username</label>
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter Username">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
{% endblock %}

View File

@@ -1 +0,0 @@
<?php