{% import 'components/macros.html' as macro %} {% extends 'base.html' %} {% block header %}

{% block title %}{{ _('Dashboard') }}{% endblock %}

{{ _("Seedbox activity overview") }}

{{ _('Last update:') }}
{% endblock %} {% block content %}
{{macro.card_stats( _('Downloads'), _('Last %(hours)s hours', hours=24), 'download', 'text-primary', 'data?.last24h' )}} {{macro.card_stats( _('Downloads'), _('Last %(days)s days', days=7), 'download', 'text-primary', 'data?.last7d' )}} {{macro.card_stats( _('Downloads'), _('Last %(days)s days', days=30), 'download', 'text-primary', 'data?.last30d' )}} {{macro.card_stats( _('Downloads'), _('This year'), 'download', 'text-secondary', 'data?.year' )}}
{{ _('Services') }}
{% set sync_blackhole_enabled = seedboxsync_config.get('sync_blackhole_enabled') %} {% set sync_seedbox_enabled = seedboxsync_config.get('sync_seedbox_enabled') %} {% set services_enabled = sync_blackhole_enabled or sync_seedbox_enabled %} {% if sync_blackhole_enabled %}
{{ macro.task_box(_('Blackhole'), 'bolt', 'sync-blackhole', 'blackhole', 5) }}
{% endif %} {% if sync_seedbox_enabled%} {{ macro.task_box(_('Seedbox'), 'server', 'sync-seedbox', 'seedbox', 30) }} {% endif %} {% if not services_enabled %} {{ _('No service is enabled.')}} {% endif %}

{{ _('Download in progress') }}

{{ _('List of downloads in progress from the seedbox to the NAS.') }}

{{ _('Loading...') }}
{{ _('An error has occurred.') }}
{{ _('No download in progress now...') }}
{{ _('Name') }} {{ _('Started') }} {{ _('Progress') }}

{{ _('Last files downloaded') }}

{{ _('List of last files downloaded from the seedbox to the NAS.') }}

{{ _('Loading...') }}
{{ _('An error has occurred.') }}
{{ _('No files downloaded yet...') }}
{{ _('Name') }} {{ _('Finished') }}

{{ _('Last torrents uploaded') }}

{{ _('List of last torrents uploaded from the NAS to the seedbox.') }}

{{ _('Loading...') }}
{{ _('An error has occurred.') }}
{{ _('No torrent downloaded yet...') }}
{{ _('Name') }} {{ _('Sent') }}
{% endblock %}