diff --git a/asignaPVC.sh b/asignaPVC.sh new file mode 100644 index 0000000..f9b8c84 --- /dev/null +++ b/asignaPVC.sh @@ -0,0 +1,8 @@ + + oc set volume deployment.apps/entrenadores --add -t pvc --name=entrenadores-macrociclos-migrations --claim-name='entrenadores-macrociclos--migrations' --mount-path='/app/macrociclos-/migrations' + + oc set volume deployment.apps/entrenadores --add -t pvc --name=entrenadores-media --claim-name='entrenadores-media' --mount-path='/app/mediafiles' + + oc set volume deployment.apps/entrenadores --add -t pvc --name=entrenadores-usuarios-migrations --claim-name='entrenadores-usuarios-migrations' --mount-path='/app/usuarios/migrations' + + oc set volume deployment.apps/entrenadores --add -t pvc --name=static-volume --claim-name='static-volume' --mount-path='/app/staticfiles' diff --git a/src/templates/lyrics/_menu-lyrics.html b/src/templates/lyrics/_menu-lyrics.html deleted file mode 100644 index 91de6b6..0000000 --- a/src/templates/lyrics/_menu-lyrics.html +++ /dev/null @@ -1,14 +0,0 @@ - -
- Artistas -
- -
- Albumes -
- -
- Canciones -
- - diff --git a/src/templates/lyrics/detalle_album.html b/src/templates/lyrics/detalle_album.html deleted file mode 100644 index d471dc0..0000000 --- a/src/templates/lyrics/detalle_album.html +++ /dev/null @@ -1,75 +0,0 @@ -{% extends 'base.html' %} - -{% block menuapp %} - -{% include 'lyrics/_menu-lyrics.html' %} - -{% endblock menuapp %} - -{% block content %} -
-
-
-
-
- {% if album %} -
- {% if album.cover_image %} -

{{ album.name }}

- {% else %} -

No hay imágen disponible

- {% endif %} -
- -

{{ album.name }}

- - - - {% endif %} -
- -
-
-
- - {% if songs %} - - - - - - - - - - {% for song in songs %} - - - - - - {% endfor %} - -
PistaTítuloAutor
{{ song.pista }}{{ song.title }}{{ song.artist }}
- {% else %} -

No songs found matching your query.

- {% endif %} -
- -
-
- -
-
-
-{% endblock %} diff --git a/src/templates/lyrics/detalle_artista.html b/src/templates/lyrics/detalle_artista.html deleted file mode 100644 index 3b36342..0000000 --- a/src/templates/lyrics/detalle_artista.html +++ /dev/null @@ -1,68 +0,0 @@ -{% extends 'base.html' %} - -{% block menuapp %} - -{% include 'lyrics/_menu-lyrics.html' %} - -{% endblock menuapp %} - -{% block content %} -
-
-
-
-
- {% if artista.foto %} -

{{ artista.nombre}}

- {% else %} -

No hay imágen disponible

- {% endif %} -
-
-

{{ artista.nombre }}

- -
    -
  • {{ artista.nombre }}
  • -
-
-
-
-
- - {% if albumes %} - - - - - - - - - - {% for album in albumes %} - - - - - - {% endfor %} - -
TítuloArtistaYear
{{ album.name }}{{ album.artist }}{{ album.year }}
- {% else %} -

No se han encontrado albums para este artista

- {% endif %} -
-
- - -
-{% endblock %} - diff --git a/src/templates/lyrics/detalle_song.html b/src/templates/lyrics/detalle_song.html deleted file mode 100644 index 4cb141b..0000000 --- a/src/templates/lyrics/detalle_song.html +++ /dev/null @@ -1,43 +0,0 @@ -{% extends 'base.html' %} - -{% block menuapp %} - -{% include 'lyrics/_menu-lyrics.html' %} - -{% endblock menuapp %} - -{% block content %} -
-
- {% for album in albumes %} -
-
- -
- {% if album.cover_image %} -

{{ album.name }}

- {% else %} -

No hay imágen disponible

- {% endif %} -
- -
-

{{ song.name }}

- - - -
-
-
-
-
{{ song.lyrics }}
-
- {% endfor %} -
-{% endblock %} diff --git a/src/templates/lyrics/form_album.html b/src/templates/lyrics/form_album.html deleted file mode 100644 index 20bc414..0000000 --- a/src/templates/lyrics/form_album.html +++ /dev/null @@ -1,23 +0,0 @@ -{% extends 'base.html' %} - -{% block menuapp %} - -{% include 'lyrics/_menu-lyrics.html' %} - -{% endblock menuapp %} - -{% block content %} -
-

{% if form.instance.pk %}Editar álbum{% else %}Nuevo álbum{% endif %}

-
-
- {% csrf_token %} - {{ form.as_p }} -
- -
-
- {{ form.media }} -
-
-{% endblock %} diff --git a/src/templates/lyrics/form_artista.html b/src/templates/lyrics/form_artista.html deleted file mode 100644 index 4615821..0000000 --- a/src/templates/lyrics/form_artista.html +++ /dev/null @@ -1,23 +0,0 @@ -{% extends 'base.html' %} - -{% block menuapp %} - -{% include 'lyrics/_menu-lyrics.html' %} - -{% endblock menuapp %} - -{% block content %} -
- -

{% if form.instance.pk %}Editar artista{% else %}Nuevo artista{% endif %}

