{% extends 'base.html.twig' %} {% block body_id 'welcome' %} {% block body_class 'bg-28 no-zoom' %} {% block title %}{{ "Welcome"|trans }}{% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block c4rg0_menuleft %} {% endblock %} {% block modal %} {{ parent() }} {% include 'modal/support.html.twig' %} {% include 'modal/download.html.twig' %}
{% endblock %} {% block body %}

{{ logoazienda }}

{% if app.user.gruppi == null or app.user.gruppi|length == 0 %}{{ 'Operator'|trans }}{% else %}{{ app.user.gruppi|first.nome|trans }}{% endif %}: {% if app.user is not null and app.user.profilo is not null %}{{ app.user.profilo.nome ~ " " ~ app.user.profilo.cognome }}{% endif %}

{{ 'Last login on'|trans }}: {{ lastlogin|localizeddate }} From: {% if lastlogininfo != null %} {% set geodata = lastlogininfo %} {% if geodata and geodata.city|default('') != '' and geodata.country|default('') != '' %} {% if geodata and geodata.region|default('') != '' %} {{ geodata.city ~ ' (' ~ geodata.region ~ ' - ' ~ geodata.country ~ ')' }} {% else %} {{ geodata.city ~ ' (' ~ geodata.country ~ ')' }} {% endif %} {% else %} {% endif %} {% if geodata and geodata.region|default('') != '' %}   {% else %} {% endif %} {% endif %}

{# if is_granted(expression('"ROLE_ADMIN" in roles or (not is_anonymous() and user.isSuperAdmin())')) #} {% if is_granted('ROLE_ADMIN') %}
 {{ ' Management'|trans }}
{% else %}
   
{% endif %}
{#
#}
{#

{{'Acquisition Weight Range '|trans}}

#}

{{'Items Weight Range '|trans}}

{#

{{'Acquisition Volume Range'|trans}}

#}

{{'Items Volume Range'|trans}}


{% endblock %} {% block javascripts %} {{ parent() }} {# D1 — Dashboard auto-fit. With the global zoom:0.65 removed (no-zoom), scale #wrap so the whole dashboard fits the viewport without scrolling, on any desktop resolution (replaces the fixed 0.65 with a value computed per screen). Content is fluid-width, so the scale is mostly height-driven; the scaled block is centred and #content clips any leftover layout box. #} {% endblock %}