{% if ui_settings['reseller'] %}
    {% if ui_settings['darkmode'] %}
    <div class="logo_header"><a href="/"><img class="logo_image" src="{{ url_for('static', filename='images/logo_dark_custom.png')}}"/></a></div>
    {% else %}
    <div class="logo_header"><a href="/"><img class="logo_image" src="{{ url_for('static', filename='images/logo_custom.png')}}"/></a></div>
    {% endif %}
{% else %}
    {% if ui_settings['darkmode'] %}
    <div class="logo_header"><a href="/"><img class="logo_image" src="{{ url