osu-wayback/templates/layout.html

66 lines
1.7 KiB
HTML
Raw Normal View History

2018-01-13 21:39:01 +01:00
{% set header_links =
[
2018-01-13 21:39:01 +01:00
{
"name": "Home",
2018-01-13 21:39:01 +01:00
"endpoint": "home_index",
"href": "/home"
},
{
"name": "Download",
2018-01-13 21:39:01 +01:00
"endpoint": "download_index",
"href": "/download"
},
{
"name": "API",
"endpoint": "api_index",
"href": "/api"
}
]
2018-01-13 21:39:01 +01:00
%}
2018-01-12 23:16:10 +01:00
<html>
<head>
<title>osu!wayback</title>
<link rel="stylesheet" type="text/css" href="{{ url_for("static", filename="dist/semantic-ui/semantic.min.css") }}">
<link rel="stylesheet" type="text/css" href="{{ url_for("static", filename="stylesheets/default.css") }}">
<link rel="stylesheet" type="text/css" href="{{ url_for("static", filename="stylesheets/pandoc-code-highlight.css") }}">
<script src="{{ url_for("static", filename="dist/jquery/jquery.min.js") }}"></script>
2018-01-13 20:16:16 +01:00
{% block headextra %}{% endblock %}
2018-01-12 23:16:10 +01:00
</head>
<body>
<!--Header Menu-->
{% include "follow-header.html" %}
<!--Sidebar Menu-->
{% include "sidebar.html" %}
<!--Page-->
<div class="pusher">
{% block body %}{% endblock %}
</div>
<!--Footer-->
{% include "footer.html" %}
<script src="{{ url_for("static", filename="dist/semantic-ui/semantic.min.js") }}"></script>
<script>
$(document)
.ready(function() {
// fix menu when passed
$('.masthead')
.visibility({
once: false,
onBottomPassed: function() {
$('.fixed.menu').transition('fade in');
},
onBottomPassedReverse: function() {
$('.fixed.menu').transition('fade out');
}
})
;
// create sidebar and attach to menu open
$('.ui.sidebar')
.sidebar('attach events', '.toc.item')
;
})
;
</script>
2018-01-12 23:16:10 +01:00
</body>
</html>