forked from 3wordchant/capsul-flask
3wordchant
5bb76173dd
Specify `THEME=yourtheme`, add some HTML files in `capsulflask/theme/yourtheme` 👌 We probably want to reduce copypasta in the current `yolocolo` theme by using template inheritance, at some point. Reviewed-on: 3wordchant/capsul-flask#7 Co-authored-by: 3wordchant <3wordchant@noreply.git.autonomic.zone> Co-committed-by: 3wordchant <3wordchant@noreply.git.autonomic.zone>
61 lines
2.0 KiB
HTML
61 lines
2.0 KiB
HTML
<html lang="en">
|
|
<head>
|
|
<!-- Namecoin Address: N2aVL6pHtBp7EtNGb3jpsL2L2NyjBNbiB1 -->
|
|
<link href="{{ url_for('static', filename='favicon.yolocolo.ico') }}" rel="icon">
|
|
<title>{% block title %}{% endblock %}{% if self.title() %} - {% endif %}Capsul</title>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
<meta name="Description" content="Cyberia Capsul">
|
|
{% block head %}{% endblock %}
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.yolocolo.css') }}">
|
|
</head>
|
|
<body>
|
|
<nav>
|
|
<div class="row justify-space-between half-margin">
|
|
<div>
|
|
🦉 <a href="/"><b>YOLOCOLO</b></a>
|
|
</div>
|
|
<div>
|
|
|
|
{% if session["account"] %}
|
|
{ {{ session["account"] }} <a href="{{ url_for('auth.logout') }}">Log Out</a> }
|
|
{% else %}
|
|
<a href="{{ url_for('auth.login') }}">Login</a>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
<div class="row justify-center half-margin wrap nav-links">
|
|
<a href="/pricing">Pricing</a>
|
|
<a href="/faq">FAQ</a>
|
|
|
|
{% if session["account"] %}
|
|
<a href="/console">Capsuls</a>
|
|
<a href="/console/ssh">SSH Public Keys</a>
|
|
<a href="/console/account-balance">Account Balance</a>
|
|
{% endif %}
|
|
|
|
<a href="/support">Support</a>
|
|
</div>
|
|
</nav>
|
|
{% for message in get_flashed_messages() %}
|
|
<div class="flash">{{ message }}</div>
|
|
{% endfor %}
|
|
{% block custom_flash %}{% endblock %}
|
|
<main>
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
{% block subcontent %}{% endblock %}
|
|
<footer>
|
|
This server runs <a
|
|
href="https://giit.cyberia.club/~forest/capsul-flask">capsul-flask</a> by
|
|
Cyberia Computer Club, available under the <a
|
|
href="https://creativecommons.org/licenses/by-sa/4.0/">Attribution-ShareAlike
|
|
4.0 International</a> licence.<br/><br/>
|
|
<a href="https://git.autonomic.zone/3wordchant/capsul-flask/src/branch/yolocolo/capsulflask{% block pagesource %}{% endblock %}">View page source</a>
|
|
</footer>
|
|
</body>
|
|
</html>
|
|
|
|
|