covid-formity/templates/login.html

22 lines
1.0 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{% extends "base.html" %}
{% from "_helpers.html" import render_field, render_submit %}
{% block content %}
<div class="row justify-content-center" style="margin-top: 10vh;">
<div class="col-md-2"></div>
<div class="col-md-4" style="text-align: center; border-right: 1px solid #eee;">
<h2>JesteÅ czÅonkiem HSWAW?</h2>
<a href="/oauth/login?spaceauth=nodawaj&next={{next}}" class="btn btn-primary btn-sm" role="button" aria-pressed="true">Zaloguj się używając SSO</a>
</div>
<div class="col-md-4" style="text-align: center;">
<h2>Pomagasz nam?</h2>
<form method="POST" action="/oauth/login_external?next={{next}}">
<input name="email" placeholder="email" style="width: 80%; margin-bottom: 1em;" /><br />
<input name="password" type="password" placeholder="hasÅo" style="width: 80%; margin-bottom: 1em;" /><br />
<button class="btn btn-lg btn-primary btn-sm" type="submit">Zaloguj siÄ™</button>
</form>
</div>
</div>
{% endblock %}