Move away from madness

This commit is contained in:
2025-09-13 22:58:19 +02:00
parent fbcf64fff2
commit 1bba146344
112 changed files with 654 additions and 73 deletions
+53
View File
@@ -0,0 +1,53 @@
<html lang="en">
<head>
<title>{{ title ? title ~ " - " : "" }}Schmoppo's Songs!</title>
<link rel="stylesheet" href="static/pico.classless.pink.min.css">
<link rel="stylesheet" href="static/own.css">
<script src="static/buttons.js" defer></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<main>
<header>
<nav>
<ul>
<li>
<!--<button class="sidebar-toggle" type="button">
<svg viewBox="0 0 448 512" width="100">
<path d="M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z" />
</svg>
</button>-->
<label class="sidebar-toggler">
<svg viewBox="0 0 448 512" width="100">
<path d="M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z" />
</svg>
<input type="checkbox" />
</label>
</li>
<li><h3 class="mb-0">{{ title }}</h3></li>
</ul>
<ul>
<li>
<button type="button" class="secondary color-theme-toggle">🌙</button>
</li>
</ul>
</nav>
</header>
{% block main %}
<aside class="sidebar">
<nav>
{% block scores %}
<ul>
{% for score in scores %}
<li><a href="?score={{ score|url_encode }}.md">{{ score }}</a></li>
{% endfor %}
</ul>
{% endblock %}
</nav>
</aside>
{% block content %}
{% endblock %}
{% endblock %}
</main>
</body>
</html>
+10
View File
@@ -0,0 +1,10 @@
{% extends 'base.html.twig' %}
{% block main %}
<h2></h2>
<aside>
<nav>
{{ block('scores') }}
</nav>
</aside>
{% endblock %}
+9
View File
@@ -0,0 +1,9 @@
{% extends 'base.html.twig' %}
{% block content %}
<article>
<p>
{{ score|raw }}
</p>
</article>
{% endblock %}