Commit 035630ed by mhasan

logout added

parent d4d79fb6
......@@ -33,6 +33,14 @@ session_start();
<a class="nav-link" href="faq.php"> FAQ </a>&nbsp; &nbsp;
</li>
</ul>
<ul style='text-align:end;' class="navbar-nav ml-auto">
<li class="nav-item">
<form method="GET" action="php/logout.php">
<input class='btn btn-info' type = 'submit' name =' logout' value = 'logout'>
</form>
</li>
</ul>
</nav>
<h2 style="text-align: center; margin-top:80px"> Create List</h2>
......@@ -51,6 +59,7 @@ session_start();
<input class="btn btn-success" type="submit" name = "submit" value="submit" id='submit'> <br>
</form>
</div>
<br> <br>
</body>
</html>
......
......@@ -36,6 +36,13 @@ require "php/db_conn.php";
<a class="nav-link" href="faq.php"> FAQ </a>&nbsp; &nbsp;
</li>
</ul>
<ul style='text-align:end;' class="navbar-nav ml-auto">
<li class="nav-item">
<form method="GET" action="php/logout.php">
<input class='btn btn-info' type = 'submit' name =' logout' value = 'logout'>
</form>
</li>
</ul>
</nav>
<h2 style="text-align: center; margin-top:80px; margin-bottom:30px;"> Edit Task </h2>
......@@ -60,7 +67,6 @@ require "php/db_conn.php";
<input class="btn btn-success" type='submit' id='submit' name='save' value='save'>
</form>
</body>
</html>
\ No newline at end of file
......@@ -30,6 +30,13 @@
<a class="nav-link" href="faq.php"> FAQ </a>&nbsp; &nbsp;
</li>
</ul>
<ul style='text-align:end;' class="navbar-nav ml-auto">
<li class="nav-item">
<form method="GET" action="php/logout.php">
<input class='btn btn-info' type = 'submit' name =' logout' value = 'logout'>
</form>
</li>
</ul>
</nav>
<h2 style="text-align: center; margin-top:80px"> Registration</h2>
......@@ -55,6 +62,8 @@
</div>
</body>
......
......@@ -26,6 +26,15 @@
<li class="nav-item">
<a class="nav-link" href="faq.php"> FAQ </a>&nbsp; &nbsp;
</li>
</ul>
<ul style=' text-align:end;' class="navbar-nav ml-auto">
<li class="nav-item">
<form method="GET" action="php/logout.php">
<input class='btn btn-info' type = 'submit' name =' logout' value = 'logout'>
</form>
</li>
</ul>
</nav>
......@@ -44,10 +53,12 @@
<br><br>
<input class='btn btn-success'type="submit" name="submit" value="submit">
</form>
<br> <br>
<form class='btn btn-success' method="GET" action="php/logout.php">
<input type = 'submit' name =' logout' value = 'logout'>
<form method="GET" action="php/logout.php">
<input class='btn btn-danger' type = 'submit' name =' logout' value = 'logout'>
</form>
{% if login is not null %}
<h3 style="text-align:center;"> Incorrect username and password, please try again!</h3>
{% endif %}
......
......@@ -29,6 +29,14 @@
<a class="nav-link" href="faq.php"> FAQ </a>&nbsp; &nbsp;
</li>
</ul>
<ul style='text-align:end;' class="navbar-nav ml-auto">
<li class="nav-item">
<form method="GET" action="php/logout.php">
<input class='btn btn-info' type = 'submit' name =' logout' value = 'logout'>
</form>
</li>
</ul>
</nav>
{% if tasks is not null %}
......@@ -98,6 +106,7 @@
{% endif %}
{% endfor %}
<br> <br>
</table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment