default.html
HTML document, ASCII text
1<!DOCTYPE html> 2<html lang="en"> 3<head> 4<meta charset="UTF-8"> 5<link rel="stylesheet" href="/static/style.css" type="text/css"> 6<link rel="icon" href="/static/logo.svg" type="image/x-icon"> 7<meta name="viewport" content="width=device-width, initial-scale=1.0"> 8<title>{% block title %}{% endblock %}</title> 9<script src="https://code.iconify.design/iconify-icon/2.0.0/iconify-icon.min.js"></script> 10</head> 11<body> 12<nav> 13<a href="/" id="navi-logo" {% if active == "dashboard" %}class="active"{% endif %}> 14<img src="/static/logo.svg" alt=""> 15Dashboard 16</a> 17<a href="/my" {% if active == "my" %}class="active"{% endif %}> 18My Apps 19</a> 20 21<div id="navi-spacer"></div> 22 23{% if not session.username %} 24<a href="/login" {% if active == "login" %}class="active"{% endif %}> 25Log In 26</a> 27<a href="/signup" {% if active == "signup" %}class="active"{% endif %}> 28Sign Up 29</a> 30{% else %} 31<a href="/logout"> 32{{ session.username }} (Log Out) 33</a> 34{% endif %} 35</nav> 36{% block content %}{% endblock %} 37</body> 38</html>