calendar-social/calsocial/templates/base.html

55 lines
3.0 KiB
HTML
Raw Normal View History

2018-06-26 05:23:53 +00:00
<!DOCTYPE html>
<html>
<head>
<title>Calendar.Social</title>
<link rel="icon" type="image/png" sizes="16x16" href="{{ url_for('static', filename='images/calendar-social-icon-16.png') }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='images/calendar-social-icon-32.png') }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='images/calendar-social-icon-96.png') }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='images/calendar-social-icon-192.png') }}">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.0/css/fork-awesome.min.css" integrity="sha256-sX8HLspqYoXVPetzJRE4wPhIhDBu2NB0kYpufzkQSms=" crossorigin="anonymous">
2018-07-13 08:19:37 +00:00
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='semantic/semantic.min.css') }}">
2018-07-13 06:58:12 +00:00
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}" type="text/css">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
2018-07-13 06:58:12 +00:00
{% block head %}{% endblock %}
2018-06-26 05:23:53 +00:00
</head>
<body>
<header>
2018-07-13 08:19:37 +00:00
<div class="ui top attached menu">
<div class="header item">
<img src="{{ url_for('static', filename='images/calendar-social-icon.svg') }}">
Calendar.social
</div>
<div class="right menu">
2018-06-29 06:03:49 +00:00
{% if not current_user.is_authenticated %}
2018-07-13 08:19:37 +00:00
<a class="item" href="{{ url_for('security.login') }}">{% trans %}Login{% endtrans %}</a>
2018-06-29 06:03:49 +00:00
{% else %}
2018-07-13 08:19:37 +00:00
<div class="item">
{% trans username=('<a href="' + url_for('display_profile', username=current_user.username) + '">' + current_user.username + '</a>') | safe -%}
Logged in as {{username}}
{%- endtrans %}
2018-07-13 08:19:37 +00:00
</div>
<a class="item" href="{{ url_for('hello') }}">{% trans %}Calendar view{% endtrans %}</a>
<a class="item" href="{{ url_for('notifications') }}">{% trans %}Notifications{% endtrans %}</a>
<a class="item" href="{{ url_for('settings') }}">{% trans %}Settings{% endtrans %}</a>
<a class="item" href="{{ url_for('security.logout') }}">{% trans %}Logout{% endtrans %}</a>
2018-06-29 06:03:49 +00:00
{% endif %}
2018-07-13 08:19:37 +00:00
</div>
</div>
2018-06-26 05:23:53 +00:00
</header>
2018-07-13 08:19:37 +00:00
<div class="ui container" id="content">
2018-06-26 05:23:53 +00:00
{% block content %}{% endblock %}
2018-07-13 08:19:37 +00:00
</div>
<footer class="ui segment">
2018-06-26 05:23:53 +00:00
Soon…™
</footer>
{% block scripts %}{% endblock %}
2018-07-13 08:19:37 +00:00
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="{{ url_for('static', filename='semantic/semantic.min.js') }}"></script> <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}" type="text/css">
2018-06-26 05:23:53 +00:00
</body>
</html>