1
0
Fork 0
mirror of https://github.com/Findus23/se-simulator.git synced 2024-09-19 15:53:45 +02:00
se-simulator/templates/base.html
2018-10-10 17:36:32 +02:00

81 lines
3.6 KiB
HTML

<!DOCTYPE html>
<html lang="de" class="{% block extraclasses %}{% endblock %}" prefix="og: http://ogp.me/ns#">
<head>
<meta name="robots" content="noindex, nofollow">
<title>{% block title %}Stack Exchange Simulator{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
{% if config['DEBUG'] %}
<link href="{{ url_for('static', filename='css/style.scss.css') }}" rel="stylesheet" type="text/css">
{% else %}
<link href="{{ url_for('static', filename='css/style.css') }}?hash={{ git_hash }}"
rel="stylesheet" type="text/css">
{% endif %}
<meta property="og:type" content="website"/>
<meta property="og:site_name" content="Stack Exchange Simulator"/>
<meta property="og:image:width" content="600"/>
<meta property="og:image:height" content="600"/>
<meta name="twitter:card" content="summary"/>
<meta name="twitter:site" content="@lw1_at"/>
<meta name="twitter:creator" content="@lw1_at"/>
<meta property="og:url" content="{{ request.base_url }}"/>
{% block extrameta %}{% endblock %}
<!-- Matomo -->
<script type="text/javascript">
var _paq = _paq || [];
{# tracker methods like "setCustomDimension" should be called before "trackPageView" #}
_paq.push(['enableHeartBeatTimer']);
_paq.push(['setRequestMethod', 'POST']);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function () {
var u = "https://matomo.lw1.at/";
_paq.push(['setTrackerUrl', u + 'statistics.php']);
_paq.push(['setSiteId', '16']);
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
g.type = 'text/javascript';
g.async = true;
g.defer = true;
g.src = u + 'statistics.js';
s.parentNode.insertBefore(g, s);
})();
</script>
<!-- End Matomo Code -->
</head>
<body>
<div class="container">
{% for message in get_flashed_messages() %}
<div class="flash">{{ message }}</div>
{% endfor %}
{% block body %}{% endblock %}
<footer>
<div><a href="https://lw1.at/i">Imprint and Privacy Policy</a></div>
<div><a href="#" id="showdisclaimer">Disclaimer</a></div>
<div><a href="https://lw1.at/" target="_blank">About me and other projects</a></div>
</footer>
</div>
<div id="infowrapper"{% if infohidden %} style="display: none"{% endif %}>
<div>
<span id="closeinfo" class="close" aria-label="Close" role="button" tabindex="1">&times;</span>
<p>
This site is not affiliated with Stack Exchange, Stack Overflow or any of their family of sites.
Site names and logos are &copy; Stack Overflow Inc.
The data used to produce this page and therefore all data on this site is licensed under
<a href="https://creativecommons.org/licenses/by-sa/3.0/">Creative Commons BY-SA 3.0</a>.
</p>
<p>
The content of this website shouldn't be taken too seriously as everything got randomly generated based on
original questions and answers.
</p>
<footer>
<div><a href="https://lw1.at/i">Imprint and Privacy Policy</a></div>
<div><a href="https://lw1.at/" target="_blank">About me and other projects</a></div>
</footer>
</div>
</div>
<script src="{{ url_for('static', filename='js/app.js') }}?hash={{ git_hash }}"></script>
<script src="{{ url_for('static', filename='js/awesomplete.min.js') }}?hash={{ git_hash }}"></script>
</body>
</html>