-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from JeremiasMartin/feature/solapas
Feature/solapas
- Loading branch information
Showing
13 changed files
with
349 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
Proyecto/espacios_obligados/templates/administrar_entidad_sede.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<ul class="nav nav-tabs"> | ||
<li class="nav-item"> | ||
<a class="nav-link active" id="info-tab" data-toggle="tab" href="{% url 'editar_sede' sede.id %}">Información de Entidad-Sede</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" id="condiciones-tab" data-toggle="tab" href="{% url 'declaracion_jurada' sede.id %}">Condiciones para Espacio Cardio Asistido</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" id="deas-tab" data-toggle="tab" href="{% url 'listar_deas' sede.id %}">Mis DEAS</a> | ||
</li> | ||
</ul> | ||
|
||
<div class="tab-content"> | ||
<div class="tab-pane fade show active" id="info"> | ||
<!-- Contenido de Información de Entidad-Sede --> | ||
</div> | ||
<div class="tab-pane fade" id="condiciones"> | ||
<!-- Contenido de Condiciones para Espacio Cardio Asistido --> | ||
</div> | ||
<div class="tab-pane fade" id="deas"> | ||
<!-- Contenido de Condiciones DEAS --> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{% extends "ProyectoApp/base.html" %} | ||
{% load static %} | ||
{% block content %} | ||
<h1>Editar DEA</h1> | ||
<form method="post"> | ||
{% csrf_token %} | ||
{{ form.as_p }} | ||
<button type="submit" class="btn btn-primary">Guardar Cambios</button> | ||
</form> | ||
<a href="{% url 'listar_deas' sede %}" class="btn btn-primary">Atrás</a> | ||
{% endblock %} |
25 changes: 25 additions & 0 deletions
25
Proyecto/espacios_obligados/templates/dea/listar_deas.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{% extends "ProyectoApp/base.html" %} | ||
{% load static %} | ||
{% block content %} | ||
<a href="{% url 'registrar_dea' sede.id %}">Registrar Nuevo DEA</a> | ||
<div class="card-container"> | ||
{% for dea in deas %} | ||
<div class="card"> | ||
<div class="card-header"> | ||
<h3>{{ dea.nombre_representativo }}</h3> | ||
</div> | ||
<div class="card-body"> | ||
<p>Marca: {{ dea.marca }}</p> | ||
<p>Modelo: {{ dea.modelo }}</p> | ||
<a href="{% url 'editar_dea' dea.id %}" class="btn btn-primary">Editar</a> | ||
<a href="{% url 'validar_dea' dea.id %}" class="btn btn-success">Validar</a> | ||
{% if dea.aprobacion_ANMAT %} | ||
<span class="validado">Validado</span> | ||
{% else %} | ||
<span class="no-validado">No Validado</span> | ||
{% endif %} | ||
</div> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
{% endblock %} |
16 changes: 16 additions & 0 deletions
16
Proyecto/espacios_obligados/templates/dea/registrar_dea.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{% extends "ProyectoApp/base.html" %} | ||
{% load static %} | ||
{% block content %} | ||
<style> | ||
.form-check-input[type="checkbox"] { | ||
margin-left: 10px; | ||
} | ||
</style> | ||
<h1>Registrar DEA</h1> | ||
<form method="post"> | ||
{% csrf_token %} | ||
{{ form.as_p }} | ||
<button type="submit" class="btn btn-primary">Guardar Cambios</button> | ||
</form> | ||
<a class="btn btn-primary" href="{% url 'administrar_entidad_sede' sede.id %}">Atrás</a> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
Proyecto/espacios_obligados/templates/sede/declaracion_jurada.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{% extends "ProyectoApp/base.html" %} | ||
{% load static %} | ||
{% block title %}Declaración Jurada{% endblock %} | ||
{% block content %} | ||
<style> | ||
.form-check input[type="checkbox"] { | ||
margin-left: 10px; | ||
} | ||
</style> | ||
<form method="post"> | ||
{% csrf_token %} | ||
<div class="form-check"> | ||
<label class="form-check-label" for="{{ form.personal_capacitado.id_for_label }}">¿Posee personal capacitado?</label> | ||
{{ form.personal_capacitado }} | ||
</div> | ||
<div class="form-check"> | ||
<label class="form-check-label" for="{{ form.senaletica.id_for_label }}">¿Cuenta con señalética adecuada?</label> | ||
{{ form.senaletica }} | ||
</div> | ||
<div class="form-check"> | ||
<label class="form-check-label" for="{{ form.protocolo_accion.id_for_label }}">¿Posee un protocolo de acción, en caso de muerte súbita?</label> | ||
{{ form.protocolo_accion }} | ||
</div> | ||
<div class="form-check"> | ||
<label class="form-check-label" for="{{ form.sistema_emergencia.id_for_label }}">¿Cuenta con un sistema de emergencia médica?</label> | ||
{{ form.sistema_emergencia }} | ||
</div> | ||
<br> | ||
<div class="form-group"> | ||
<label for="{{ form.deas_decreto.id_for_label }}">Teniendo en cuenta el decreto reglamentario, ¿Cuántos DEAs le corresponden a su establecimiento?</label> | ||
{{ form.deas_decreto }} | ||
</div> | ||
<button type="submit">Guardar Cambios</button> | ||
</form> | ||
<a href="{% url 'administrar_entidad_sede' sede.id %}">Atrás</a> | ||
{% endblock %} |
16 changes: 16 additions & 0 deletions
16
Proyecto/espacios_obligados/templates/sede/editar_sede.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{% extends "ProyectoApp/base.html" %} | ||
{% load leaflet_tags %} | ||
{% load static %} | ||
{% block content %} | ||
<head> | ||
{% leaflet_js plugins="forms" %} | ||
{% leaflet_css plugins="forms" %} | ||
</head> | ||
<h1>Editar Sede {{ sede.nombre }}</h1> | ||
<form method="post"> | ||
{% csrf_token %} | ||
{{ form.as_p }} | ||
<button type="submit">Guardar Cambios</button> | ||
</form> | ||
<a href="{% url 'administrar_entidad_sede' sede.id %}">Atrás</a> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.