21 lines
1 KiB
HTML
21 lines
1 KiB
HTML
{% 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 %}
|