{% extends 'base.html.twig' %} {% block page_title %} {{ 'Easy Backup'|trans }} {% endblock %} {% block page_subtitle %} {{ 'easy_backup.subtitle'|trans }} {% endblock %} {% block main %} {% set statusOpts = {collapsed: true, boxtype: 'success'} %} {% for status_item in _status %} {% if status_item.status is same as (false) %} {% set statusOpts = {boxtype: 'danger'} %} {% endif %} {% endfor %} {% embed '@theme/embeds/card.html.twig' with statusOpts %} {% block box_title %}{{ 'View status checks'|trans }}{% endblock %} {% block box_body %}

If you see a warning icon in the list below, you should talk to your administrator. A path might be not readable/writable and Kimai might not work as expected.

{% for status_item in _status %} {% endfor %}
{{ status_item.desc }} {% if status_item.status is same as (false) %} {% elseif status_item.status is same as (true) %} {% else %} {% endif %} {{ status_item.result }}
{% endblock %} {% endembed %} {% set logOpts = {collapsed: true} %} {% embed '@theme/embeds/card.html.twig' with logOpts %} {% import "macros/widgets.html.twig" as widgets %} {% block box_title %}Latest log{% endblock %} {% block box_body %}
{{- log -}}
{% endblock %} {% endembed %}
{% if existingBackups is defined %} {% for item in existingBackups %} {% endfor %} {% endif %}
# {{ 'Name'|trans }} {{ 'Size'|trans }} {{ 'Delete'|trans }} {{ 'Restore'|trans }} {{ 'Download'|trans }}
{{ existingBackups|length - loop.index + 1 }} {{ item.name }} {{ item.size|number_format(3) }}MB   {{ 'Delete'|trans }}   {{ 'Restore'|trans }}   {{ 'Download'|trans }}
{% endblock %}