assemblerpdf 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. assemblerpdf/__init__.py +16 -0
  2. assemblerpdf/assemblers/__init__.py +9 -0
  3. assemblerpdf/assemblers/base.py +120 -0
  4. assemblerpdf/assemblers/form.py +257 -0
  5. assemblerpdf/assemblers/report.py +44 -0
  6. assemblerpdf/core.py +193 -0
  7. assemblerpdf/fonts/Inter-Bold.ttf +0 -0
  8. assemblerpdf/fonts/Inter-Medium.ttf +0 -0
  9. assemblerpdf/fonts/Inter-Regular.ttf +0 -0
  10. assemblerpdf/img/Logo-unp-rojo.png +0 -0
  11. assemblerpdf/img/logo-mininterior-rojo.jpg +0 -0
  12. assemblerpdf/templates/assemblerpdf/checkbox.html +16 -0
  13. assemblerpdf/templates/assemblerpdf/footer.html +16 -0
  14. assemblerpdf/templates/assemblerpdf/grid_row.html +7 -0
  15. assemblerpdf/templates/assemblerpdf/header.html +19 -0
  16. assemblerpdf/templates/assemblerpdf/input.html +12 -0
  17. assemblerpdf/templates/assemblerpdf/radio.html +14 -0
  18. assemblerpdf/templates/assemblerpdf/section.html +6 -0
  19. assemblerpdf/templates/assemblerpdf/signature.html +14 -0
  20. assemblerpdf/templates/assemblerpdf/style.html +318 -0
  21. assemblerpdf/templates/assemblerpdf/textarea.html +12 -0
  22. assemblerpdf/templates/sistema/anexos.html +38 -0
  23. assemblerpdf/templates/sistema/anexos_limpio.html +52 -0
  24. assemblerpdf/templates/sistema/archivese.html +18 -0
  25. assemblerpdf/templates/sistema/autoriza_envio.html +33 -0
  26. assemblerpdf/templates/sistema/checkbox.html +41 -0
  27. assemblerpdf/templates/sistema/control_cambios.html +43 -0
  28. assemblerpdf/templates/sistema/datos_basicosinf.html +16 -0
  29. assemblerpdf/templates/sistema/datos_ot.html +33 -0
  30. assemblerpdf/templates/sistema/encaso_de.html +5 -0
  31. assemblerpdf/templates/sistema/fiila_dos_check.html +54 -0
  32. assemblerpdf/templates/sistema/fila_cinco_zona.html +54 -0
  33. assemblerpdf/templates/sistema/fila_cuatro.html +20 -0
  34. assemblerpdf/templates/sistema/fila_cuatro_si_no.html +46 -0
  35. assemblerpdf/templates/sistema/fila_cuatro_zona.html +48 -0
  36. assemblerpdf/templates/sistema/fila_dos.html +12 -0
  37. assemblerpdf/templates/sistema/fila_dos_zona.html +40 -0
  38. assemblerpdf/templates/sistema/fila_instructivo.html +16 -0
  39. assemblerpdf/templates/sistema/fila_tres.html +16 -0
  40. assemblerpdf/templates/sistema/fila_tres_checkbox.html +66 -0
  41. assemblerpdf/templates/sistema/fila_tres_zona.html +45 -0
  42. assemblerpdf/templates/sistema/fila_uno.html +8 -0
  43. assemblerpdf/templates/sistema/firma.html +10 -0
  44. assemblerpdf/templates/sistema/firma_doble.html +32 -0
  45. assemblerpdf/templates/sistema/firmaop2.html +17 -0
  46. assemblerpdf/templates/sistema/firmas_oficializacion.html +66 -0
  47. assemblerpdf/templates/sistema/hechos_sobrevinientes.html +261 -0
  48. assemblerpdf/templates/sistema/hechos_sobrevinientes_vacio.html +209 -0
  49. assemblerpdf/templates/sistema/iformfilacuatro.html +20 -0
  50. assemblerpdf/templates/sistema/informacion_doble.html +0 -0
  51. assemblerpdf/templates/sistema/input_2checks.html +98 -0
  52. assemblerpdf/templates/sistema/input_check.html +40 -0
  53. assemblerpdf/templates/sistema/input_checkbox.html +53 -0
  54. assemblerpdf/templates/sistema/input_solitario.html +9 -0
  55. assemblerpdf/templates/sistema/label_input_dos.html +24 -0
  56. assemblerpdf/templates/sistema/leyenda_autoriza_correo.html +8 -0
  57. assemblerpdf/templates/sistema/leyenda_superiol.html +5 -0
  58. assemblerpdf/templates/sistema/logos.html +4 -0
  59. assemblerpdf/templates/sistema/manifiesto.html +41 -0
  60. assemblerpdf/templates/sistema/notificacion_correo.html +14 -0
  61. assemblerpdf/templates/sistema/oficializacion.html +21 -0
  62. assemblerpdf/templates/sistema/pregunta_si_no.html +34 -0
  63. assemblerpdf/templates/sistema/pregunta_tresopciones.html +47 -0
  64. assemblerpdf/templates/sistema/qr_oficializacion.html +7 -0
  65. assemblerpdf/templates/sistema/situacion_amenaza.html +82 -0
  66. assemblerpdf/templates/sistema/style.html +228 -0
  67. assemblerpdf/templates/sistema/subtitulo_icono.html +6 -0
  68. assemblerpdf/templates/sistema/subtitulo_icono_largo.html +6 -0
  69. assemblerpdf/templates/sistema/tabla_doble.html +15 -0
  70. assemblerpdf/templates/sistema/tabla_instructivo.html +12 -0
  71. assemblerpdf/templates/sistema/tabla_matriz_riesgo.html +135 -0
  72. assemblerpdf/templates/sistema/tabla_proyeccion.html +37 -0
  73. assemblerpdf/templates/sistema/tabla_simple.html +187 -0
  74. assemblerpdf/templates/sistema/texarea.html +9 -0
  75. assemblerpdf/templates/sistema/tipo_identificacion.html +55 -0
  76. assemblerpdf/templates/sistema/tipos_checkbox.html +47 -0
  77. assemblerpdf/templates/sistema/titulo.html +6 -0
  78. assemblerpdf/templates/sistema/titulo_logo.html +22 -0
  79. assemblerpdf/templates/sistema/titulo_principal.html +5 -0
  80. assemblerpdf/utils/__init__.py +1 -0
  81. assemblerpdf/utils/template_loader.py +48 -0
  82. assemblerpdf-1.0.0.dist-info/METADATA +86 -0
  83. assemblerpdf-1.0.0.dist-info/RECORD +85 -0
  84. assemblerpdf-1.0.0.dist-info/WHEEL +5 -0
  85. assemblerpdf-1.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,43 @@
