login.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {% set title = "Entrar" %}
  2. {% include "partials/header.html" %}
  3. {% include "partials/menubar.html" %}
  4. {% block body %}
  5. <div class="login-container container">
  6. <div class="panel">
  7. <div class="panel-body">
  8. {% if messages.error %}
  9. <div role="alert" class="alert alert-danger">
  10. {% for error in messages.error %}
  11. <div>{{ error.msg }}</div>
  12. {% endfor %}
  13. </div>
  14. {% endif %}
  15. <form method="POST">
  16. <legend>Entrar na sua conta</legend>
  17. <div class="form-group">
  18. <label for="email">Email</label>
  19. <input type="email" name="email" id="email" placeholder="Email" class="form-control" autofocus>
  20. </div>
  21. <div class="form-group">
  22. <label for="password">Senha</label>
  23. <input type="password" name="password" id="password" placeholder="Senha" class="form-control">
  24. </div>
  25. <div class="form-group"><a href="/forgot"><strong>Esqueceu sua senha?</strong></a></div>
  26. <button type="submit" class="btn btn-success">Entrar</button>
  27. </form>
  28. <div class="hr-title"><span>ou</span></div>
  29. <div class="btn-toolbar text-center">
  30. <a href="/auth/facebook" class="btn btn-facebook">Entre com o Facebook</a>
  31. <a href="/auth/twitter" class="btn btn-twitter">Entre com o Twitter</a>
  32. </div>
  33. </div>
  34. </div>
  35. <p class="text-center">
  36. Ainda não tem uma conta? <a href="/signup"><strong>Registrar</strong></a>
  37. </p>
  38. </div>
  39. {% endblock %}
  40. {% include "partials/footer.html" %}