This repository has been archived on 2022-06-28. You can view files and clone it, but cannot push or open issues or pull requests.
Yotter/app/templates/base.html

57 lines
2.5 KiB
HTML
Raw Normal View History

2020-07-13 03:13:36 +05:30
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
2020-09-04 11:12:01 +05:30
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
2020-07-13 03:13:36 +05:30
{% if title %}
2020-09-05 12:26:32 +05:30
<title>{{ title }} - Yotter</title>
2020-07-13 03:13:36 +05:30
{% else %}
2020-08-30 16:10:20 +05:30
<title>Yotter</title>
2020-07-13 03:13:36 +05:30
{% endif %}
2020-09-02 00:33:51 +05:30
<meta name="viewport" content="width=device-width">
<link rel="preload" as= "style" type= "text/css" href= "{{ url_for('static',filename='semantic/semantic.min.css') }}">
<link rel="stylesheet" type= "text/css" href="{{ url_for('static',filename='styles.css') }}">
2020-09-02 00:33:51 +05:30
<link rel="icon" href="{{ url_for('static',filename='favicons/favicon.ico') }}">
<link rel="stylesheet"href= "{{ url_for('static',filename='semantic/semantic.min.css') }}">
2020-07-13 03:13:36 +05:30
</head>
<body>
2020-08-26 22:43:18 +05:30
<div class="ui icon menu overflow-auto">
2020-08-26 13:11:34 +05:30
<a href="{{ url_for('index') }}"><div class="item">
2020-09-02 00:33:51 +05:30
<img alt="Yotter simple logo" src="{{ url_for('static',filename='img/logo_simple.png') }}">
2020-08-26 13:11:34 +05:30
</div></a>
2020-07-13 03:13:36 +05:30
{% if current_user.is_anonymous %}
<a href="{{ url_for('login') }}" class="item">Login</a>
{% else %}
2020-08-26 22:22:20 +05:30
<a href="{{ url_for('twitter') }}" class="twitter item"><i class="twitter icon"></i></a>
<a href="{{ url_for('search') }}" class="twitter item"><i class="search icon"></i></a>
<a href="{{ url_for('saved') }}" class="twitter item"><i class="bookmark icon"></i></a>
<a href="{{ url_for('youtube') }}" class="youtube item"><i class="youtube icon"></i></a>
<a href="{{ url_for('ytsearch') }}" class="youtube item"><i class="search icon"></i></a>
2020-08-26 22:43:18 +05:30
<div class="right menu">
<a href="{{ url_for('settings') }}" class="item"><i class="cog icon"></i></a>
<a href="{{ url_for('logout') }}" class="item"><i class="sign-out icon"></i></a>
</div>
2020-07-13 03:13:36 +05:30
{% endif %}
</div>
{% with messages = get_flashed_messages() %}
{% if messages %}
<div class="ui info message">
2020-07-13 03:13:36 +05:30
<div class="header">
Information
</div>
<ul class="list">
{% for message in messages %}
<li>{{ message }}</li>
{% endfor %}
</ul>
</div>
</ul>
{% endif %}
{% endwith %}
{% block content %}{% endblock %}
</body>
</html>