{% extends "base.html" %}
{% block title %}{{_("Index")}}{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}

{% block content %}
<h1>{{_("View")}}</h1>
<div class="list-group mb-3">
  {% for section in sections %}
  <app-link href="{{section.link}}"
            icon="{{section.icon}}"
            class="list-group-item list-group-item-action">
    {{_(section.title)}}
  </app-link>
  {% endfor %}
</div>
<h1>{{_("Docs")}}</h1>
<div class="list-group mb-3">
  <app-link href="/docs"
            target="_blank"
            icon="file-earmark-text"
            class="list-group-item list-group-item-action">
    Swagger UI
  </app-link>
  <app-link href="/redoc"
            target="_blank"
            icon="file-earmark-text"
            class="list-group-item list-group-item-action">
    ReDoc
  </app-link>
</div>
{% endblock %}