Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 5026 Rev 5052
Línea 620... Línea 620...
620
        }
620
        }
621
      </div>
621
      </div>
622
    </>
622
    </>
623
  );
623
  );
Línea 624... Línea -...
624
 
-
 
625
  const shareFileModal = (
-
 
626
    <SendFileModal
-
 
627
      show={shareFileModalShow}
-
 
628
      onHide={() => {
-
 
629
        setShareFileModalShow(false);
-
 
630
      }}
-
 
631
      urlUpload={url_upload}
-
 
632
    />
-
 
633
  );
-
 
634
 
624
 
635
  const userChat = (
625
  const userChat = (
636
    <>
626
    <>
637
      <div className="chatbox active-chat" style={{ display: 'block' }}>
627
      <div className="chatbox active-chat" style={{ display: 'block' }}>
638
        <div className="chatbox-icon">
628
        <div className="chatbox-icon">
Línea 795... Línea 785...
795
              </div>
785
              </div>
796
            </div>
786
            </div>
797
          </div>
787
          </div>
798
        </div>
788
        </div>
799
      </div>
789
      </div>
800
      {shareFileModal}
790
      <SendFileModal
-
 
791
        show={shareFileModalShow}
-
 
792
        onHide={() => setShareFileModalShow(false)}
-
 
793
        urlUpload={url_upload}
-
 
794
      />
801
      <ConferenceModal
795
      <ConferenceModal
802
        show={showConferenceModal}
796
        show={showConferenceModal}
803
        timezones={timezones}
797
        timezones={timezones}
804
        zoomUrl={url_zoom}
798
        zoomUrl={url_zoom}
805
        onCreate={() => {
799
        onCreate={() => {
Línea 980... Línea 974...
980
        onCreate={() => {
974
        onCreate={() => {
981
          handleShowOptions()
975
          handleShowOptions()
982
          displayConferenceModal()
976
          displayConferenceModal()
983
        }}
977
        }}
984
      />
978
      />
985
      {shareFileModal}
979
      <SendFileModal
-
 
980
        show={shareFileModalShow}
-
 
981
        onHide={() => setShareFileModalShow(false)}
-
 
982
        urlUpload={url_upload}
-
 
983
      />
986
    </React.Fragment>
984
    </React.Fragment>
987
  );
985
  );
Línea 988... Línea 986...
988
 
986
 
989
  switch (type) {
987
  switch (type) {
Línea 1088... Línea 1086...
1088
      return dispatch(addNotification({ msg: 'Ha ocurrido un error', style: 'danger' }))
1086
      return dispatch(addNotification({ msg: 'Ha ocurrido un error', style: 'danger' }))
1089
    }
1087
    }
1090
  }
1088
  }
Línea 1091... Línea 1089...
1091
 
1089
 
1092
  return (
-
 
1093
    <StyleModal
1090
  return (
1094
      title='Crea una conferencia'
-
 
1095
      show={show}
-
 
1096
    >
1091
    <StyleModal title='Crea una conferencia' show={show}>
1097
      <form onSubmit={handleSubmit(onSubmit)} autoComplete="new-password">
1092
      <form onSubmit={handleSubmit(onSubmit)} autoComplete="new-password">
1098
        <div className="form-group">
1093
        <div className="form-group">
1099
          <label htmlFor="first_name">Título</label>
1094
          <label htmlFor="first_name">Título</label>
1100
          <input
1095
          <input
1101
            type="text"
1096
            type="text"
1102
            name="title"
1097
            name="title"
1103
            className="form-control"
1098
            className="form-control"
1104
            maxLength={128}
1099
            maxLength={128}
1105
            ref={register({ required: "Por favor ingrese un título" })}
1100
            ref={register({ required: "Por favor ingrese un título" })}
1106
          />
1101
          />
1107
          {errors.title && <FormErrorFeedback> {errors.title.message}</FormErrorFeedback>}
1102
          {errors.title && <FormErrorFeedback>{errors.title.message}</FormErrorFeedback>}
1108
        </div>
1103
        </div>
1109
        <div className="form-group">
1104
        <div className="form-group">
1110
          <label htmlFor="first_name">Descripción</label>
1105
          <label htmlFor="first_name">Descripción</label>
1111
          <input
1106
          <input
1112
            type="text"
1107
            type="text"
1113
            name="description"
1108
            name="description"
1114
            className="form-control"
1109
            className="form-control"
1115
            ref={register({ required: "Por favor ingrese una descripción" })}
1110
            ref={register({ required: "Por favor ingrese una descripción" })}
1116
          />
1111
          />
1117
          {errors.description && <FormErrorFeedback> {errors.description.message}</FormErrorFeedback>}
1112
          {errors.description && <FormErrorFeedback>{errors.description.message}</FormErrorFeedback>}
1118
        </div>
1113
        </div>
1119
        <div className="form-group">
1114
        <div className="form-group">
1120
          <label htmlFor="timezone">Tipo de conferencia</label>
1115
          <label htmlFor="timezone">Tipo de conferencia</label>
1121
          <select
1116
          <select
Línea 1194... Línea 1189...
1194
            ref={register({
1189
            ref={register({
1195
              required: "Por favor ingrese una contraseña",
1190
              required: "Por favor ingrese una contraseña",
1196
              maxLength: { value: 6, message: "La contraseña debe tener al menos 6 digitos" }
1191
              maxLength: { value: 6, message: "La contraseña debe tener al menos 6 digitos" }
1197
            })}
1192
            })}
1198
          />
1193
          />
1199
          {errors.password && <FormErrorFeedback> {errors.password.message}</FormErrorFeedback>}
1194
          {errors.password && <FormErrorFeedback>{errors.password.message}</FormErrorFeedback>}
1200
        </div>
1195
        </div>
1201
        <button
-
 
1202
          className="btn btn-primary"
1196
        <button className="btn btn-primary" type="submit">
1203
          type="submit"
-
 
1204
        >
-
 
1205
          Crear
1197
          Crear
1206
        </button>
1198
        </button>
1207
      </form>
1199
      </form>
1208
    </StyleModal >
1200
    </StyleModal >
1209
  )
1201
  )