Improvements, lang=en

This commit is contained in:
Jannis Portmann 2022-01-11 23:06:12 +01:00
parent fa03bfde3d
commit 79c7a44123

View file

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Pflänz.li - {% block title %}{% endblock %}</title> <title>Pflänz.li - {% block title %}{% endblock %}</title>
@ -43,7 +43,7 @@
<a class="nav-link" href=" {{ path('offers') }} "><i class="fas fa-seedling"></i> Offers</a> <a class="nav-link" href=" {{ path('offers') }} "><i class="fas fa-seedling"></i> Offers</a>
</li> </li>
<li class="nav-item dropdown"> <li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" data-toggle="dropdown"role="button" aria-haspopup="true" aria-expanded="false"><i class="fas fa-user"></i> User</a> <a class="nav-link dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="fas fa-user"></i> User</a>
<div class="dropdown-menu"> <div class="dropdown-menu">
<a class="dropdown-item" href="{{ path('own_offers') }}"><i class="fas fa-seedling"></i> My Offers</a> <a class="dropdown-item" href="{{ path('own_offers') }}"><i class="fas fa-seedling"></i> My Offers</a>
<a class="dropdown-item" href="{{ path('wishlist') }}"><i class="fas fa-star"></i> Wishlist</a> <a class="dropdown-item" href="{{ path('wishlist') }}"><i class="fas fa-star"></i> Wishlist</a>
@ -57,9 +57,9 @@
</ul> </ul>
<span> <span>
{% if is_granted('ROLE_USER') %} {% if is_granted('ROLE_USER') %}
<a type="button" class="btn btn-light" href="{{ path('app_logout') }}">Log out</a> <a class="btn btn-light" href="{{ path('app_logout') }}">Log out</a>
{% else %} {% else %}
<a type="button" class="btn btn-light" href="{{ path('app_login') }}">Log in</a> <a class="btn btn-light" href="{{ path('app_login') }}">Log in</a>
{% endif %} {% endif %}
</span> </span>
</div> </div>
@ -72,6 +72,7 @@
<footer class="text-center text-white"> <footer class="text-center text-white">
<div class="pt-1"> <div class="pt-1">
<section class="mb-1"> <section class="mb-1">
<h2 class="d-none">Footer Links</h2>
<a class="btn btn-link btn-floating btn-lg text-dark m-1" href="https://mastodon.social/" role="button" data-mdb-ripple-color="dark"><i class="fab fa-mastodon"></i></a> <a class="btn btn-link btn-floating btn-lg text-dark m-1" href="https://mastodon.social/" role="button" data-mdb-ripple-color="dark"><i class="fab fa-mastodon"></i></a>
<a class="btn btn-link btn-floating btn-lg text-dark m-1" href="https://git.thisfro.ch/thisfro/pflaenz.li" role="button" data-mdb-ripple-color="dark"><i class="fab fa-git-alt"></i></a> <a class="btn btn-link btn-floating btn-lg text-dark m-1" href="https://git.thisfro.ch/thisfro/pflaenz.li" role="button" data-mdb-ripple-color="dark"><i class="fab fa-git-alt"></i></a>
</section> </section>