This commit is contained in:
afornerot 2019-07-10 09:14:38 +02:00
parent 105afbe941
commit 530962dc15
2 changed files with 3 additions and 4 deletions

View File

@ -56,7 +56,7 @@
{% if not app.session.get('sublogo') is empty %}
<img id="logo" src="/{{ alias }}/{{ app.session.get('sublogo') }}" style="height:{{ heightheader-40 }}px;">
{% endif %}
<span style="height:{{ heightheader }}px; line-height:{{ heightheader }}px;">
<span style="height:{{ (heightheader-20) }}px; line-height:{{ (heightheader-20) }}px;">
<div>{{ app.session.get('appname') }}</div>
{% if not app.session.get('subappname') is empty %}
<small>{{ app.session.get('subappname') }}</small>

View File

@ -11,8 +11,7 @@
{% set stylewidgetheader = constants.mystylewidgetheader(entity) %}
{% set stylewidgetbody = constants.mystylewidgetbody(entity) %}
{% if canupdate or alerts|length>0 %}
<div class="widget {%if entity.border %} widget-bordered {%endif%}" data-id="{{ entity.id }}" loc="{{ entity.loc }}" style="{{ stylewidget }}" height="{{ entity.height }}px">
{% if canupdate %}
<div class="widgetmenu">
@ -53,6 +52,6 @@
{% endfor %}
</div>
</div>
{% endif %}