-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
126 lines (118 loc) · 5.56 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../web_fincas/dist/themes/default/style.min.css" />
<!--<link rel="stylesheet" href="../web_fincas/dist/css/jquery/jquery-ui.min.css" />-->
<link rel="stylesheet" href="../web_fincas/dist/css/bootstrap/bootstrap.min.css" />
<script src="dist/js/jquery/jquery-3.6.3.min.js" type="text/javascript"></script>
<script src="dist/js/jquery/jquery-ui.min.js" type="text/javascript"></script>
<script src="../web_fincas/dist/js/jstree/jstree.min.js"></script>
<script src="../web_fincas/js/services/users.js"></script>
<title>Fincas</title>
</head>
<body>
<div class="container">
<div class="row justify-content-md-center mt-5 mb-5 ">
<div class="col-4 justify-tes border-bottom border-dark">
<h1 id="idNameFinca" class="text-center"></h1>
</div>
</div>
<div class="row justify-content-md-start mb-4">
<div class="col-4">
<select id="fincasID" class="form-select" name="Fincas">
<option value="-1">- Seleccione -</option>
</select>
</div>
</div>
<div class="row justify-content-md-center">
<div class="col-4">
<div class="row row-cols-2 gx-3 gy-3">
<div class="d-grid gap-2 mx-auto">
<button id="CrearCarpetaId"
type="button"
class="btn btn-outline-primary"
data-bs-toggle="modal"
data-bs-target="#modalNewFolder">
Crear carpeta
</button>
</div>
<div class="d-grid gap-2 mx-auto">
<button id="EliminarCarpetaId"
disabled
type="button"
class="btn btn-outline-danger"
data-bs-toggle="modal"
data-bs-target="#modalDeleteFolder">
Eliminar carpeta
</button>
</div>
<div class="d-grid gap-2 mx-auto">
<button type="button" class="btn btn-outline-primary"> Subir archivo</button>
</div>
<div class="d-grid gap-2 mx-auto">
<button type="button" class="btn btn-outline-danger"> Eliminar archivo</button>
</div>
</div>
</div>
<div class="col-8 border border-dark bg-light">
<div id="data" class="demo"></div>
</div>
</div>
</div>
<!-- Ventana para (Crear) una nueva carpeta -->
<div class="modal fade" id="modalNewFolder" data-bs-backdrop="static" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Nueva Carpeta</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<form class="needs-validation" novalidate>
<div class="modal-body">
<p id="pathFolderSelected"></p>
<div class="mb-3">
<input id="nameFolder"
type="text"
class="form-control"
onkeypress="return check(event)"
placeholder="Nombre de carpeta"
required>
</div>
</div>
<div class="modal-footer">
<button id="cerrar" type="button" class="btn btn-outline-secondary" data-bs-dismiss="modal">Cerrar</button>
<button id="crear" type="button" class="btn btn-outline-primary">Crear</button>
</form>
</div>
</div>
</div>
</div>
<!-- Ventana para (Eliminar) una carpeta -->
<div class="modal fade" id="modalDeleteFolder" data-bs-backdrop="static" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Eliminar Carpeta</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<form class="needs-validation" novalidate>
<div class="modal-body">
<div class="mb-3">
<p id="idConfirm"></p>
</div>
</div>
<div class="modal-footer">
<button id="cerrar" type="button" class="btn btn-outline-secondary" data-bs-dismiss="modal">Cerrar</button>
<button id="eliminar" type="button" class="btn btn-outline-danger">Eliminar</button>
</form>
</div>
</div>
</div>
</div>
<script src="../web_fincas/js/services/directories.js"></script>
<script src="dist/js/bootstrap/bootstrap.bundle.min.js"></script>
</body>
</html>