Last active
August 3, 2018 22:58
-
-
Save rupesh2017/b4e3bf26bae22074a38a42ad789d305d to your computer and use it in GitHub Desktop.
login and logout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>{% block title %}{% endblock %}</title> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous"> | |
</head> | |
<body> | |
<div class="jumbotron"> | |
<h1 class="display-3">Welcome to Bookkeepers!</h1> | |
{% if not session.notes %} | |
<a href="{{url_for('signup')}}">signup</a> | |
<a href="{{url_for('signin')}}">signin</a> | |
{% else %} | |
<a href="{{url_for('logout')}}">logout</a> | |
{% endif %} | |
</div> | |
<div class="container"> | |
{% block body %} | |
{% endblock %} | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment