Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 15546 Rev 15624
Línea 361... Línea 361...
361
            },
361
            },
362
            'aoColumns': [
362
            'aoColumns': [
363
                { 'mDataProp': 'first_name' },
363
                { 'mDataProp': 'first_name' },
364
                { 'mDataProp': 'last_name' },
364
                { 'mDataProp': 'last_name' },
365
                { 'mDataProp': 'corporate_email' },
365
                { 'mDataProp': 'corporate_email' },
-
 
366
                { 'mDataProp': 'company' },
366
                { 'mDataProp': 'actions' },
367
                { 'mDataProp': 'actions' },
367
    	    ],
368
    	    ],
368
            'columnDefs': [
369
            'columnDefs': [
369
                {
370
                {
370
                    'targets': -1,
371
                    'targets': -1,
Línea 981... Línea 982...
981
                            <thead>
982
                            <thead>
982
                                <tr>
983
                                <tr>
983
                                    <th>LABEL_FIRST_NAME</th>
984
                                    <th>LABEL_FIRST_NAME</th>
984
                                    <th>LABEL_LAST_NAME</th>
985
                                    <th>LABEL_LAST_NAME</th>
985
                                    <th>LABEL_CORPORATE_EMAIL</th>
986
                                    <th>LABEL_CORPORATE_EMAIL</th>
-
 
987
                                    <th>Company</th>
986
                                    <th>LABEL_ACTIONS</th>
988
                                    <th>LABEL_ACTIONS</th>
987
                                </tr>
989
                                </tr>
988
                            </thead>
990
                            </thead>
989
                            <tbody>
991
                            <tbody>
990
                            </tbody>
992
                            </tbody>
991
                        </table>
993
                        </table>
992
                    </div>
994
                    </div>
993
                    <div class="card-footer clearfix">
995
                    <div class="card-footer clearfix">
994
                        <div style="float:right;">
996
                        <div style="float:right;">
995
                            <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
997
                            <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
996
                      		<?php if($allowUpload) : ?>
998
                            <?php if ($allowUpload) : ?>
997
                          	<button type="button" class="btn btn-primary btn-upload"><i class="fa fa-upload"></i> LABEL_UPLOAD  </button>
999
                                <button type="button" class="btn btn-primary btn-upload"><i class="fa fa-upload"></i> LABEL_UPLOAD </button>
998
                   			<?php endif; ?>
1000
                            <?php endif; ?>
999
                            <?php if ($allowAdd) : ?>
1001
                            <?php if ($allowAdd) : ?>
1000
                            <button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
1002
                                <button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
1001
                            <?php endif; ?>
1003
                            <?php endif; ?>
1002
                        </div>
1004
                        </div>
1003
                    </div>
1005
                    </div>
1004
                </div>
1006
                </div>
1005
            </div>
1007
            </div>
Línea 1450... Línea 1452...
1450
</div>
1452
</div>
Línea 1451... Línea 1453...
1451
 
1453
 
1452
 
1454
 
1453
<!-- The Modal -->
1455
<!-- The Modal -->
1454
<div class="modal" id="modalContactUpload">
1456
<div class="modal" id="modalContactUpload">
Línea 1455... Línea 1457...
1455
	<div class="modal-dialog  modal-xl">
1457
    <div class="modal-dialog  modal-xl">
1456
    	<div class="modal-content">
1458
        <div class="modal-content">
1457
 
1459
 
1458
            <!-- Modal Header -->
1460
            <!-- Modal Header -->
1459
      		<div class="modal-header">
1461
            <div class="modal-header">
Línea 1460... Línea 1462...
1460
        		<h4 class="modal-title">LABEL_UPLOAD</h4>
1462
                <h4 class="modal-title">LABEL_UPLOAD</h4>
1461
        		<button type="button" class="close" data-dismiss="modal">&times;</button>
1463
                <button type="button" class="close" data-dismiss="modal">&times;</button>
1462
      		</div>
1464
            </div>
1463
 
1465
 
1464
            <!-- Modal body -->
1466
            <!-- Modal body -->
1465
      		<div class="modal-body">
1467
            <div class="modal-body">
1466
       			 <?php 
1468
                <?php
1467
       			      $form = $this->contactUploadForm;
1469
                $form = $this->contactUploadForm;
1468
            		$form->setAttributes([
1470
                $form->setAttributes([
1469
                        'method'    => 'post',
1471
                    'method'    => 'post',
1470
                        'name'      => 'form-contact-upload',
1472
                    'name'      => 'form-contact-upload',
1471
                        'id'        => 'form-contact-upload'
1473
                    'id'        => 'form-contact-upload'
1472
                    ]);
1474
                ]);
1473
    
1475
 
1474
                    $form->prepare();
1476
                $form->prepare();
1475
                    echo $this->form()->openTag($form);
1477
                echo $this->form()->openTag($form);
1476
                ?>					
1478
                ?>
1477
 
1479
 
1478
				<div class="form-group">
1480
                <div class="form-group">
1479
                	
1481
 
1480
                		
1482
 
1481
                 		<?php 
1483
                    <?php
1482
                        $element = $form->get('file');
1484
                    $element = $form->get('file');
1483
                        $element->setOptions(['label' => 'LABEL_EXCEL']);
1485
                    $element->setOptions(['label' => 'LABEL_EXCEL']);
1484
                        echo $this->formLabel($element);
1486
                    echo $this->formLabel($element);
1485
                        ?>
1487
                    ?>
1486
                        <div class="file-loading">
1488
                    <div class="file-loading">
1487
                        <?php 
1489
                        <?php
1488
                        $element->setAttributes(['class' => 'form-control', 'accept' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/vnd.ms-excel']);
1490
                        $element->setAttributes(['class' => 'form-control', 'accept' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/vnd.ms-excel']);
Línea 1489... Línea 1491...
1489
                        echo $this->formFile($element);
1491
                        echo $this->formFile($element);
1490
                        ?>
1492
                        ?>
1491
                	</div>
1493
                    </div>
1492
          		</div>
1494
                </div>
1493
 
1495
 
1494
 
1496
 
1495
								
1497
 
Línea 1496... Línea 1498...
1496
        		<div class="form-group">
1498
                <div class="form-group">
1497
                	<button type="submit" class="btn btn-primary">LABEL_UPLOAD</button>
1499
                    <button type="submit" class="btn btn-primary">LABEL_UPLOAD</button>
1498
             		<button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
1500
                    <button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
1499
           		</div>
1501
                </div>
1500
    			<?php echo $this->form()->closeTag($form); ?>
1502
                <?php echo $this->form()->closeTag($form); ?>
1501
      		</div>
1503
            </div>
1502
 
1504
 
1503
            <!-- Modal footer -->
1505
            <!-- Modal footer -->
Línea 1504... Línea 1506...
1504
      		<div class="modal-footer">
1506
            <div class="modal-footer">
1505
        		<button type="button" class="btn btn-danger" data-dismiss="modal">LABEL_CLOSE</button>
1507
                <button type="button" class="btn btn-danger" data-dismiss="modal">LABEL_CLOSE</button>
1506
      		</div>
1508
            </div>
1507
 
1509
 
Línea 1508... Línea 1510...
1508
    	</div>
1510
        </div>
1509
	</div>
1511
    </div>
1510
</div> 
1512
</div>
1511
 
1513
 
1512
 
1514
 
Línea 1513... Línea 1515...
1513
 
1515
 
1514
<!-- The Modal -->
1516
<!-- The Modal -->
1515
<div class="modal" id="modalContactUploadTable">
1517
<div class="modal" id="modalContactUploadTable">
1516
	<div class="modal-dialog modal-xl">
1518
    <div class="modal-dialog modal-xl">
1517
    	<div class="modal-content">
1519
        <div class="modal-content">
1518
 
1520
 
1519
            <!-- Modal Header -->
1521
            <!-- Modal Header -->
1520
      		<div class="modal-header">
1522
            <div class="modal-header">
1521
        		<h4 class="modal-title">LABEL_CONTACTS</h4>
1523
                <h4 class="modal-title">LABEL_CONTACTS</h4>
1522
        		<button type="button" class="close" data-dismiss="modal">&times;</button>
1524
                <button type="button" class="close" data-dismiss="modal">&times;</button>
1523
      		</div>
1525
            </div>
1524
 
1526
 
1525
            <!-- Modal body -->
1527
            <!-- Modal body -->
1526
      		<div class="modal-body">
1528
            <div class="modal-body">
1527
      			<form>
1529
                <form>
1528
      				<input type="hidden" name="table-upload-contacts-key" id="table-upload-contacts-key">
1530
                    <input type="hidden" name="table-upload-contacts-key" id="table-upload-contacts-key">
1529
      			</form>
1531
                </form>
1530
      			
1532
 
1531
      			
1533
 
1532
      			
1534
 
1533
      			<div id="table-wrapper"> 
1535
                <div id="table-wrapper">
Línea 1548... Línea 1550...
1548
                                <th>LABEL_PERSONAL_EMAIL</th>
1550
                                <th>LABEL_PERSONAL_EMAIL</th>
1549
                                <th>LABEL_CELULAR</th>
1551
                                <th>LABEL_CELULAR</th>
1550
                                <th>LABEL_WHATSAPP</th>
1552
                                <th>LABEL_WHATSAPP</th>
1551
                                <th>LABEL_LINKEDIN</th>
1553
                                <th>LABEL_LINKEDIN</th>
Línea 1552... Línea 1554...
1552
 
1554
 
1553
                 			</tr>
1555
                            </tr>
1554
                      	</thead>
1556
                        </thead>
1555
                   		<tbody>
1557
                        <tbody>
1556
                   		</tbody>
1558
                        </tbody>
1557
             		</table>
1559
                    </table>
1558
         		</div>
1560
                </div>
1559
       			
1561
 
Línea 1560... Línea 1562...
1560
      		</div>
1562
            </div>
1561
 
1563
 
1562
            <!-- Modal footer -->
1564
            <!-- Modal footer -->
1563
      		<div class="modal-footer">
1565
            <div class="modal-footer">
1564
      			<button type="submit" class="btn btn-primary btn-upload-contacts-step2">LABEL_SAVE</button>
1566
                <button type="submit" class="btn btn-primary btn-upload-contacts-step2">LABEL_SAVE</button>
1565
        		<button type="button" class="btn btn-danger" data-dismiss="modal">LABEL_CLOSE</button>
1567
                <button type="button" class="btn btn-danger" data-dismiss="modal">LABEL_CLOSE</button>
1566
      		</div>
1568
            </div>
1567
 
1569
 
1568
    	</div>
1570
        </div>
Línea 1569... Línea 1571...
1569
	</div>
1571
    </div>
1570
</div> 
1572
</div>
1571
 
1573