forked from orson/bachemap
removed logout button for non logged users
This commit is contained in:
parent
50c17975e3
commit
aef9995380
@ -42,7 +42,9 @@
|
||||
<ul>
|
||||
<li><button id="pinner-top"><a href="/">Al mapa</a></button></li>
|
||||
<li><button><a href="/quienes">Somos</a></button></li>
|
||||
{% if current_user.is_authenticated %}
|
||||
<li><button style="background-color: rgb(241, 165, 0);"><a href="/logout">Salir</a></button></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</nav>
|
||||
{% with messages = get_flashed_messages() %}
|
||||
@ -58,14 +60,11 @@
|
||||
{% endwith %}
|
||||
<main class="container-fluid" style="display:block; margin-top:100px">
|
||||
|
||||
{% block content %}
|
||||
{% block content %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
</main>
|
||||
{% endblock %}
|
||||
|
||||
</main>
|
||||
</body>
|
||||
<script>
|
||||
|
||||
</script>
|
||||
<footer>Desarrollado por Kernel Panic Room, dominio patrocinado por el programa RSE de <a href="https://qro.mx">Qro.mx</a>. Si tienes dudas, comentarios, recomendaciones o quieres reportar un error, únete a nuestro canal de Telegram <a href="https://t.me/bachemapa">aquí</a></footer>
|
||||
</html>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user