Update flake and other small changes

This commit is contained in:
marc
2025-07-27 20:28:11 +02:00
parent 47d18400c3
commit 92032df7fd
7 changed files with 15 additions and 9 deletions

View File

@@ -4,7 +4,7 @@
** TODO Ordenar els resultats de la cerca de temes
** TODO Suport per a diverses organitzacions (no només jam de Sant Cugat)
** TODO Usuaris i permisos granulars
** Lilypond support (o similar)
** Lilypond support
*** TODO Fer cançoners "en directe"
*** DONE Suport de caràcters especials (al títol i més llocs?)
*** DONE Mostrar partitura als enllaços (resultats de cerca)

6
flake.lock generated
View File

@@ -20,11 +20,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1741865919,
"narHash": "sha256-4thdbnP6dlbdq+qZWTsm4ffAwoS8Tiq1YResB+RP6WE=",
"lastModified": 1753432016,
"narHash": "sha256-cnL5WWn/xkZoyH/03NNUS7QgW5vI7D1i74g48qplCvg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "573c650e8a14b2faa0041645ab18aed7e60f0c9a",
"rev": "6027c30c8e9810896b92429f0092f624f7b1aace",
"type": "github"
},
"original": {

View File

@@ -60,6 +60,7 @@
lilypond-with-fonts
# Project tools
sqlite
opencode
];
shellHook = ''

View File

@@ -921,7 +921,7 @@ video {
.bg-brown {
--tw-bg-opacity: 1;
background-color: rgb(62 56 52 / var(--tw-bg-opacity, 1));
background-color: rgb(79 5 40 / var(--tw-bg-opacity, 1));
}
.bg-white {
@@ -1039,7 +1039,7 @@ video {
.text-brown {
--tw-text-opacity: 1;
color: rgb(62 56 52 / var(--tw-text-opacity, 1));
color: rgb(79 5 40 / var(--tw-text-opacity, 1));
}
.text-red-400 {

View File

@@ -53,7 +53,9 @@
<div class="py-2">
{% if prev_offset is not none %}
<button class="text-beige mx-2"
hx-get="/api/temes/busca?query={{ query }}&offset={{ prev_offset }}"
hx-get="/api/temes/busca"
hx-include="[name=query]"
hx-vars="properties:{{ properties_str }},offset:{{ prev_offset }}"
hx-target="#search-results"
hx-swap="outerHTML">
<i class="fa fa-chevron-left" aria-hidden="true"></i>
@@ -61,7 +63,9 @@
{% endif %}
{% if next_offset is not none %}
<button class="text-beige mx-2"
hx-get="/api/temes/busca?query={{ query }}&offset={{ next_offset }}"
hx-get="/api/temes/busca"
hx-include="[name=query]"
hx-vars="properties:{{ properties_str }},offset:{{ next_offset }}"
hx-target="#search-results"
hx-swap="outerHTML">
<i class="fa fa-chevron-right" aria-hidden="true"></i>

View File

@@ -96,6 +96,7 @@ def temes_busca(
"temes": temes,
"query": query,
"properties": properties,
"properties_str": build_property_str(properties),
"property_results": property_results,
"prev_offset": prev_offset,
"next_offset": next_offset,

View File

@@ -4,7 +4,7 @@ module.exports = {
theme: {
extend: {
colors: {
'brown': '#3e3834',
'brown': '#4f0528',
'beige': '#b27c09',
},
animation: {