2019-09-28 21:43:25 -05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<head>
|
|
|
|
<link rel="stylesheet" type="text/css" href="/styles.css">
|
2019-10-05 14:34:57 -05:00
|
|
|
<link rel="stylesheet" type="text/css" href="/local.css">
|
|
|
|
<link rel="icon" type="image/svg" href="/logo.svg">
|
2019-09-28 21:43:25 -05:00
|
|
|
<title>{{ sitename }}</title>
|
2020-06-26 04:40:06 -05:00
|
|
|
<script>
|
|
|
|
//should check for and refresh login tokens on pageload..
|
|
|
|
if(document.cookie.match(/^(.*;)?\s*Authorization\s*=\s*[^;]+(.*)?$/) !== null) {
|
|
|
|
var xhr = new XMLHttpRequest();
|
|
|
|
xhr.open("POST", "/api/login", true);
|
|
|
|
xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
|
|
|
|
xhr.send("");
|
|
|
|
}
|
|
|
|
</script>
|
2019-12-07 10:51:26 -06:00
|
|
|
{% block head %}
|
|
|
|
{% endblock %}
|
2019-09-28 21:43:25 -05:00
|
|
|
</head>
|
2020-06-27 12:11:42 -05:00
|
|
|
<body onload="startVideo()">
|
2019-09-28 21:43:25 -05:00
|
|
|
<div id="wrapper">
|
|
|
|
<div id="header">
|
2019-12-03 19:51:14 -06:00
|
|
|
<span style="float:left;"><h4><a href="/">{{ sitename }}</a> | <a href="/users">Users</a> <a href="/users/live">Live</a> <a href="/about">About</a></h4></span><span style="float:right;"><h4><a href="/help">Help</a> | {% if auth.is %}<a href="/profile">{{ auth.name }}{% else %}<a href="/login">Log In{% endif %}</a></h4></span>
|
2019-09-28 21:43:25 -05:00
|
|
|
</div>
|
|
|
|
<div id="content">
|
|
|
|
{% block content %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
<div id="footer">
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<b>Satyr</b></br>
|
|
|
|
<a href="https://gitlab.com/knotteye/satyr">About</a></br>
|
2019-10-05 14:34:57 -05:00
|
|
|
<a href="https://gitlab.com/knotteye/satyr/-/releases">v{{ version }}</a>
|
2019-09-28 21:43:25 -05:00
|
|
|
</div>
|
|
|
|
<div>
|
2019-10-05 14:34:57 -05:00
|
|
|
<img src="/logo.svg" height="50" />
|
2019-09-28 21:43:25 -05:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<b>{{ sitename }}</b></br>
|
|
|
|
<a href="/about">About</a></br>
|
|
|
|
<a href="mailto:{{ email }}">Contact</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|