osu-wayback/templates/layout.html

66 lines
1.6 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>
2018-05-15 08:56:25 +02:00
<link rel="stylesheet" type="text/css" href="{{ url_for("static", filename="css/semantic.min.css") }}">
<link rel="stylesheet" type="text/css" href="{{ url_for("static", filename="css/default.css") }}">
<link rel="stylesheet" type="text/css" href="{{ url_for("static", filename="css/pandoc-code-highlight.css") }}">
2018-05-15 08:56:25 +02:00
<script src="{{ url_for("static", filename="js/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" %}
2018-05-15 08:56:25 +02:00
<script src="{{ url_for("static", filename="js/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>