Skip to content

Commit

Permalink
check credentials dot
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancisTicgal committed Feb 16, 2024
1 parent cc267b5 commit 9a84076
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions templates/config.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,16 @@
) }}
{% endif %}
</div>
</div>

<div class="form-field row col-12 mt-2">
{% if conn and conn[0] matches '{^2\d{2}}' %}
<label class="form-label text-xxl-end">{{__('Connection established','onetimesecret')}}
<i class="fa fa-circle" style="color: #23E767;"></i></label>
{% else %}
<label class="form-label text-xxl-end">{{__('Check credentials','onetimesecret')}}
<i class="fa fa-circle" style="color: #E72323;"></i></label>
{% endif %}
<div class="form-field row col-12 mt-2">
{% if conn and conn[0] matches '{^2\d{2}}' %}
<label class="form-label text-xxl-end">{{__('Connection established','onetimesecret')}}
<i class="fa fa-circle" style="color: #23E767;"></i></label>
{% else %}
<label class="form-label text-xxl-end">{{__('Check credentials','onetimesecret')}}
<i class="fa fa-circle" style="color: #E72323;"></i></label>
{% endif %}
</div>
</div>

{{ include('components/form/buttons.html.twig') }}
Expand Down

0 comments on commit 9a84076

Please sign in to comment.