diff --git a/res/templates/index.html b/res/templates/index.html index 412cdc0..6614f38 100644 --- a/res/templates/index.html +++ b/res/templates/index.html @@ -1,35 +1,37 @@ - - {% include "head.html" with path="." only %} - - - - {% include "header.html" with path="." %} -

Índice

- - Las canciones sin acordes están marcadas en rojo. -
    - {% for category, songs in sorted_categories.items %} -

    {{ category|title }}

    - {% for song in songs %} - -
  1. - {{ song.number }}. - {{ song.name }} - {% if song.author %} por {{ song.author }} {% endif %} - {% if song.origin %} basada en {{ song.origin }} {% endif %} -
  2. -
    - {% endfor %} - {% endfor %} -
- {% include "footer.html" %} - + + {% include "head.html" with path="." only %} + + + +{% include "header.html" with path="." %} +
+

Índice

+ + Las canciones sin acordes están marcadas en rojo. +
    + {% for category, songs in sorted_categories.items %} +

    {{ category|title }}

    + {% for song in songs %} + +
  1. + {{ song.number }}. + {{ song.name }} + {% if song.author %} por {{ song.author }} {% endif %} + {% if song.origin %} basada en {{ song.origin }} {% endif %} +
  2. +
    + {% endfor %} + {% endfor %} +
+
+{% include "footer.html" %} + \ No newline at end of file diff --git a/res/templates/song.html b/res/templates/song.html index 712bc66..5907f50 100644 --- a/res/templates/song.html +++ b/res/templates/song.html @@ -1,112 +1,114 @@ - - {% include "head.html" with path=".." only %} - - - - - - {% include "header.html" with path=".." %} -
-

{{ song.name}}

- Categoría: {{ song.category|title }} - {% if song.author %} - por {{ song.author }} - {% endif %} - {% if song.origin %} - basada en: {{ song.origin }} - {% endif %} -

Ajustes

-
- - - - -
- {% if song.chorded %} -
- - - - - - - -
- {% endif %} - {% if song.capo != 0 %} -
- Tono original: Cejilla {{ song.capo }} - -
- {% endif %} -

Canción

-
- {% for verse in song.verses %} -
- {% for line in verse.lines %} - {% spaceless %} - {% for chord, lyric in line.zipped_arr %} - - - - - - - -
- {% if chord.class %} - - {% endif %} - {% for c in chord.chord.items %} - {% if c.chord %} - {{ c.text|safe }} - {% else %} - {{ c.text|safe }} - {% endif %} - {% endfor %} -
- {% if 'rowspan' not in chord %} - {{ lyric|safe }} - {% endif %} -
- {% endfor %} - {% if not forloop.last %}
{% endif %} - {% endspaceless %} - {% endfor %} -
- {% endfor %} -
- {% for audio in audios %} - {% if forloop.first %} -

Audios

- {% endif %} -
- Audio del {{ audio.date_text }} Descargar - -
- {% endfor %} - Ver archivo original (LaTeX) - Índice - Categoría: {{ song.category|title }} -
- {% include "footer.html" %} - + + {% include "head.html" with path=".." only %} + + + + + +{% include "header.html" with path=".." %} +
+
+

{{ song.name}}

+ Categoría: {{ song.category|title }} + {% if song.author %} + por {{ song.author }} + {% endif %} + {% if song.origin %} + basada en: {{ song.origin }} + {% endif %} +

Ajustes

+
+ + + + +
+ {% if song.chorded %} +
+ + + + + + + +
+ {% endif %} + {% if song.capo != 0 %} +
+ Tono original: Cejilla {{ song.capo }} + +
+ {% endif %} +

Canción

+
+ {% for verse in song.verses %} +
+ {% for line in verse.lines %} + {% spaceless %} + {% for chord, lyric in line.zipped_arr %} + + + + + + + +
+ {% if chord.class %} + + {% endif %} + {% for c in chord.chord.items %} + {% if c.chord %} + {{ c.text|safe }} + {% else %} + {{ c.text|safe }} + {% endif %} + {% endfor %} +
+ {% if 'rowspan' not in chord %} + {{ lyric|safe }} + {% endif %} +
+ {% endfor %} + {% if not forloop.last %}
{% endif %} + {% endspaceless %} + {% endfor %} +
+ {% endfor %} +
+ {% for audio in audios %} + {% if forloop.first %} +

Audios

+ {% endif %} +
+ Audio del {{ audio.date_text }} Descargar + +
+ {% endfor %} + Ver archivo original (LaTeX) + Índice + Categoría: {{ song.category|title }} +
+
+{% include "footer.html" %} +