- Fecha y hora:
- 15/05/2017 05:12:45 (hace 7 años)
- Branches:
- master, base, constituyente, estudiantes, general, plan_patria, sala
- Children:
- 218d0ba
- Parents:
- a805aa6 (diferencia), a459423 (diferencia)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Ubicación:
- static
- Ficheros:
-
- 2 editados
Leyenda
- No modificado
- Añadido
- Eliminado
-
static/css/style.css
r0ff122b r3ba7a9f 191 191 width: 250px; 192 192 } 193 194 /* 195 .row { 196 border: ridge 1px red; 197 } 198 199 .col-xs-8 { 200 border: ridge 1px green; 201 } 202 203 .col-xs-4 { 204 border: ridge 1px blue; 205 } 206 207 .col-xs-12 { 208 border: ridge 1px yellow; 209 } 210 211 .col-md-4 { 212 border: ridge 1px blue; 213 } 214 */ 215 216 #id_captcha_1 { 217 color: gray; 218 } 219 220 .separator_link { 221 color: gray; 222 } -
static/js/funciones.js
r65c38e4 r4a10874 587 587 var text_area = $(value).parent().parent().find('textarea'); 588 588 not_empty = $(text_area).val().trim() !== '' ? 1:0; 589 not_empty = $(text_area).val().length >= 500 && $(text_area).val().length <= 2000 ? 1:0; 590 if ($(text_area).val().length < 500 || $(text_area).val().length >2000) { 591 bootbox.alert("La longitud de la respuesta debe estar entre 500 y 2000 cáracteres"); 592 } 589 593 } 590 594 } … … 596 600 if (name.search('abierta')!==-1) { 597 601 not_empty = $(value).val().trim() !== '' ? 1:not_empty; 602 not_empty = $(value).val().length >= 500 && $(value).val().length <= 2000 ? 1:0; 603 if ($(value).val().length < 500 || $(value).val().length >2000) { 604 bootbox.alert("La longitud de la respuesta debe estar entre 500 y 2000 cáracteres"); 605 } 598 606 } 599 607 });
Nota: Vea TracChangeset
para ayuda en el uso del visor de conjuntos de cambios.