-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathformato movilidad laboral 2.html
217 lines (185 loc) · 6.98 KB
/
formato movilidad laboral 2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
<html>
<head>
<link href="css/styles.css" rel="stylesheet" />
<link rel="icon" type="image/x-icon" href="images/favicon.ico">
<title>Generador UCOM</title>
<style>
.contenedor1 {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.caja {
background: #fdfdfd;
display: flex;
flex-direction: column;
padding: 25px;
border-radius: 25px;
width: 670px;
margin: 10px;
}
.caja2 {
background: #57c0e5;
display: flex;
flex-direction: column;
border-radius: 40px;
width: fit-content;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 20px;
padding-right: 20px;
margin-top: 15px;
}
.textoregular {
font-family: "Museo Sans 300";
font-size: 24px;
color: #5f7391;
}
.textobold {
font-family: "Museo Sans 700";
font-size: 24px;
color: #5f7391;
}
.programa {
font-family: "Poppins SemiBold";
font-size: 27pt;
line-height: 60px;
color: #57c0e5;
}
#hashtag {
font-family: "Poppins SemiBold";
font-size: 22pt;
color: #ffffff;
}
</style>
</head>
<body>
<div>
<a class="a" href="" style="font-family: Museo Sans Cyrl W03 900; font-size: 60pt;">Descargar</a>
</div>
<div id="portada" style="height: 1350px; width: 1080px; background-color: #eaf4ff ;">
<div class="contenedor1" style="height: 1350px; width: 1080px;">
<text class="programa">Requisitos:</text>
<div class="caja">
<center>
<table style="min-width: fit-content;">
<tr id="r1"><td><text class="textoregular">✅ <span id="requisito1"></span></text></td></tr>
<tr id="r2"><td><text class="textoregular">✅ <span id="requisito2"></span></text></td></tr>
<tr id="r3"><td><text class="textoregular">✅ <span id="requisito3"></span></text></td></tr>
<tr id="r4"><td><text class="textoregular">✅ <span id="requisito4"></span></text></td></tr>
<tr id="r5"><td><text class="textoregular">✅ <span id="requisito5"></span></text></td></tr>
<tr id="r6"><td><text class="textoregular">✅ <span id="requisito6"></span></text></td></tr>
<tr id="r8"><td><text class="textoregular">✅ <span id="requisito8"></span></text></td></tr>
<tr id="r7"><td><text class="textobold">✅ <span id="requisito7"></span></text></td></tr>
</table>
</center>
</div>
<text class="programa">Si cumples con los requisitos:</text>
<div class="caja">
<center>
<text class="textoregular">Puedes presentarte a una entrevista con cartas <br>de referencias de trabajos anteriores.</text>
<br><br><text class="textoregular">🗓️ <span class="textobold">Fecha: </span><span id="fecha" class="textoregular"></span></text>
<br><text class="textoregular">⏰ <span class="textobold">Hora: </span><span id="hora" class="textoregular"></span></text>
<br><br><text class="textoregular">📍 <span class="textobold">Dirección:</span> Ministerio de Relaciones Exteriores,
<br>Bulevar Cancillería, calle El Pedregal, Antiguo Cuscatlán,
<br>La Libertad (Dirección de Diáspora y Desarrollo,
<br>Departamento de Programas de Movilidad Laboral).</text>
</center></div>
<div class="caja">
<text class="textoregular" style="text-align: center;">Si estás interesado, pero tienes dificultades para presentarte,
<br>escríbenos al <span class="textobold"> WhatsApp 7070-1243</span>, usando el hashtag</text>
<center>
<div class="caja2">
<text id="hashtag" class="textoregular"> Jardineros</text>
</div></center>
</div>
<br>
<text class="textoregular" style="text-align: center;"><span class="textobold"> Nota: </span> si tu perfil encaja con lo solicitado por la empresa
<br>empleadora, te contactaremos para una segunda entrevista.</text>
<br>
</div>
</div>
<script>
const requisito1 = localStorage.getItem('requisito1');
const requisito2 = localStorage.getItem('requisito2');
const requisito3 = localStorage.getItem('requisito3');
const requisito4 = localStorage.getItem('requisito4');
const requisito5 = localStorage.getItem('requisito5');
const requisito6 = localStorage.getItem('requisito6');
const requisito7 = localStorage.getItem('requisito7');
const requisito8 = localStorage.getItem('requisito8');
const fecha = localStorage.getItem('fecha');
document.getElementById('fecha').textContent = fecha;
const hora = localStorage.getItem('hora');
document.getElementById('hora').textContent = hora;
const hashtag = localStorage.getItem('hashtag');
document.getElementById('hashtag').textContent = hashtag;
if (!requisito1) {
document.getElementById('r1').style.display = 'none';
}
else {
document.getElementById('requisito1').innerText = requisito1;
}
if (!requisito2) {
document.getElementById('r2').style.display = 'none';
}
else {
document.getElementById('requisito2').innerText = requisito2;
}
if (!requisito3) {
document.getElementById('r3').style.display = 'none';
}
else {
document.getElementById('requisito3').innerText = requisito3;
}
if (!requisito4) {
document.getElementById('r4').style.display = 'none';
}
else {
document.getElementById('requisito4').innerText = requisito4;
}
if (!requisito4) {
document.getElementById('r4').style.display = 'none';
}
else {
document.getElementById('requisito4').innerText = requisito4;
}
if (!requisito5) {
document.getElementById('r5').style.display = 'none';
}
else {
document.getElementById('requisito5').innerText = requisito5;
}
if (!requisito6) {
document.getElementById('r6').style.display = 'none';
}
else {
document.getElementById('requisito6').innerText = requisito6;
}
if (!requisito7) {
document.getElementById('r7').style.display = 'none';
}
else {
document.getElementById('requisito7').innerText = requisito7;
}
if (!requisito8) {
document.getElementById('r8').style.display = 'none';
}
else {
document.getElementById('requisito8').innerText = requisito8;
}
</script>
<br/>
<script src="html2canvas/html2canvas.js"></script>
<script>
html2canvas(document.querySelector("#portada")).then(function(canvas) {
document.body.appendChild(canvas);
let cvs = document.querySelector("canvas");
let a = document.querySelector('a');
a.href = cvs.toDataURL();
a.download="movilidadlaboral2.png"
});
</script>
</body>
</html>