Files
index/templates/base.html

57 lines
2.6 KiB
HTML

<!DOCTYPE html>
<html style="--hue: var(--{{ hue }});">
<head>
<title>Icolotl Index</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="/static/favicon/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="/static/favicon/favicon.svg" />
<link rel="shortcut icon" href="/static/favicon/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png" />
<meta name="apple-mobile-web-app-title" content="Index" />
<link rel="manifest" href="/static/site.webmanifest" />
{% block head %}{% endblock %}
</head>
<body>
<header>
<a href="/">
<svg version="1.1" width="196" height="46" xmlns="http://www.w3.org/2000/svg">
<polyline points="23,46 173,46 196,23 173,0 23,0 0,23" fill="#FFFFFF" class="icon-bg" />
<polyline points="23,44 33,34 23,24 13,34" fill="var(--color-max)" style="--hue: var(--des);" />
<polyline points="34,33 44,23 34,13 24,23" fill="var(--color-max)" style="--hue: var(--bea);" />
<polyline points="23,22 33,12 23,2 13,12" fill="var(--color-max)" style="--hue: var(--ade);" />
<polyline points="12,33 22,23 12,13 2,23" fill="var(--color-max)" style="--hue: var(--cam);" />
<text x="54" y="22" fill="#FFFFFF" class="icon-txt">INDEX</text>
</svg>
</a>
<div>
<div id="header-top">
<div>
<span class="spacer"></span>
<a href="/help">Help</a>
<a href="/ade">Frontpage</a>
{% if session["username"] %}
<a href="/logout">Log Out</a>
{% endif %}
</div>
</div>
<div id="header-bottom">
<span class="spacer"></span>
<form action="{{ url_for('search') }}" method="get" id="searchform">
<label for="search-type">Search Type:</label>
<select name="search-type" id="search-type">
<option value="classic">Classic</option>
<option value="oid">Object ID</option>
</select>
<input type="search" name="search" id="search">
<input type="submit" value="Search">
</form>
</div>
</div>
</header>
{% block content %}{% endblock %}
</body>
</html>