raspisms/templates/login.php

33 lines
1.2 KiB
PHP
Raw Normal View History

<?php
//Template dashboard
$incs = new internalIncs();
$incs->head('Connexion');
?>
<div class="container-fluid">
<div class="row">
<form class="col-xs-10 col-xs-offset-1 col-md-4 col-md-offset-4 connexion-form" action="<?php echo $this->generateUrl('connect', 'connection'); ?>" method="POST">
<h2>Connexion - RaspiSMS</h2>
<div class="form-group">
<label>Adresse e-mail</label>
<div class="form-group input-group">
<span class="input-group-addon"><span class="fa fa-at"></span></span>
<input name="mail" class="form-control" type="email" placeholder="Ex : john.doe@example.tld" autofocus required>
</div>
</div>
<div class="form-group">
<label>Mot de passe</label>
<div class="form-group input-group">
<span class="input-group-addon"><span class="fa fa-lock"></span></span>
<input name="password" class="form-control" type="password" placeholder="Your password" required>
</div>
</div>
<a class="forget-password-link" href="<?php echo $this->generateUrl('connect', 'forgetPassword'); ?>">Mot de passe oublié ?</a>
<button class="btn btn-primary btn-lg btn-block">Connexion</button>
</form>
</div>
</div>
<?php
include_once(PWD . 'mvc/pingback.php');
$incs->footer();