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') }}">
|
2020-08-05 02:48:59 +05:30
|
|
|
<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-09-08 16:38:05 +05:30
|
|
|
{% if config.maintenance_mode %}
|
|
|
|
<div class="ui info message">
|
|
|
|
<div class="header">
|
|
|
|
Server under maintenance.
|
|
|
|
</div>
|
2020-09-08 16:01:04 +05:30
|
|
|
</div>
|
2020-09-08 16:38:05 +05:30
|
|
|
{% endif %}
|
|
|
|
{% if config.show_admin_message %}
|
|
|
|
<div class="ui warning message">
|
|
|
|
<div class="header">
|
|
|
|
{{config.admin_message_title}}
|
|
|
|
</div>
|
|
|
|
{{config.admin_message}}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
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 %}
|
2020-07-14 17:54:43 +05:30
|
|
|
<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>
|