Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 1484 | Rev 1486 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1484 Rev 1485
Línea 145... Línea 145...
145
                            NProgress.done();
145
                            NProgress.done();
146
                        });
146
                        });
147
                    },
147
                    },
148
                });
148
                });
Línea 149... Línea 149...
149
 
149
 
150
 /*               $('#form-add #file').fileinput({
150
                $('#form-add #file').fileinput({
151
                    theme: 'fas',
151
                    theme: 'fas',
152
                    language: 'es',
152
                    language: 'es',
153
                    showUpload: false,
153
                    showUpload: false,
154
                    dropZoneEnabled: false,
154
                    dropZoneEnabled: false,
155
                    maxFileCount: 1,
155
                    maxFileCount: 1,
156
                    allowedFileExtensions: ['pdf', 'docx'],
-
 
157
                    msgPlaceholder: 'LABEL_RECOMMENDED_SIZE $image_size',
156
                    allowedFileExtensions: ['pdf', 'docx'],
Línea 158... Línea 157...
158
                });
157
                });
159
 
158
 
Línea 167... Línea 166...
167
                     $('#form-add #file').fileinput('reset');
166
                     $('#form-add #file').fileinput('reset');
168
                     validatorAdd.resetForm();
167
                     validatorAdd.resetForm();
Línea 169... Línea 168...
169
 
168
 
170
                     $('#add-job-box').modal('show');
169
                     $('#add-job-box').modal('show');
171
                     return false;
170
                     return false;
-
 
171
                    });
-
 
172
 
-
 
173
                    $(".close-box, .btn-add-job-cancel").on("click", function(e){
-
 
174
                         e.preventDefault();
-
 
175
                         $('#add-job-box').modal('hide');
-
 
176
                         return false;
Línea 172... Línea 177...
172
                    });*/
177
                    });
173
 
178
 
174
            },
179
            },
175
            'aoColumns': [
180
            'aoColumns': [
Línea 288... Línea 293...
288
          		</div>
293
          		</div>
289
           	</div>     
294
           	</div>     
290
        </div>          
295
        </div>          
291
 	</div>
296
 	</div>
292
</section> 
297
</section> 
-
 
298
<div class="modal" tabindex="-1" role="dialog" id="add-job-box">
-
 
299
	<div class="modal-dialog" role="document">
-
 
300
		<?php 
-
 
301
	    $form = $this->formAdd;
-
 
302
	    $form->setAttributes([
-
 
303
	       'method'    => 'post',
-
 
304
	        'name'      => 'form-add',
-
 
305
	        'id'        => 'form-add'
-
 
306
	    ]);  
-
 
307
	    $form->prepare();
-
 
308
	    echo $this->form()->openTag($form);
-
 
309
	    
-
 
310
	    ?>
-
 
311
    	<div class="modal-content">
-
 
312
      		<div class="modal-header">
-
 
313
        		<h3 class="modal-title">LABEL_NEW_CANDIDATE</h3>
-
 
314
      		</div>
-
 
315
      		<div class="modal-body">
-
 
316
      			<div class="form-group">
-
 
317
    				<?php 
-
 
318
                        $element = $form->get('first_name');
-
 
319
                        $element->setOptions(['label' => 'LABEL_FIRST_NAME']);
-
 
320
                        $element->setAttributes(['class' => 'form-control']); 
-
 
321
                        echo $this->formLabel($element);
-
 
322
                        echo $this->formText($element);
-
 
323
                    ?>
-
 
324
				</div>
-
 
325
				<div class="form-group">
-
 
326
    				<?php 
-
 
327
                        $element = $form->get('last_name');
-
 
328
                        $element->setOptions(['label' => 'LABEL_LAST_NAME']);
-
 
329
                        $element->setAttributes(['class' => 'form-control']); 
-
 
330
                        echo $this->formLabel($element);
-
 
331
                        echo $this->formText($element);
-
 
332
                    ?>
-
 
333
				</div>
-
 
334
      			<div class="form-group">
-
 
335
    				<?php 
-
 
336
                        $element = $form->get('email');
-
 
337
                        $element->setOptions(['label' => 'LABEL_EMAIL']);
-
 
338
                        $element->setAttributes(['class' => 'form-control']); 
-
 
339
                        echo $this->formLabel($element);
-
 
340
                        echo $this->formText($element);
-
 
341
                    ?>
-
 
342
				</div>
-
 
343
				
-
 
344
				<div class="form-group">
-
 
345
    				<?php 
-
 
346
                    $element = $form->get('file');
-
 
347
                        
-
 
348
                    $element->setAttributes(['class' => 'form-control',  'accept' => 'pdf/docx']);
-
 
349
                    $element->setOptions(['label' => 'LABEL_CURRICULUM']);
-
 
350
                    echo $this->formLabel($element);
-
 
351
                    ?>
-
 
352
                    <div class="file-loading">
-
 
353
                    	<?php echo $this->formFile($element); ?>
-
 
354
				</div>
-
 
355
          	</div>          	
-
 
356
         	<div class="modal-footer">
-
 
357
    			<button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
358
    			<button type="button" class="btn btn-default btn-add-cancel">LABEL_CANCEL</button>
-
 
359
          	</div>
-
 
360
      	<?php echo $this->form()->closeTag($form); ?>	
-
 
361
    	</div>
-
 
362
	</div>
-
 
363
</div>