capsul-flask/capsulflask/templates/base.html

60 lines
1.9 KiB
HTML
Raw Normal View History

2020-05-10 03:59:22 +00:00
<html lang="en">
<head>
<!-- Namecoin Address: N2aVL6pHtBp7EtNGb3jpsL2L2NyjBNbiB1 -->
2020-05-22 20:20:36 +00:00
<link href="{{ url_for('static', filename='favicon.ico') }}" rel="icon">
2020-05-14 17:41:46 +00:00
<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">
2020-05-12 17:38:36 +00:00
{% block head %}{% endblock %}
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
2020-05-10 03:59:22 +00:00
</head>
<body>
<nav>
2020-05-15 17:23:42 +00:00
<div class="row justify-space-between half-margin">
<div>
<a href="/"><b>Capsul</b></a>💊
</div>
<div>
2020-05-15 17:23:42 +00:00
&nbsp;
{% 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>
2020-05-15 17:23:42 +00:00
<div class="row justify-center half-margin wrap nav-links">
2020-06-08 23:27:13 +00:00
<a href="/pricing">Pricing</a>
<a href="/faq">FAQ</a>
<a href="/changelog">Changelog</a>
{% if session["account"] %}
<a href="/console">Capsuls</a>
<a href="/console/keys">SSH &amp; API 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 %}
2020-05-10 03:59:22 +00:00
<main>
{% block content %}{% endblock %}
</main>
{% block subcontent %}{% endblock %}
2020-05-10 03:59:22 +00:00
<footer>
(c) Attribution-ShareAlike 4.0 International <br/>
&nbsp;&nbsp;&nbsp;&nbsp;A service by Cyberia Computer Club 2020-<span class="bigtext"></span> <br/>
<br/>
<br/>
<a href="https://giit.cyberia.club/~forest/capsul-flask/tree/master/capsulflask{% block pagesource %}{% endblock %}">View page source</a>
2020-05-10 03:59:22 +00:00
</footer>
</body>
</html>