{% extends "base.html" %}
{% block head %}
{% endblock head %}
{% block body %}
{% block content %}
<header></header>
<div class="jumbotron jumbotron-fluid">
    <div class="container">
        <h1 class="display-4">Other</h1>
        <p class="lead">Other actions.</p>
    </div>
</div>
<hr class="my-4">
<div class="card-info col-4">
    <div class="card-title">
        Backup&nbsp;&nbsp;<i class="fa fa-download"></i>
    </div>
    <div class="card-body">
        Download a backup of the REDCap project metadata, item, fields, and records.
        <br>
        <a href="{{ url_for('download_backup') }}">
            <button name="backupButton" class="btn btn-secondary"><i class="fa fa-download"></i>&nbsp;&nbsp;Download
                backup</button>
        </a>
    </div>
</div>
<div class="card-info col-4">
    <div class="card-title">
        Help&nbsp;&nbsp;<i class="fa fa-question"></i>
    </div>
    <div class="card-body">
        If you have run into an error, need help, or want to provide feed-back, please open a GitHub issue following the
        link below:
        <br>
        <a href="https://github.com/NeuroDevComp/babylab-redcap/issues/new/choose">
            <button name="Issue" class="btn btn-secondary"><i class="fa-brands fa-github"></i>&nbsp;&nbsp;Report an
                issue</button>
        </a>
    </div>
</div>
</header>
{% endblock content %}
{% endblock body %}