-
-
- {% csrf_token %} - {{ form.as_p }} -
- -
-
-
-
-{% endblock %} diff --git a/src/templates/lyrics/form_song.html b/src/templates/lyrics/form_song.html deleted file mode 100644 index 0b7e183..0000000 --- a/src/templates/lyrics/form_song.html +++ /dev/null @@ -1,23 +0,0 @@ -{% extends 'base.html' %} - -{% block menuapp %} - -{% include 'lyrics/_menu-lyrics.html' %} - -{% endblock menuapp %} - -{% block content %} -
-

{% if form.instance.pk %}Editar canción{% else %}Nueva canción{% endif %}

-
-
- {% csrf_token %} - {{ form.as_p }} -
- -
-
- {{ form.media }} -
-
-{% endblock %} diff --git a/src/templates/lyrics/index.html b/src/templates/lyrics/index.html deleted file mode 100644 index 5ee468c..0000000 --- a/src/templates/lyrics/index.html +++ /dev/null @@ -1,33 +0,0 @@ -{% extends 'base.html' %} - -{% block menuapp %} - -{% include 'lyrics/_menu-lyrics.html' %} - -{% endblock menuapp %} - -{% block content %} - -
- -

Introducción

- - - -
- -{% endblock %} diff --git a/src/templates/lyrics/lista_albumes.html b/src/templates/lyrics/lista_albumes.html deleted file mode 100644 index 2e8ead3..0000000 --- a/src/templates/lyrics/lista_albumes.html +++ /dev/null @@ -1,69 +0,0 @@ -{% extends 'base.html' %} - -{% block menuapp %} - -{% include 'lyrics/_menu-lyrics.html' %} - -{% endblock menuapp %} - -{% block content %} -
-
-
-

Álbumes

-
-
- -
-
-
- -
-
-
- - -
-
-
-
-
- - - - - - - - - - - - - {% for album in albumes %} - - - - - - - {% endfor %} - -
CoverNombreArtistaAño
- {% if album.cover_image %} - {{ album.name }} - {% else %} - Sin imágen - {% endif %} - {{ album.name }}{{ album.artist }}{{ album.year }}
-
-
-
-
-
-
-{% endblock %} diff --git a/src/templates/lyrics/lista_artistas.html b/src/templates/lyrics/lista_artistas.html deleted file mode 100644 index 61878c6..0000000 --- a/src/templates/lyrics/lista_artistas.html +++ /dev/null @@ -1,71 +0,0 @@ -{% extends 'base.html' %} - -{% block menuapp %} - -{% include 'lyrics/_menu-lyrics.html' %} - -{% endblock menuapp %} - -{% block content %} -
- -
-
-

Artistas

-
-
-
-
-
- -
-
-
- -
- {% for artista in artistas %} -
-
-
- - {% if artista.foto %} - Foto del artista - {% else %} - Sin imágen - {% endif %} -

{{ artista.matricula}}

- -
- - -
-
-
- {% endfor %} -
-
-{% endblock %} diff --git a/src/templates/lyrics/lista_songs.html b/src/templates/lyrics/lista_songs.html deleted file mode 100644 index c351a4b..0000000 --- a/src/templates/lyrics/lista_songs.html +++ /dev/null @@ -1,49 +0,0 @@ -{% extends 'base.html' %} - -{% block menuapp %} - -{% include 'lyrics/_menu-lyrics.html' %} - -{% endblock menuapp %} - -{% block content %} -
-
-
-

Canciones

-
-
-
-
- -
-
- - -
-
- - - - - - - - - - {% for song in songs %} - - - - - - {% endfor %} - -
TítuloAutorÁlbum
{{ song.title }}{{ song.artist }}{{ song.album.name }}
-
-
-{% endblock %} diff --git a/src/templates/repostajes/_menu-entrenadores.html b/src/templates/macrociclos/_menu-entrenadores.html similarity index 100% rename from src/templates/repostajes/_menu-entrenadores.html rename to src/templates/macrociclos/_menu-entrenadores.html diff --git a/src/templates/repostajes/detalle_deportista.html b/src/templates/macrociclos/detalle_deportista.html similarity index 100% rename from src/templates/repostajes/detalle_deportista.html rename to src/templates/macrociclos/detalle_deportista.html diff --git a/src/templates/repostajes/detalle_entrenador.html b/src/templates/macrociclos/detalle_entrenador.html similarity index 100% rename from src/templates/repostajes/detalle_entrenador.html rename to src/templates/macrociclos/detalle_entrenador.html diff --git a/src/templates/repostajes/form_deportista.html b/src/templates/macrociclos/form_deportista.html similarity index 100% rename from src/templates/repostajes/form_deportista.html rename to src/templates/macrociclos/form_deportista.html diff --git a/src/templates/repostajes/form_entrenador.html b/src/templates/macrociclos/form_entrenador.html similarity index 100% rename from src/templates/repostajes/form_entrenador.html rename to src/templates/macrociclos/form_entrenador.html diff --git a/src/templates/repostajes/index.html b/src/templates/macrociclos/index.html similarity index 100% rename from src/templates/repostajes/index.html rename to src/templates/macrociclos/index.html diff --git a/src/templates/repostajes/lista_deportistas.html b/src/templates/macrociclos/lista_deportistas.html similarity index 100% rename from src/templates/repostajes/lista_deportistas.html rename to src/templates/macrociclos/lista_deportistas.html diff --git a/src/templates/repostajes/lista_entrenadores.html b/src/templates/macrociclos/lista_entrenadores.html similarity index 100% rename from src/templates/repostajes/lista_entrenadores.html rename to src/templates/macrociclos/lista_entrenadores.html