fix: Style buttons

This commit is contained in:
moanos [he/him] 2025-01-01 20:58:50 +01:00
parent 1536bb302a
commit 25b748d2be

View File

@ -10,20 +10,23 @@
<input type="hidden" name="longitude" maxlength="200" id="longitude"> <input type="hidden" name="longitude" maxlength="200" id="longitude">
<input type="hidden" name="latitude" maxlength="200" id="latitude"> <input type="hidden" name="latitude" maxlength="200" id="latitude">
{{ search_form.as_p }} {{ search_form.as_p }}
<button class="btn" type="submit" value="search" name="search"> <div class="container-edit-buttons">
<i class="fas fa-search"></i> {% trans 'Suchen' %} <button class="btn" type="submit" value="search" name="search">
</button> <i class="fas fa-search"></i> {% trans 'Suchen' %}
{% if searched %} </button>
{% if subscribed_search %} {% if searched %}
<button class="btn" type="submit" value="{{ subscribed_search.pk }}" name="unsubscribe_to_search"> {% if subscribed_search %}
<i class="fas fa-bell-slash"></i> {% trans 'Suche nicht mehr abonnieren' %} <button class="btn" type="submit" value="{{ subscribed_search.pk }}"
</button> name="unsubscribe_to_search">
{% else %} <i class="fas fa-bell-slash"></i> {% trans 'Suche nicht mehr abonnieren' %}
<button class="btn" type="submit" name="subscribe_to_search"> </button>
<i class="fas fa-bell"></i> {% trans 'Suche abonnieren' %} {% else %}
</button> <button class="btn" type="submit" name="subscribe_to_search">
<i class="fas fa-bell"></i> {% trans 'Suche abonnieren' %}
</button>
{% endif %}
{% endif %} {% endif %}
{% endif %} </div>
</form> </form>
<div class="card half"> <div class="card half">
{% include "fellchensammlung/partials/partial-map.html" %} {% include "fellchensammlung/partials/partial-map.html" %}