48 lines
2.2 KiB
HTML
48 lines
2.2 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>CS Flash Cards</title>
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
|
|
integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
|
|
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='style.css') }}"/>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
|
|
<br/>
|
|
<nav class="navbar navbar-default">
|
|
<div class="navbar-header">
|
|
<a class="navbar-brand" href="{{ url_for('index') }}">CS Flash Cards</a>
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
|
{% if not session.logged_in %}
|
|
<li><a href="{{ url_for('login') }}">log in</a></li>
|
|
{% else %}
|
|
<li><a href="{{ url_for('cards') }}">cards</a></li>
|
|
<li><a href="{{ url_for('general') }}">general</a></li>
|
|
<li><a href="{{ url_for('code') }}">code</a></li>
|
|
<li> </li>
|
|
<li><a href="{{ url_for('logout') }}">log out</a></li>
|
|
{% endif %}
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
|
|
{% for message in get_flashed_messages() %}
|
|
<div class="alert alert-success" role="alert">{{ message }}</div>
|
|
{% endfor %}
|
|
{% block body %}{% endblock %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="https://code.jquery.com/jquery-2.2.4.min.js"
|
|
integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
|
|
<script src="https://use.fontawesome.com/8cea844162.js"></script>
|
|
<script src="{{ url_for('static', filename='fastclick.min.js') }}"></script>
|
|
<script src="{{ url_for('static', filename='general.js') }}"></script>
|
|
</body>
|
|
</html>
|