1
+ <!-- templates/components/control_cambios_dinamico.html -->
2
+ <div style="background-color: #303d50; width: 100%; margin: 0px;">
3
+ <p style="font-size: 18px; color: white; font-weight: 700; text-align: left; margin: 0px 20px; padding: 10px 0;">
4
+ Control de Cambios
5
+ </p>
6
+ </div>
7
+ <div class="version">
8
+ <table>
9
+ <!-- Encabezado fijo -->
10
+ <tr>
11
+ <th class="v-inicial" style="text-align: left; border-left: none; border-top: none; padding: 10px 0 10px 10px; min-width: 120px;">
12
+ Versión inicial
13
+ </th>
14
+ <th class="v-descripcion" style="text-align: center; border-top: none; padding: 10px 0 10px 10px;">
15
+ Descripción de la creación o cambio del documento
16
+ </th>
17
+ <th class="v-inicial" style="text-align: center; border-left: none; border-top: none; padding: 10px 0 10px 10px; min-width: 110px;">
18
+ Fecha
19
+ </th>
20
+ <th class="v-inicial" style="text-align: center; border-right: none; border-top: none; padding: 10px 0 10px 10px; min-width: 120px;">
21
+ Versión final
22
+ </th>
23
+ </tr>
24
+
25
+ <!-- Filas dinámicas -->
26
+ {% for fila in filas %}
27
+ <tr{% if fila.height %} style="height: {{ fila.height }};"{% endif %}>
28
+ <td class="v-inicial" style="text-align: center; border-left: none; min-width: 120px; {% if not forloop.last %}border-bottom: none;{% endif %}">
29
+ {{ fila.version_inicial }}
30
+ </td>
31
+ <td class="v-descripcion" style="text-align: left; {% if not forloop.last %}border-bottom: none;{% endif %}">
32
+ <p>{{ fila.descripcion|linebreaksbr }}</p>
33
+ </td>
34
+ <td class="v-inicial" style="text-align: center; min-width: 110px; {% if not forloop.last %}border-bottom: none;{% endif %}">
35
+ {{ fila.fecha }}
36
+ </td>
37
+ <td class="v-inicial" style="text-align: center; border-right: none; min-width: 120px; {% if not forloop.last %}border-bottom: none;{% endif %}">
38
+ {{ fila.version_final }}
39
+ </td>
40
+ </tr>
41
+ {% endfor %}
42
+ </table>
43
+ </div>
@@ -0,0 +1,16 @@
1
+ <div class="especial-dos" style="margin-bottom: 10px;">
2
+ <table>
3
+ <tr>
4
+ <td class="celda-i" style="width: 50%;">
5
+ <label style="font-weight: bold; color: #002857;">{{ label1 }}</label>
6
+ <input type="text" value="{{ valor1 }}" style="width: 100%;">
7
+ </td>
8
+ </tr>
9
+ <tr>
10
+ <td class="celda-c" style="width: 50%;">
11
+ <label style="font-weight: bold; color: #002857;">{{ label2 }}</label>
12
+ <input type="text" value="{{ valor2 }}" style="width: 100%;">
13
+ </td>
14
+ </tr>
15
+ </table>
16
+ </div>
@@ -0,0 +1,33 @@
1
+ <table style="width: 95%; margin: 15px auto; border-collapse: collapse; font-family: 'Roboto', sans-serif; page-break-inside: avoid; line-height: 1.6;">
2
+
3
+ <!-- Fila 1 -->
4
+ <tr>
5
+ <td style="padding: 5px 0; font-size: 16px; color: #002857; width: {{ancho1}}">
6
+ <strong>Nombre de la persona evaluada:</strong> {{ nombre_evaluado }}
7
+ </td>
8
+ <td style="padding: 5px 0; font-size: 16px; color: #002857; width: {{ancho2}};">
9
+ <strong>Fecha solicitud UNP:</strong> {{ fecha_solicitud_unp }}
10
+ </td>
11
+ </tr>
12
+
13
+ <!-- Fila 2 -->
14
+ <tr>
15
+ <td style="padding: 5px 0; font-size: 16px; color: #002857; width: {{ancho3}}">
16
+ <strong>Identificación:</strong> {{ identificacion }}
17
+ </td>
18
+ <td style="padding: 5px 0; font-size: 16px; color: #002857; width: {{ancho4}};">
19
+ <strong>Fecha recibo Subdirección ER:</strong> {{ fecha_recibo_subd }}
20
+ </td>
21
+ </tr>
22
+
23
+ <!-- Fila 3 -->
24
+ <tr>
25
+ <td style="padding: 5px 0; font-size: 16px; color: #002857; width: {{ancho5}}">
26
+ <strong>Género:</strong> {{ genero }}
27
+ </td>
28
+ <td style="padding: 5px 0; font-size: 16px; color: #002857; width: {{ancho6}};">
29
+ <strong>Fecha expedición Orden:</strong> {{ fecha_expedicion_orden }}
30
+ </td>
31
+ </tr>
32
+
33
+ </table>
@@ -0,0 +1,5 @@
1
+ <div class="columna" style="padding-top: 0px; padding-bottom: 0px;">
2
+ <p style=" font-size: 11px; color: #002857; font-weight: 500; text-align: justify; margin: 0px 20px 0px 20px">
3
+ {{encasode}}
4
+ </p>
5
+ </div>
@@ -0,0 +1,54 @@
1
+ <table>
2
+ <tr>
3
+ <td class="celda-i" style="width: {{ ancho1 }};">
4
+ <label>{{ label1 }}</label>
5
+ <input type="text" value="{{ valor1 }}">
6
+ </td>
7
+ <td class="celda-d" style="width: {{ ancho4 }};">
8
+ <label>{{ label4 }}</label>
9
+ <div style="position: relative; height: 35px;">
10
+ <!-- Opción Siempre -->
11
+ <div class="chequeo-i" style="position: absolute; left: 0; min-width: 200px;">
12
+ <div style="position: relative;">
13
+ {% if valor4 == "Siempre" %}
14
+ <i class="fa-regular fa-square-check" style="position: absolute; left: 0; font-size: 30px; color: #888;"></i>
15
+ {% else %}
16
+ <i class="fa-regular fa-square" style="position: absolute; left: 0; font-size: 30px; color: #ccc;"></i>
17
+ {% endif %}
18
+ <p style="position: absolute; left: 35px; top: 5px; font-size: 15px; color: #002857; text-align: left; margin: 0px;">
19
+ Siempre
20
+ </p>
21
+ </div>
22
+ </div>
23
+
24
+ <!-- Opción A Veces -->
25
+ <div class="chequeo-i" style="position: absolute; left: 100px; min-width: 200px;">
26
+ <div style="position: relative;">
27
+ {% if valor4 == "A Veces" %}
28
+ <i class="fa-regular fa-square-check" style="position: absolute; left: 0; font-size: 30px; color: #888;"></i>
29
+ {% else %}
30
+ <i class="fa-regular fa-square" style="position: absolute; left: 0; font-size: 30px; color: #ccc;"></i>
31
+ {% endif %}
32
+ <p style="position: absolute; left: 35px; top: 5px; font-size: 15px; color: #002857; text-align: left; margin: 0px;">
33
+ A Veces
34
+ </p>
35
+ </div>
36
+ </div>
37
+
38
+ <!-- Opción Nunca -->
39
+ <div class="chequeo-i" style="position: absolute; left: 220px; min-width: 200px;">
40
+ <div style="position: relative;">
41
+ {% if valor4 == "Nunca" %}
42
+ <i class="fa-regular fa-square-check" style="position: absolute; left: 0; font-size: 30px; color: #888;"></i>
43
+ {% else %}
44
+ <i class="fa-regular fa-square" style="position: absolute; left: 0; font-size: 30px; color: #ccc;"></i>
45
+ {% endif %}
46
+ <p style="position: absolute; left: 35px; top: 5px; font-size: 15px; color: #002857; text-align: left; margin: 0px;">
47
+ Nunca
48
+ </p>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </td>
53
+ </tr>
54
+ </table>
@@ -0,0 +1,54 @@
1
+ <table>
2
+ <tr>
3
+ <td class="celda-i" style="width: {{ ancho1 }};">
4
+ <label>{{ label1 }}</label>
5
+ <input type="text" value="{{ valor1 }}">
6
+ </td>
7
+ <td class="celda-d" style="width: {{ ancho4 }};">
8
+ <label>{{ label4 }}</label>
9
+ <div style="position: relative; height: 35px;">
10
+ <!-- Opción Personal -->
11
+ <div class="chequeo-i" style="position: absolute; left: 0; min-width: 200px;">
12
+ <div style="position: relative;">
13
+ {% if valor4 == "Personal" %}
14
+ <i class="fa-regular fa-square-check" style="position: absolute; left: 0; font-size: 30px; color: #888;"></i>
15
+ {% else %}
16
+ <i class="fa-regular fa-square" style="position: absolute; left: 0; font-size: 30px; color: #ccc;"></i>
17
+ {% endif %}
18
+ <p style="position: absolute; left: 35px; top: 5px; font-size: 15px; color: #002857; text-align: left; margin: 0px;">
19
+ Personal
20
+ </p>
21
+ </div>
22
+ </div>
23
+
24
+ <!-- Opción Telefónica -->
25
+ <div class="chequeo-i" style="position: absolute; left: 100px; min-width: 200px;">
26
+ <div style="position: relative;">
27
+ {% if valor4 == "Telefonica" %}
28
+ <i class="fa-regular fa-square-check" style="position: absolute; left: 0; font-size: 30px; color: #888;"></i>
29
+ {% else %}
30
+ <i class="fa-regular fa-square" style="position: absolute; left: 0; font-size: 30px; color: #ccc;"></i>
31
+ {% endif %}
32
+ <p style="position: absolute; left: 35px; top: 5px; font-size: 15px; color: #002857; text-align: left; margin: 0px;">
33
+ Telefonica
34
+ </p>
35
+ </div>
36
+ </div>
37
+
38
+ <!-- Opción Virtual -->
39
+ <div class="chequeo-i" style="position: absolute; left: 220px; min-width: 200px;">
40
+ <div style="position: relative;">
41
+ {% if valor4 == "Virtual" %}
42
+ <i class="fa-regular fa-square-check" style="position: absolute; left: 0; font-size: 30px; color: #888;"></i>
43
+ {% else %}
44
+ <i class="fa-regular fa-square" style="position: absolute; left: 0; font-size: 30px; color: #ccc;"></i>
45
+ {% endif %}
46
+ <p style="position: absolute; left: 35px; top: 5px; font-size: 15px; color: #002857; text-align: left; margin: 0px;">
47
+ Virtual
48
+ </p>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </td>
53
+ </tr>
54
+ </table>
@@ -0,0 +1,20 @@
1
+ <table>
2
+ <tr>
3
+ <td class="celda-i" style="width: {{ ancho1 }};">
4
+ <label>{{ label1 }}</label>
5
+ <input type="text" value="{{ valor1 }}">
6
+ </td>
7
+ <td class="celda-c" style="width: {{ ancho2 }};">
8
+ <label>{{ label2 }}</label>
9
+ <input type="text" value="{{ valor2 }}">
10
+ </td>
11
+ <td class="celda-c" style="width: {{ ancho3 }};">
12
+ <label>{{ label3 }}</label>
13
+ <input type="text" value="{{ valor3 }}">
14
+ </td>
15
+ <td class="celda-d" style="width: {{ ancho4 }};">
16
+ <label>{{ label4 }}</label>
17
+ <input type="text" value="{{ valor4 }}">
18
+ </td>
19
+ </tr>
20
+ </table>
@@ -0,0 +1,46 @@
1
+ <table>
2
+ <tr>
3
+ <td class="celda-i" style="width: {{ ancho1 }};">
4
+ <label>{{ label1 }}</label>
5
+ <input type="text" value="{{ valor1 }}">
6
+ </td>
7
+ <td class="celda-c" style="width: {{ ancho2 }};">
8
+ <label>{{ label2 }}</label>
9
+ <input type="text" value="{{ valor2 }}">
10
+ </td>
11
+ <td class="celda-c" style="width: {{ ancho3 }};">
12
+ <label>{{ label3 }}</label>
13
+ <input type="text" value="{{ valor3 }}">
14
+ </td>
15
+ <td class="celda-d" style="width: {{ ancho4 }};">
16
+ <label>{{ label4 }}</label>
17
+ <div style="position: relative; height: 35px;">
18
+ <div class="chequeo-i" style="position: absolute; left: 0; min-width: 200px;">
19
+ <div style="position: relative;">
20
+ {% if valor4 == "True" %}
21
+ <i class="fa-regular fa-square-check" style="position: absolute; left: 0; font-size: 30px; color: #888;"></i>
22
+ {% else %}
23
+ <i class="fa-regular fa-square" style="position: absolute; left: 0; font-size: 30px; color: #ccc;"></i>
24
+ {% endif %}
25
+ <p style="position: absolute; left: 35px; top: 5px; font-size: 15px; color: #002857; text-align: left; margin: 0px;">
26
+ Si
27
+ </p>
28
+ </div>
29
+ </div>
30
+
31
+ <div class="chequeo-i" style="position: absolute; left: 100px; min-width: 200px;">
32
+ <div style="position: relative;">
33
+ {% if valor4 == "False" %}
34
+ <i class="fa-regular fa-square-check" style="position: absolute; left: 0; font-size: 30px; color: #888;"></i>
35
+ {% else %}
36
+ <i class="fa-regular fa-square" style="position: absolute; left: 0; font-size: 30px; color: #ccc;"></i>
37
+ {% endif %}
38
+ <p style="position: absolute; left: 35px; top: 5px; font-size: 15px; color: #002857; text-align: left; margin: 0px;">
39
+ No
40
+ </p>
41
+ </div>
42
+ </div>
43
+ </div>
44
+ </td>
45
+ </tr>
46
+ </table>
@@ -0,0 +1,48 @@
1
+ <table>
2
+ <tr>
3
+ <td class="celda-i" style="width: {{ ancho1 }};">
4
+ <label>{{ label1 }}</label>
5
+ <input type="text" value="{{ valor1 }}">
6
+ </td>
7
+ <td class="celda-c" style="width: {{ ancho2 }};">
8
+ <label>{{ label2 }}</label>
9
+ <input type="text" value="{{ valor2 }}">
10
+ </td>
11
+ <td class="celda-c" style="width: {{ ancho3 }};">
12
+ <label>{{ label3 }}</label>
13
+ <input type="text" value="{{ valor3 }}">
14
+ </td>
15
+ <td class="celda-d" style="width: {{ ancho4 }};">
16
+ <label>{{ label4 }}</label>
17
+ <div style="position: relative; height: 35px;">
18
+ <!-- Opción Urbana -->
19
+ <div class="chequeo-i" style="position: absolute; left: 0; min-width: 200px;">
20
+ <div style="position: relative;">
21
+ {% if valor4 == "Urbana" %}
22
+ <i class="fa-regular fa-square-check" style="position: absolute; left: 0; font-size: 30px; color: #888;"></i>
23
+ {% else %}
24
+ <i class="fa-regular fa-square" style="position: absolute; left: 0; font-size: 30px; color: #ccc;"></i>
25
+ {% endif %}
26
+ <p style="position: absolute; left: 35px; top: 5px; font-size: 15px; color: #002857; text-align: left; margin: 0px;">
27
+ Urbana
28
+ </p>
29
+ </div>
30
+ </div>
31
+
32
+ <!-- Opción Rural -->
33
+ <div class="chequeo-i" style="position: absolute; left: 100px; min-width: 200px;">
34
+ <div style="position: relative;">
35
+ {% if valor4 == "Rural" %}
36
+ <i class="fa-regular fa-square-check" style="position: absolute; left: 0; font-size: 30px; color: #888;"></i>
37
+ {% else %}
38
+ <i class="fa-regular fa-square" style="position: absolute; left: 0; font-size: 30px; color: #ccc;"></i>
39
+ {% endif %}
40
+ <p style="position: absolute; left: 35px; top: 5px; font-size: 15px; color: #002857; text-align: left; margin: 0px;">
41
+ Rural
42
+ </p>
43
+ </div>
44
+ </div>
45
+ </div>
46
+ </td>
47
+ </tr>
48
+ </table>
@@ -0,0 +1,12 @@
1
+ <table>
2
+ <tr>
3
+ <td class="celda-i" style="width: {{ ancho1 }};">
4
+ <label>{{ label1 }}</label>
5
+ <input type="text" value="{{ valor1 }}">
6
+ </td>
7
+ <td class="celda-d" style="width: {{ ancho2 }};">
8
+ <label>{{ label2 }}</label>
9
+ <input type="text" value="{{ valor2 }}">
10
+ </td>
11
+ </tr>
12
+ </table>
@@ -0,0 +1,40 @@
1
+ <table>
2
+ <tr>
3
+ <td class="celda-i" style="width: {{ ancho3 }};">
4
+ <label>{{ label3 }}</label>
5
+ <input type="text" value="{{ valor3 }}">
6
+ </td>
7
+ <td class="celda-c" style="width: {{ ancho4 }};">
8
+ <label>{{ label4 }}</label>
9
+ <div style="position: relative; height: 35px;">
10
+ <!-- Opción Urbana -->
11
+ <div class="chequeo-i" style="position: absolute; left: 0; min-width: 200px;">
12
+ <div style="position: relative;">
13
+ {% if valor4 == "Urbana" %}
14
+ <i class="fa-regular fa-square-check" style="position: absolute; left: 0; font-size: 30px; color: #888;"></i>
15
+ {% else %}
16
+ <i class="fa-regular fa-square" style="position: absolute; left: 0; font-size: 30px; color: #ccc;"></i>
17
+ {% endif %}
18
+ <p style="position: absolute; left: 35px; top: 5px; font-size: 15px; color: #002857; text-align: left; margin: 0px;">
19
+ Urbana
20
+ </p>
21
+ </div>
22
+ </div>
23
+
24
+ <!-- Opción Rural -->
25
+ <div class="chequeo-i" style="position: absolute; left: 100px; min-width: 200px;">
26
+ <div style="position: relative;">
27
+ {% if valor4 == "Rural" %}
28
+ <i class="fa-regular fa-square-check" style="position: absolute; left: 0; font-size: 30px; color: #888;"></i>
29
+ {% else %}
30
+ <i class="fa-regular fa-square" style="position: absolute; left: 0; font-size: 30px; color: #ccc;"></i>
31
+ {% endif %}
32
+ <p style="position: absolute; left: 35px; top: 5px; font-size: 15px; color: #002857; text-align: left; margin: 0px;">
33
+ Rural
34
+ </p>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ </td>
39
+ </tr>
40
+ </table>
@@ -0,0 +1,16 @@
1
+ <!-- templates/components/fila_instructivo.html -->
2
+ <tr>
3
+ <td class="campo-tabla" rowspan="{{ fila.rowspan }}">
4
+ {{ fila.numero }} {{ fila.titulo }}
5
+ </td>
6
+ <td class="info-tabla" style="background-color: #dfdada; border: none; border-radius: 5px;">
7
+ <p>{{ fila.parrafos.0|safe }}</p>
8
+ </td>
9
+ </tr>
10
+ {% for parrafo in fila.parrafos|slice:"1:" %}
11
+ <tr>
12
+ <td class="info-tabla" style="background-color: #dfdada; border: none; border-radius: 5px;">
13
+ <p>{{ parrafo|safe }}</p>
14
+ </td>
15
+ </tr>
16
+ {% endfor %}
@@ -0,0 +1,16 @@
1
+ <table>
2
+ <tr>
3
+ <td class="celda-i" style="width: {{ ancho1 }};">
4
+ <label>{{ label1 }}</label>
5
+ <input type="text" value="{{ valor1 }}">
6
+ </td>
7
+ <td class="celda-c" style="width: {{ ancho2 }};">
8
+ <label>{{ label2 }}</label>
9
+ <input type="text" value="{{ valor2 }}">
10
+ </td>
11
+ <td class="celda-d" style="width: {{ ancho3 }};">
12
+ <label>{{ label3 }}</label>
13
+ <input type="text" value="{{ valor3 }}">
14
+ </td>
15
+ </tr>
16
+ </table>
@@ -0,0 +1,66 @@
1
+ <table>
2
+ <tr>
3
+ <td class="celda-i" style="width: {{ ancho1 }};">
4
+ <label>{{ label1 }}</label>
5
+ <input type="text" value="{{ valor1 }}">
6
+ </td>
7
+ <td class="celda-c" style="width: {{ ancho2 }};">
8
+ <label>{{ label2 }}</label>
9
+ <div style="position: relative; height: 35px;">
10
+ <!-- Opción Urbana -->
11
+ <div class="chequeo-i" style="position: absolute; left: 0; min-width: 200px;">
12
+ <div style="position: relative;">
13
+ {% if valor2 == "1" %}
14
+ <i class="fa-regular fa-square-check" style="position: absolute; left: 0; font-size: 30px; color: #888;"></i>
15
+ {% else %}
16
+ <i class="fa-regular fa-square" style="position: absolute; left: 0; font-size: 30px; color: #ccc;"></i>
17
+ {% endif %}
18
+ <p style="position: absolute; left: 35px; top: 5px; font-size: 15px; color: #002857; text-align: left; margin: 0px;">
19
+ {{check1}}
20
+ </p>
21
+ </div>
22
+ </div>
23
+ <div class="chequeo-i" style="position: absolute; left: {{izquierda2}}; min-width: 200px;">
24
+ <div style="position: relative;">
25
+ {% if valor2 == "2" %}
26
+ <i class="fa-regular fa-square-check" style="position: absolute; left: 0; font-size: 30px; color: #888;"></i>
27
+ {% else %}
28
+ <i class="fa-regular fa-square" style="position: absolute; left: 0; font-size: 30px; color: #ccc;"></i>
29
+ {% endif %}
30
+ <p style="position: absolute; left: 35px; top: 5px; font-size: 15px; color: #002857; text-align: left; margin: 0px;">
31
+ {{check2}}
32
+ </p>
33
+ </div>
34
+ </div>
35
+ <div class="chequeo-i" style="position: absolute; left: {{izquierda3}}; min-width: 200px;">
36
+ <div style="position: relative;">
37
+ {% if valor2 == "3" %}
38
+ <i class="fa-regular fa-square-check" style="position: absolute; left: 0; font-size: 30px; color: #888;"></i>
39
+ {% else %}
40
+ <i class="fa-regular fa-square" style="position: absolute; left: 0; font-size: 30px; color: #ccc;"></i>
41
+ {% endif %}
42
+ <p style="position: absolute; left: 35px; top: 5px; font-size: 15px; color: #002857; text-align: left; margin: 0px;">
43
+ {{check3}}
44
+ </p>
45
+ </div>
46
+ </div>
47
+ <div class="chequeo-i" style="position: absolute; left: {{izquierda4}}; min-width: 200px;">
48
+ <div style="position: relative;">
49
+ {% if valor2 == "4" %}
50
+ <i class="fa-regular fa-square-check" style="position: absolute; left: 0; font-size: 30px; color: #888;"></i>
51
+ {% else %}
52
+ <i class="fa-regular fa-square" style="position: absolute; left: 0; font-size: 30px; color: #ccc;"></i>
53
+ {% endif %}
54
+ <p style="position: absolute; left: 35px; top: 5px; font-size: 15px; color: #002857; text-align: left; margin: 0px;">
55
+ {{check4}}
56
+ </p>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ </td>
61
+ <td class="celda-d" style="width: {{ ancho2 }};">
62
+ <label>{{ label2 }}</label>
63
+ <input type="text" value="{{ valor2 }}">
64
+ </td>
65
+ </tr>
66
+ </table>
@@ -0,0 +1,45 @@
1
+ <table>
2
+ <tr>
3
+ <td class="celda-i" style="width: {{ ancho1 }};">
4
+ <label>{{ label1 }}</label>
5
+ <input type="text" value="{{ valor1 }}">
6
+ </td>
7
+ <td class="celda-c" style="width: {{ ancho2 }};">
8
+ <label>{{ label2 }}</label>
9
+ <input type="text" value="{{ valor2 }}">
10
+ </td>
11
+
12
+ <td class="celda-d" style="width: {{ ancho3 }};">
13
+ <label>{{ label3 }}</label>
14
+ <div style="position: relative; height: 35px;">
15
+ <!-- Opción Urbana -->
16
+ <div class="chequeo-i" style="position: absolute; left: 0; min-width: 200px;">
17
+ <div style="position: relative;">
18
+ {% if valor3 == "Urbana" %}
19
+ <i class="fa-regular fa-square-check" style="position: absolute; left: 0; font-size: 30px; color: #888;"></i>
20
+ {% else %}
21
+ <i class="fa-regular fa-square" style="position: absolute; left: 0; font-size: 30px; color: #ccc;"></i>
22
+ {% endif %}
23
+ <p style="position: absolute; left: 35px; top: 5px; font-size: 15px; color: #002857; text-align: left; margin: 0px;">
24
+ Urbana
25
+ </p>
26
+ </div>
27
+ </div>
28
+
29
+ <!-- Opción Rural -->
30
+ <div class="chequeo-i" style="position: absolute; left: 100px; min-width: 200px;">
31
+ <div style="position: relative;">
32
+ {% if valor4 == "Rural" %}
33
+ <i class="fa-regular fa-square-check" style="position: absolute; left: 0; font-size: 30px; color: #888;"></i>
34
+ {% else %}
35
+ <i class="fa-regular fa-square" style="position: absolute; left: 0; font-size: 30px; color: #ccc;"></i>
36
+ {% endif %}
37
+ <p style="position: absolute; left: 35px; top: 5px; font-size: 15px; color: #002857; text-align: left; margin: 0px;">
38
+ Rural
39
+ </p>
40
+ </div>
41
+ </div>
42
+ </div>
43
+ </td>
44
+ </tr>
45
+ </table>
@@ -0,0 +1,8 @@
1
+ <table>
2
+ <tr>
3
+ <td class="celda-u" style="width: {{ ancho1 }};">
4
+ <label>{{ label1 }}</label>
5
+ <input type="text" value="{{ valor1 }}">
6
+ </td>
7
+ </tr>
8
+ </table>
@@ -0,0 +1,10 @@
1
+ <div style="width: 100%; margin: 40px 0; text-align: center;">
2
+ <div style="width: 300px; margin: 0 auto 20px auto; border-bottom: 2px solid #002857; min-height: 40px;"></div>
3
+ <div>
4
+ <strong>{{ nombre_firma }}</strong>
5
+ <br>
6
+ <span style="font-size: 15px; color: #002857; font-weight: 500;">
7
+ {{ cargo_firma }}
8
+ </span>
9
+ </div>
10
+ </div>
@@ -0,0 +1,32 @@
1
+ <table style="width: 100%; margin-top: 15px;">
2
+ <tr>
3
+ <!-- Firma izquierda -->
4
+ <td style="width: 50%; padding-left: 20px; text-align: left; vertical-align: top;">
5
+ <label style="font-weight: bold; color: #002857; display: block; margin-bottom: 4px;">
6
+ {{label1}}
7
+ </label>
8
+ <input type="text" style="height: {{ alto1 }}; width: {{ancho1}};">
9
+ <label style="color: #002857;">
10
+ <strong>{{ nombrei }}</strong>
11
+
12
+ </label>
13
+ <label style="color: #002857;">
14
+ <strong>{{ documentoi }}</strong>
15
+ </label>
16
+
17
+ </td>
18
+
19
+ <!-- Firma derecha -->
20
+ <td style="width: 50%; padding-left: 20px; text-align: left; vertical-align: top;">
21
+ <label style="font-weight: bold; color: #002857; display: block; margin-bottom: 4px;">
22
+ {{label2}}
23
+ </label>
24
+ <input type="text" style="height: {{ alto2 }}; width: {{ancho2}};">
25
+ <label style="color: #002857;">
26
+ <strong>{{ nombred }}</strong><br>
27
+ <strong>{{ documentod }}</strong><br>
28
+ <strong>{{ tarjetad }}</strong><br>
29
+ </label>
30
+ </td>
31
+ </tr>
32
+ </table>
@@ -0,0 +1,17 @@
1
+ <table>
2
+ <tr>
3
+ <td class="celda-i" style="max-width: 400px;">
4
+ <input type="text" id="nombreCompleto" name="" value="{{nombre_completo}}" style="min-height: 35px;">
5
+ <p
6
+ style=" font-size: 15px; color: #002857; font-weight: 500; text-align: left; margin: 0px 0px 0px 0px">
7
+ Nombre(s) y apellido(s)
8
+ </p>
9
+ </td>
10
+ <td class="celda-i" style="max-width: 400px;">
11
+ <input type="text" id="nombreCompleto" name="" value="" style="min-height: 35px;">
12
+ <p style=" font-size: 15px; color: #002857; text-align: left; margin: 0px 0px 0px 0px">
13
+ Firma
14
+ </p>
15
+ </td>
16
+ </tr>
17
+ </table>