Remove logi info from index screen

master
Neslihan 3 years ago
parent 5f5ca9fda3
commit 4e9590e077
  1. 9
      app/templates/admin.html
  2. 9
      app/templates/base.html
  3. 9
      app/templates/login.html

@ -1,5 +1,14 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
<div>
Dildebaslar:
<a href="{{ url_for('index') }}">Home</a>
{% if current_user.is_anonymous %}
<a href="{{ url_for('login') }}">Login</a>
{% else %}
<a href="{{ url_for('logout') }}">Logout</a>
{% endif %}
</div>
<h1>Hi, {{ current_user.username }}!</h1> <h1>Hi, {{ current_user.username }}!</h1>
{% endblock %} {% endblock %}

@ -32,15 +32,6 @@
{% endif %} {% endif %}
{% endwith %} {% endwith %}
{% block body %}{% endblock %} {% block body %}{% endblock %}
<div>
Microblog:
<a href="{{ url_for('index') }}">Home</a>
{% if current_user.is_anonymous %}
<a href="{{ url_for('login') }}">Login</a>
{% else %}
<a href="{{ url_for('logout') }}">Logout</a>
{% endif %}
</div>
<div class="container" align="center"> <div class="container" align="center">
<div class="jumbotron text-center" style="width: 50% ;"> <div class="jumbotron text-center" style="width: 50% ;">

@ -1,6 +1,15 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
<div>
Dildebaslar:
<a href="{{ url_for('index') }}">Home</a>
{% if current_user.is_anonymous %}
<a href="{{ url_for('login') }}">Login</a>
{% else %}
<a href="{{ url_for('logout') }}">Logout</a>
{% endif %}
</div>
<h1>Hi, {{ current_user.username }}!</h1> <h1>Hi, {{ current_user.username }}!</h1>
<h1>Sign In</h1> <h1>Sign In</h1>
<form action="" method="post" novalidate> <form action="" method="post" novalidate>

Loading…
Cancel
Save