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>
......@@ -59,7 +66,6 @@ require "php/db_conn.php";
<br> <br>
<input class="btn btn-success" type='submit' id='submit' name='save' value='save'>
</form>
</body>
......
......@@ -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>
......@@ -54,6 +61,8 @@
</form>
</div>
</body>
......
......@@ -26,7 +26,16 @@
<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>
<h2 style="text-align: center; margin-top:80px"> WELCOME TO YOUR VERY OWN PERSONAL ASSISTENT</h2>
......@@ -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,13 +106,14 @@
{% endif %}
{% endfor %}
<br> <br>
</table>
{% else %}
<h2 style="text-align: center; margin-top:80px"> Please log in </h2>
{% endif %}
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
......
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