Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 14843 Rev 15079
Línea 5... Línea 5...
5
import { useDispatch } from 'react-redux'
5
import { useDispatch } from 'react-redux'
6
import { useHistory, useParams } from 'react-router-dom'
6
import { useHistory, useParams } from 'react-router-dom'
7
import { addNotification } from '../../../redux/notification/notification.actions'
7
import { addNotification } from '../../../redux/notification/notification.actions'
Línea 8... Línea 8...
8
 
8
 
9
const pointsOptions = [
9
const pointsOptions = [
10
	{ label: 'Sugerir otro cargo', value: 0 },
10
	{ label: 'N/A', value: 0 },
11
	{ label: '25%', value: 1 },
11
	{ label: '25%', value: 1 },
12
	{ label: '50%', value: 2 },
12
	{ label: '50%', value: 2 },
13
	{ label: '75%', value: 3 },
13
	{ label: '75%', value: 3 },
14
	{ label: '100%', value: 4 }
14
	{ label: '100%', value: 4 }
Línea 196... Línea 196...
196
											}
196
											}
197
										</div>
197
										</div>
198
										<div className="tab-pane fade" id="contact" role="tabpanel" aria-labelledby="contact-tab">
198
										<div className="tab-pane fade" id="contact" role="tabpanel" aria-labelledby="contact-tab">
199
											<div className="form-group">
199
											<div className="form-group">
200
												<label>Comentario</label>
200
												<label>Comentario</label>
201
												<input type="text" name="comment" className="form-control" ref={register} />
201
												<textarea type="text" name="comment" className="form-control" rows="5" cols="50" ref={register} />
202
											</div>
202
											</div>
203
											<div className="form-group">
203
											<div className="form-group">
204
												<label>Evaluación</label>
204
												<label>Evaluación</label>
205
												<select className='form-control' name='points' ref={register}>
205
												<select className='form-control' name='points' ref={register}>
206
													{
206
													{
Línea 212... Línea 212...
212
											</div>
212
											</div>
213
										</div>
213
										</div>
214
									</div>
214
									</div>
215
									<div className="form-group">
215
									<div className="form-group">
216
										<button type="submit" className="btn btn-primary btn-form-save-close mr-2">
216
										<button type="submit" className="btn btn-primary btn-form-save-close mr-2">
217
											Guardar & Cerrar
217
											Guardar
218
										</button>
218
										</button>
219
										<button
219
										<button
220
											type="button"
220
											type="button"
221
											className="btn btn-secondary btn-edit-cancel"
221
											className="btn btn-secondary btn-edit-cancel"
222
											onClick={() => history.goBack()}
222
											onClick={() => history.goBack()}