{%- extends "_layout.html" %}

{% block title %}{{ hawat_current_view.get_view_title() }}{% endblock title %}

{%- block content %}

            <h2>{{ hawat_current_view.get_view_title() }}</h2>
            <hr>
            <div class="row justify-content-center">
                <div class="col-md-6">
                    <div class="card bg-light">
                        <div class="card-body">
                            <p class="card-title">
                                {{ _("Following is a list of all available user login options. Please choose the one appropriate for you.") }}
                            </p>
                            <br>
                            <div class="d-grid">
                                <div class="btn-group-vertical btn-group-lg" role="group">
                                    {%- for mod_name, endp in signin_endpoints.items() %}
                                    <a class="btn btn-secondary" href="{{ endp.get_view_url(next = request.referrer) }}" role="button">
                                        {{ get_icon(endp.get_view_icon()) }} {{ endp.get_view_title() }}
                                    </a>
                                    {%- endfor %}
                                </div>
                            </div>
                            <br>
                            <br>
                            <!-- djlint:off H025 -->
                            <p class="card-text">
                                {{ _("In case you do not have an account you may <a href=\"%(url)s\">register one here</a>.", url = url_for('auth.register')) | safe }}
                            </p>
                            <!-- djlint:on -->
                        </div>
                    </div><!-- /.card -->
                </div> <!-- /.col-md-6 -->
            </div><!-- /.row -->
{%- endblock content %}
