Update flake and other small changes
This commit is contained in:
@@ -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
6
flake.lock
generated
@@ -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": {
|
||||
|
||||
@@ -60,6 +60,7 @@
|
||||
lilypond-with-fonts
|
||||
# Project tools
|
||||
sqlite
|
||||
opencode
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -4,7 +4,7 @@ module.exports = {
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
'brown': '#3e3834',
|
||||
'brown': '#4f0528',
|
||||
'beige': '#b27c09',
|
||||
},
|
||||
animation: {
|
||||
|
||||
Reference in New Issue
Block a user