Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 4386 Rev 4389
Línea 35... Línea 35...
35
`;
35
`;
Línea 36... Línea 36...
36
 
36
 
37
const StyledShowOptions = styled.div`
37
const StyledShowOptions = styled.div`
38
  height: 342px;
38
  height: 342px;
-
 
39
  flex-direction: column;
39
  flex-direction: column;
40
  gap: 0.5rem;	
40
  overflow-y: auto;
41
  overflow-y: auto;
41
  position: relative;
42
  position: relative;
42
  &.show {
43
  &.show {
43
    display: flex;
44
    display: flex;
Línea 75... Línea 76...
75
  }
76
  }
76
`;
77
`;
Línea 77... Línea 78...
77
 
78
 
Línea 78... Línea -...
78
const PersonalChat = ({ entity, onClose, onMinimize, onRead, not_seen_messages, minimized, timezones }) => {
-
 
79
 
79
const PersonalChat = ({ entity, onClose, onMinimize, onRead, not_seen_messages, minimized, timezones }) => {
80
  // entity destructuring
80
 
81
  const {
81
  const {
82
    id,
82
    id,
83
    image,
83
    image,
Línea 579... Línea 579...
579
      </div>
579
      </div>
580
    </React.Fragment>
580
    </React.Fragment>
581
  );
581
  );
Línea 582... Línea 582...
582
 
582
 
583
  const groupContactsListTab = (
583
  const groupContactsListTab = (
584
    <React.Fragment>
584
    <>
585
      <span className="optionBack" onClick={() => handleChangeTab(optionTabs.default)}>
585
      <span className="optionBack" onClick={() => handleChangeTab(optionTabs.default)}>
586
        <i className="fa icon-arrow-left" />
586
        <i className="fa icon-arrow-left" />
587
      </span>
587
      </span>
588
      <div className='contact__search show'>
588
      <div className='group__search show'>
589
        <SearchIcon />
589
        <SearchIcon />
590
        <input
590
        <input
591
          type='text'
591
          type='text'
592
          placeholder='Buscar'
592
          placeholder='Buscar'
593
          onChange={(e) => setSearch(e.target.value)}
593
          onChange={(e) => setSearch(e.target.value)}
594
        />
594
        />
595
      </div>
595
      </div>
596
      <div className="addPersonToGroupTab">
596
      <div className="addPersonToGroupTab">
597
        {filtredGroupList.length ? (
597
        {filtredGroupList.length
598
          filtredGroupList.map(
598
          ? filtredGroupList.map(({ image, name, url_remove_from_group, id }) => {
599
            ({ image, name, url_remove_from_group, id }) => (
599
            return (
600
              <div className="addPersonToGroupTab__person" key={id}>
600
              <div className="addPersonToGroupTab__person" key={id}>
601
                <div style={{ display: "flex", alignItems: "center" }}>
601
                <div style={{ display: "flex", alignItems: "center" }}>
602
                  <img
602
                  <img
603
                    className="chat-image img-circle pull-left"
603
                    className="chat-image img-circle pull-left"
Línea 606... Línea 606...
606
                    src={image}
606
                    src={image}
607
                    alt="image-image"
607
                    alt="image-image"
608
                  />
608
                  />
609
                  <div className="name">{name}</div>
609
                  <div className="name">{name}</div>
610
                </div>
610
                </div>
611
                {url_remove_from_group && (
611
                {url_remove_from_group &&
612
                  <span
-
 
613
                    style={{
-
 
614
                      cursor: "pointer",
-
 
615
                    }}
-
 
616
                    onClick={() => {
-
 
617
                      handleDeletePersonFromGroup(url_remove_from_group);
612
                  <span className="cursor-pointer" onClick={() => handleDeletePersonFromGroup(url_remove_from_group)}>
618
                    }}
-
 
619
                  >
-
 
620
                    <i className="fa fa-user-times"></i>
613
                    <i className="fa fa-user-times" />
621
                  </span>
614
                  </span>
622
                )}
615
                }
623
              </div>
616
              </div>
624
            )
617
            )
625
          )
618
          })
626
        ) : (
-
 
627
          <div className="addPersonToGroupTab__person">No hay Contactos</div>
619
          : <div className="addPersonToGroupTab__person">No hay Contactos</div>
628
        )}
620
        }
629
      </div>
621
      </div>
630
    </React.Fragment>
622
    </>
631
  );
623
  );
Línea 632... Línea 624...
632
 
624
 
633
  const shareFileModal = (
625
  const shareFileModal = (
634
    <SendFileModal
626
    <SendFileModal