Skip to content

Commit

Permalink
Add missing unit to brand image height
Browse files Browse the repository at this point in the history
  • Loading branch information
kizniche committed Jul 2, 2024
1 parent 0f7959f commit 857d7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mycodo/mycodo_flask/templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@

<nav id="nav-respond" class="navbar navbar-expand-md{% if current_user.theme in dark_themes %} navbar-dark bg-dark{% else %} navbar-light bg-light{% endif %}">

<a class="navbar-brand" id="daemon-status" data-toggle="tooltip" data-placement="bottom" href="{{url_for('routes_general.index_page')}}" style="text-align: center; padding: 0 15px; font-size: 0.8em; font-weight: bold;{%- if daemon_status == "alive" -%} /*noinspection CssOverwrittenProperties*/color: #4E9258{%- else -%} /*noinspection CssOverwrittenProperties*/color: #F70D1A{%- endif -%}" title="{%- if daemon_status == "alive" -%}{{_('Daemon is Running')}}{%- else -%}{{_('Daemon is Not Running')}}{%- endif -%}">{% if settings.brand_display in ['hostname', 'brand_text'] %}{% if settings.brand_display == 'hostname' %}{{host}}{% elif settings.brand_display == 'brand_text' %}{{settings.hostname_override}}{% endif %} - {{mycodo_version}}<br><span id="time-update"></span>{% elif settings.brand_display == 'brand_image' %}<img height="{{settings.brand_image_height}}" style="margin: 0.2em" src="/logo.jpg">{% endif %}</a>
<a class="navbar-brand" id="daemon-status" data-toggle="tooltip" data-placement="bottom" href="{{url_for('routes_general.index_page')}}" style="text-align: center; padding: 0 15px; font-size: 0.8em; font-weight: bold;{%- if daemon_status == "alive" -%} /*noinspection CssOverwrittenProperties*/color: #4E9258{%- else -%} /*noinspection CssOverwrittenProperties*/color: #F70D1A{%- endif -%}" title="{%- if daemon_status == "alive" -%}{{_('Daemon is Running')}}{%- else -%}{{_('Daemon is Not Running')}}{%- endif -%}">{% if settings.brand_display in ['hostname', 'brand_text'] %}{% if settings.brand_display == 'hostname' %}{{host}}{% elif settings.brand_display == 'brand_text' %}{{settings.hostname_override}}{% endif %} - {{mycodo_version}}<br><span id="time-update"></span>{% elif settings.brand_display == 'brand_image' %}<img height="{{settings.brand_image_height}}px" style="margin: 0.2em" src="/logo.jpg">{% endif %}</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<i class="fas fa-bars"></i>
</button>
Expand Down

0 comments on commit 857d7b1

Please sign in to comment.