API updadte
This commit is contained in:
@@ -48,7 +48,19 @@
|
||||
<body>
|
||||
<header>
|
||||
<div class="container">
|
||||
<h1>Immorechner</h1>
|
||||
<div style="display: flex; justify-content: space-between; align-items: center;">
|
||||
<h1><a href="{{ path('app_home') }}" style="color: white; text-decoration: none;">Immorechner</a></h1>
|
||||
<nav>
|
||||
{% if app.user %}
|
||||
<span style="color: white; margin-right: 15px;">Hallo, {{ app.user.name }}!</span>
|
||||
<a href="{{ path('app_my_immobilien') }}" style="color: white; text-decoration: none; margin-right: 10px;">Meine Immobilien</a>
|
||||
<a href="{{ path('app_logout') }}" style="color: white; text-decoration: none; padding: 8px 16px; background-color: rgba(255,255,255,0.2); border-radius: 4px;">Abmelden</a>
|
||||
{% else %}
|
||||
<a href="{{ path('app_login') }}" style="color: white; text-decoration: none; margin-right: 10px;">Anmelden</a>
|
||||
<a href="{{ path('app_register') }}" style="color: white; text-decoration: none; padding: 8px 16px; background-color: rgba(255,255,255,0.2); border-radius: 4px;">Registrieren</a>
|
||||
{% endif %}
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user