Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 770 Rev 771
Línea 985... Línea 985...
985
        
985
        
986
        $("#image-box").modal('hide');
986
        $("#image-box").modal('hide');
987
        return false;
987
        return false;
Línea 988... Línea 988...
988
    });
988
    });
989
 
989
 
990
    $('.btn-header-image-open').on("click", function(e){
990
    $('.btn-header-open').on("click", function(e){
991
        e.preventDefault();
991
        e.preventDefault();
992
        $('#form-header-image #image').fileinput('reset');
992
        $('#form-header #header').fileinput('reset');
993
        $('#form-header-image #image').val('');
993
        $('#form-header #header').val('');
994
        validatorImage.resetForm();
994
        validatorImage.resetForm();
995
        $("#image-header-box").modal('show');
995
        $("#image-header-box").modal('show');
Línea 996... Línea 996...
996
        return false;
996
        return false;
997
    });
997
    });
998
 
-
 
999
    $('.btn-header-image-close').on("click", function(e){
998
 
1000
        e.preventDefault();
999
    $('.btn-header-close').on("click", function(e){
1001
        
1000
        e.preventDefault();
Línea 1002... Línea 1001...
1002
        $("#image-header-box").modal('hide');
1001
        $("#image-header-box").modal('hide');
1003
        return false;
1002
        return false;
1004
    });
1003
    });
1005
 
1004
 
1006
 
1005
 
1007
    $('.btn-header-image-open').on("click", function(e){
1006
    $('.btn-footer-open').on("click", function(e){
1008
        e.preventDefault();
1007
        e.preventDefault();
1009
        $('#form-header-image #image').fileinput('reset');
1008
        $('#form-footer #footer').fileinput('reset');
Línea 1010... Línea 1009...
1010
        $('#form-header-image #image').val('');
1009
        $('#form-footer #footer').val('');
1011
        validatorImage.resetForm();
1010
        validatorImage.resetForm();
1012
        $("#image-box").modal('show');
1011
        $("#image-footer-box").modal('show');
1013
        return false;
1012
        return false;
1014
    });
1013
    });
Línea 1330... Línea 1329...
1330
         </div>
1329
         </div>
1331
         <!--user-profile-ov end-->
1330
         <!--user-profile-ov end-->
1332
         <!--user-profile-ov end-->
1331
         <!--user-profile-ov end-->
1333
         <div class="user-profile-ov">
1332
         <div class="user-profile-ov">
1334
            <img
1333
            <img
1335
               id="user-cover-img"
1334
               id="user-header-img"
1336
               style="width: 100%;"
1335
               style="width: 100%;"
1337
               src="<?php echo $this->url('storage', ['type' => 'company-cover', 'code' => $currentCompany->uuid, 'filename' => $cover]) ?>"
1336
               src="<?php echo $this->url('storage', ['type' => 'company-header', 'code' => $currentCompany->uuid, 'filename' => $cover]) ?>"
1338
               alt="">
1337
               alt="">
1339
            <div class="add-pic-box change-cover-image">
1338
            <div class="add-pic-box change-header-image">
1340
               <div class="container">
1339
               <div class="container">
1341
                  <div class="row no-gutters">
1340
                  <div class="row no-gutters">
1342
                     <div class="col-lg-12 col-sm-12">
1341
                     <div class="col-lg-12 col-sm-12">
1343
                        <a href="#" class="btn-cover-open">
1342
                        <a href="#" class="btn-header-open">
1344
                        <i	class="fa fa-camera"></i>
1343
                        <i	class="fa fa-camera"></i>
1345
                        </a>
1344
                        </a>
1346
                     </div>
1345
                     </div>
1347
                  </div>
1346
                  </div>
1348
               </div>
1347
               </div>
Línea 1350... Línea 1349...
1350
         </div>
1349
         </div>
1351
         <!--user-profile-ov end-->
1350
         <!--user-profile-ov end-->
1352
         <!--user-profile-ov end-->
1351
         <!--user-profile-ov end-->
1353
         <div class="user-profile-ov">
1352
         <div class="user-profile-ov">
1354
            <img
1353
            <img
1355
               id="user-cover-img"
1354
               id="user-footer-img"
1356
               style="width: 100%;"
1355
               style="width: 100%;"
1357
               src="<?php echo $this->url('storage', ['type' => 'company-cover', 'code' => $currentCompany->uuid, 'filename' => $cover]) ?>"
1356
               src="<?php echo $this->url('storage', ['type' => 'company-footer', 'code' => $currentCompany->uuid, 'filename' => $cover]) ?>"
1358
               alt="">
1357
               alt="">
1359
            <div class="add-pic-box change-cover-image">
1358
            <div class="add-pic-box change-footer-image">
1360
               <div class="container">
1359
               <div class="container">
1361
                  <div class="row no-gutters">
1360
                  <div class="row no-gutters">
1362
                     <div class="col-lg-12 col-sm-12">
1361
                     <div class="col-lg-12 col-sm-12">
1363
                        <a href="#" class="btn-cover-open">
1362
                        <a href="#" class="btn-footer-open">
1364
                        <i	class="fa fa-camera"></i>
1363
                        <i	class="fa fa-camera"></i>
1365
                        </a>
1364
                        </a>
1366
                     </div>
1365
                     </div>
1367
                  </div>
1366
                  </div>
1368
               </div>
1367
               </div>
Línea 1748... Línea 1747...
1748
               </div>
1747
               </div>
1749
            </div>
1748
            </div>
1750
         </div>
1749
         </div>
1751
         <div class="modal-footer">
1750
         <div class="modal-footer">
1752
            <button type="submit" class="btn btn-primary">LABEL_UPLOAD</button>
1751
            <button type="submit" class="btn btn-primary">LABEL_UPLOAD</button>
1753
            <button type="button" class="btn btn-default btn-header-image-close">LABEL_CANCEL</button>
1752
            <button type="button" class="btn btn-default btn-header-close">LABEL_CANCEL</button>
1754
         </div>
1753
         </div>
1755
         <?php echo $this->form()->closeTag($form); ?>	
1754
         <?php echo $this->form()->closeTag($form); ?>	
1756
      </div>
1755
      </div>
1757
   </div>
1756
   </div>
1758
</div>
1757
</div>
Línea 1787... Línea 1786...
1787
               </div>
1786
               </div>
1788
            </div>
1787
            </div>
1789
         </div>
1788
         </div>
1790
         <div class="modal-footer">
1789
         <div class="modal-footer">
1791
            <button type="submit" class="btn btn-primary">LABEL_UPLOAD</button>
1790
            <button type="submit" class="btn btn-primary">LABEL_UPLOAD</button>
1792
            <button type="button" class="btn btn-default btn-footer-footer-close">LABEL_CANCEL</button>
1791
            <button type="button" class="btn btn-default btn-footer-close">LABEL_CANCEL</button>
1793
         </div>
1792
         </div>
1794
         <?php echo $this->form()->closeTag($form); ?>	
1793
         <?php echo $this->form()->closeTag($form); ?>	
1795
      </div>
1794
      </div>
1796
   </div>
1795
   </div>
1797
</div>
1796
</div>