*Code wurde PEP-8 gerecht formatiert * Kleine Fehler die der PyCharm Inspector beanstandet wurden korrigiert
139 lines
7.0 KiB
HTML
139 lines
7.0 KiB
HTML
{% load i18n %}
|
|
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Document</title>
|
|
</head>
|
|
<body>
|
|
|
|
</body>
|
|
</html>>
|
|
<html>
|
|
<head>
|
|
<title>Kasu - {% block title %}{{ current_top_page.menu_name|default:"traditionelle asiatische Spielkultur"}}{% endblock %}</title>
|
|
<meta name="keywords" content="{% block keywords %}{% endblock %}" />
|
|
<meta name="description" content="{% block description %}{% endblock %}" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="shortcut icon" href="{{STATIC_URL}}img/favicon.ico">
|
|
<link rel="stylesheet" media="all" href="{{STATIC_URL}}css/common.css" type="text/css">
|
|
<link rel="stylesheet" media="print" href="{{STATIC_URL}}css/print.css" type="text/css">
|
|
<link rel="stylesheet" media="screen and (min-width: 701px)" href="{{STATIC_URL}}css/desktop.css" type="text/css">
|
|
<link rel="stylesheet" media="screen and (max-width: 700px)" href="{{STATIC_URL}}css/mobile.css" type="text/css">
|
|
<!--[if lt IE 9]>
|
|
<link rel="stylesheet" media="screen" href="{{STATIC_URL}}css/desktop.css" type="text/css">
|
|
<script type="text/javascript">
|
|
document.createElement('header');
|
|
document.createElement('nav');
|
|
document.createElement('section');
|
|
document.createElement('article');
|
|
document.createElement('aside');
|
|
document.createElement('footer');
|
|
document.createElement('hgroup');
|
|
</script>
|
|
<![endif]-->
|
|
<link rel="alternate" type="application/rss+xml" title="{% trans 'Current News' %}" href="{% url 'feed-latest-news' %}" />
|
|
<link rel="alternate" type="application/rss+xml" title="{% trans 'Recent Comments' %}" href="{% url 'feed-latest-comments' %}" />
|
|
{% block opengraph %}
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:title" content="Kasu - Verein Japanische Spielekultur" />
|
|
<meta property="og:url" content="http://www.kasu.at{{ request.path_info }}" />
|
|
<meta property="og:image" content="http://www.kasu.at/static/img/logo.png" />
|
|
{% endblock %}
|
|
{% block extra_head %}{% endblock %}
|
|
</head>
|
|
<body {% block itemscope %}{% endblock %}>
|
|
<div id="header_bg"></div>
|
|
<header id="header">
|
|
<h1 id="sitelogo"><a href="/index.html">Kasu - traditionelle asiatische Spielkultur</a></h1>
|
|
<nav id="mainnav">
|
|
<input type="checkbox" id="toggle" />
|
|
<label for="toggle" class="toggle" onclick>{% trans "Menu" %}</label>
|
|
<ul class="main_menu">
|
|
{% for item in top_menu_items %}
|
|
<li><a href="{{item.get_absolute_url}}" title="{{ item.title }}" {%if item.active %}class="active"{% endif %}>{{item.menu_name}}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
<div id="maincontent">
|
|
{% block navigation %}
|
|
{% if current_top_page.subpages.count %}
|
|
<ul id="navigation">
|
|
<li><a href="{{current_top_page.get_absolute_url}}" {% ifequal current_page current_top_page %}class="active"{% endifequal %}>{{current_top_page.menu_name}}</a></li>
|
|
{% for subpage in current_top_page.subpages.all %}
|
|
<li><a href="{{subpage.get_absolute_url}}" {% ifequal subpage current_page %}class="active"{% endifequal %}>{{subpage.menu_name}}</a></li>
|
|
{% endfor %}
|
|
{% block additional_nav_elements %}{% endblock %}
|
|
</ul>
|
|
{% endif %}
|
|
{% endblock %}
|
|
{% block messages %}
|
|
{% if messages %}
|
|
<ul id="messages" class="grid_12">
|
|
{% for message in messages %}
|
|
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
{% endblock %}
|
|
{% block maincontent %}
|
|
<div id="content">{% block content %}{% endblock %}</div>
|
|
<aside id="sidebar">{% block sidebar %}{% endblock %}</aside>
|
|
{% endblock %}
|
|
{% block paginator %}{% if page_obj.has_other_pages %}{% include 'paginator.html' %}{% endif %}{% endblock %}
|
|
{% block comments %}{% endblock %}
|
|
<p id="bottom_buttonbar" class="buttonbar grid_12">
|
|
{% block buttonbar %}
|
|
{% if current_page and perms.content.change_page %}<a href="{% url 'edit-page' current_page.path %}" class="button"><img src="{{ STATIC_URL }}icons/page_edit.png" alt="" /> {% trans "Edit Page" %}</a>{% endif %}
|
|
{% if current_page and perms.content.add_page %}<a href="{% url 'add-page' current_page.path %}" class="button"><img src="{{ STATIC_URL }}icons/page_add.png" alt="" /> {% trans "Add Subpage" %}</a>{% endif %}
|
|
{% block additional_buttonbar %}{% endblock %}
|
|
{% endblock %}
|
|
</p>
|
|
</div>
|
|
<br class="clear" />
|
|
<div id="footer_bg"> </div>
|
|
<footer id="footer">
|
|
<p><strong>Herausgeber:</strong> Verein Kasu - traditionelle asiatische Spielkultur (<a href="/verein/impressum.html">{% trans "imprint" %}</a> – <a href='mailto:ve%72e%69n@%6B%61su.a%74'>{% trans "contact" %}</a>)</p>
|
|
<form action="/i18n/setlang/" method="post" style="text-align:right;">
|
|
{% csrf_token %}
|
|
<label for="language">{% trans "Language" %}:</label>
|
|
<select name="language" id="language">
|
|
{% get_language_info_list for LANGUAGES as languages %}
|
|
{% for language in languages %}
|
|
<option value="{{language.code}}" {% ifequal language.code LANGUAGE_CODE %}
|
|
selected="selected"{% endifequal %}>{{ language.name_local }} ({{ language.code }})</option>
|
|
{% endfor %}
|
|
</select>
|
|
<button type="submit">{% trans "Go" %}</button>
|
|
</form>
|
|
</footer>
|
|
<nav id="usernav">
|
|
{% if user.is_authenticated %}
|
|
{% trans "Logged in as" %}:
|
|
<a rel="nofollow" href="{% url 'membership-details' user.username %}">{{user.username}}</a> -
|
|
{% if user.is_staff %}<a href="/admin">{% trans "Admin" %}</a>{% endif %}
|
|
<a rel="nofollow" href="{% url 'logout' %}?next={{ request.path_info }}">{% trans "Logout" %}</a>
|
|
{% else %}
|
|
{% trans "no user logged in" %} -
|
|
<a rel="nofollow" href="{% url 'membership-register' %}">{% trans "register" %}</a>
|
|
<a rel="nofollow" href="{% url 'login' %}?next={{ request.path_info }}">{% trans "login" %}</a>
|
|
<a rel="nofollow" href="{% url 'social:begin' 'facebook' %}"><img src="{{STATIC_URL}}img/facebook.png" alt="Facebook Login" title="Login with Facebook" width="26" height="26"/></a>
|
|
<a rel="nofollow" href="{% url 'social:begin' 'twitter' %}"><img src="{{STATIC_URL}}img/twitter.png" alt="Twitter Login" title="Login with Twitter" width="26" height="26"/></a>
|
|
<a rel="nofollow" href="{% url 'social:begin' 'google-oauth2' %}"><img src="{{STATIC_URL}}img/google.png" alt="Google Login" title="Login with Google" width="26" height="26"/></a>
|
|
{% endif %}
|
|
</nav>
|
|
<script type="text/javascript">
|
|
{% block javascript %}{% endblock %}
|
|
var pkBaseURL = (("https:" == document.location.protocol) ? "https://admin.animanga.at/tools/piwik/" : "http://admin.animanga.at/tools/piwik/");
|
|
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
|
|
try {
|
|
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 5);
|
|
piwikTracker.trackPageView();
|
|
piwikTracker.enableLinkTracking();
|
|
} catch( err ) {
|
|
|
|
}
|
|
</script><noscript><p><img src="http://admin.animanga.at/tools/piwik/piwik.php?idsite=5" style="border:0" alt="" /></p></noscript>
|
|
</body>
|
|
</html> |