{% extends "layouts/default.html.twig" %} {% block title %}{{ 'Client report'|trans }}{% endblock %} {% block body %}
{{ include('partials/_page_header.html.twig', {header: 'Client report'|trans, description: 'Report per Bacula client'|trans }) }}
{{ 'Report options'|trans }}
{{ validation_errors.client_id|first }}
{{ validation_errors.period|first }}
{{ csrf|raw }}
{% if no_report_options == 'false' %}
{{ 'Client informations'|trans }}
{{ 'Client name'|trans }}
{{ client_name }}
{{ 'Client version'|trans }}
{{ client_version }}
{{ 'Client os'|trans }}
{{ client_os }}
{{ 'Client arch'|trans }}
{{ client_arch }}

{{ 'Last good backup job'|trans }}

{% for job in backup_jobs %} {% endfor %}
{{ 'Last good backup job'|trans }}
{{ 'Name'|trans }} {{ 'Job Id'|trans }} {{ 'Level'|trans }} {{ 'End time'|trans }} {{ 'Bytes'|trans }} {{ 'Files'|trans }} {{ 'Status'|trans }}
{{ job.name }} {{ job.jobid }} {{ job.level }} {{ job.endtime }} {{ job.jobbytes }} {{ job.jobfiles }} {{ job.jobstatuslong }}
Total {{ total_bytes }} {{ total_files }}

{{ 'Statistics'|trans }} - {{ 'Last'|trans }} {{ period }} {{ 'days(s)' }}

{% if period > 7 %}
{{ 'Bytes'|trans }}
{{ stored_bytes_chart|raw }}
{{ 'Files'|trans }}
{{ stored_files_chart|raw }}
{% else %}
{{ 'Bytes'|trans }}
{{ stored_bytes_chart|raw }}
{{ 'Files'|trans }}
{{ stored_files_chart|raw }}
{% endif %} {% else %} {% endif %}
{% endblock %}