Browse Source

Mensajes de aviso más bonitos

politica
Celestino Rey 1 year ago
parent
commit
005a23200b
4 changed files with 12 additions and 8 deletions
  1. +1
    -1
      JugarAlPadel/K8S/Makefile
  2. +1
    -1
      JugarAlPadel/K8S/Makefile.local
  3. +6
    -5
      JugarAlPadel/gestion_reservas/templates/eventos/apuntar_lista_espera.html
  4. +4
    -1
      JugarAlPadel/gestion_reservas/templates/eventos/lista_eventos.html

+ 1
- 1
JugarAlPadel/K8S/Makefile View File

@ -2,7 +2,7 @@ export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':')
#export REGISTRY=localhost:5000
export REGISTRY=registry.reymota.es
export IMG_VERSION = 0.19
export IMG_VERSION = 0.20
export IMG_NGINX_VERSION = 2.3
# limpia todo


+ 1
- 1
JugarAlPadel/K8S/Makefile.local View File

@ -2,7 +2,7 @@ export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':')
export REGISTRY=localhost:30500
#export REGISTRY=registry.reymota.es
export IMG_VERSION = 0.52
export IMG_VERSION = 0.54
export IMG_NGINX_VERSION = 2.4
# limpia todo


+ 6
- 5
JugarAlPadel/gestion_reservas/templates/eventos/apuntar_lista_espera.html View File

@ -9,11 +9,12 @@
<div class="row g-3 mb-4 align-items-center justify-content-between">
<div class="col-auto">
{% if messages %}
<ul class="messages">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
{% endfor %}
</ul>
{% for message in messages %}
<div class="alert {% if message.tags %}alert-{{ message.tags }}{% else %}alert-info{% endif %} alert-dismissible fade show" role="alert">
{{ message }}
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
{% endfor %}
{% endif %}
</div>
</div>


+ 4
- 1
JugarAlPadel/gestion_reservas/templates/eventos/lista_eventos.html View File

@ -11,7 +11,10 @@
{% if messages %}
<ul class="messages">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
<div class="alert {% if message.tags %}alert-{{ message.tags }}{% else %}alert-info{% endif %} alert-dismissible fade show" role="alert">
{{ message }}
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
{% endfor %}
</ul>
{% endif %}


Loading…
Cancel
Save