2019-05-01 15:33:28 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
2019-10-10 15:30:27 +02:00
|
|
|
<title>{{ site_name }}</title>
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2019-05-01 15:33:28 +02:00
|
|
|
<link rel="stylesheet" type="text/css" href="/static/style.css">
|
2019-10-11 17:20:24 +02:00
|
|
|
<meta name="og:title" content="Cori+">
|
|
|
|
|
<meta name="og:description" content="A simple social network. Post text statuses, optionally with image.">
|
2019-05-01 15:33:28 +02:00
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div class="header">
|
2019-10-23 21:09:51 +02:00
|
|
|
<h1><a href="{{ url_for('website.homepage') }}">{{ site_name }}</a></h1>
|
2019-05-01 15:33:28 +02:00
|
|
|
<div class="metanav">
|
2019-10-12 19:22:10 +02:00
|
|
|
{% if current_user.is_anonymous %}
|
2021-10-17 10:20:47 +02:00
|
|
|
<a href="{{ url_for('website.login', next=request.full_path) }}">{{ inline_svg('exit_to_app') }} log in</a>
|
|
|
|
|
<a href="{{ url_for('website.register', next=request.full_path) }}">{{ inline_svg('person_add') }} register</a>
|
2019-05-01 15:33:28 +02:00
|
|
|
{% else %}
|
2021-10-17 10:20:47 +02:00
|
|
|
<a href="{{ url_for('website.user_detail', username=current_user.username) }}">{{ inline_svg('person') }} {{ current_user.username }}</a>
|
2019-05-22 18:25:08 +02:00
|
|
|
{% set notification_count = current_user.unseen_notification_count() %}
|
|
|
|
|
{% if notification_count > 0 %}
|
2019-10-23 21:09:51 +02:00
|
|
|
<a href="{{ url_for('website.notifications') }}">(<strong>{{ notification_count }}</strong>)</a>
|
2019-05-22 18:25:08 +02:00
|
|
|
{% endif %}
|
|
|
|
|
-
|
2021-10-17 10:20:47 +02:00
|
|
|
<a href="{{ url_for('website.public_timeline') }}">{{ inline_svg('explore') }} explore</a>
|
|
|
|
|
<a href="{{ url_for('website.create') }}">{{ inline_svg('edit') }} create</a>
|
|
|
|
|
<a href="{{ url_for('website.logout') }}">{{ inline_svg('exit_to_app') }} log out</a>
|
2019-05-01 15:33:28 +02:00
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="content">
|
|
|
|
|
{% for message in get_flashed_messages() %}
|
2019-10-10 15:30:27 +02:00
|
|
|
<div class="flash">{{ message }}</div>
|
2019-05-01 15:33:28 +02:00
|
|
|
{% endfor %}
|
|
|
|
|
{% block body %}{% endblock %}
|
|
|
|
|
</div>
|
2019-10-10 19:43:02 +02:00
|
|
|
<div class="footer">
|
|
|
|
|
<p class="copyright">© 2019 Sakuragasaki46.
|
2019-10-20 20:04:58 +02:00
|
|
|
<a href="/about/">About</a> - <a href="/terms/">Terms</a> -
|
2021-10-17 10:20:47 +02:00
|
|
|
<a href="/privacy/">Privacy</a> -
|
|
|
|
|
<a href="https://github.com/sakuragasaki46/coriplus">GitHub</a></p>
|
2019-10-10 19:43:02 +02:00
|
|
|
</div>
|
2019-05-01 15:33:28 +02:00
|
|
|
<script src="/static/lib.js"></script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|