Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
Asistencia
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Billy Larru
Asistencia
Commits
301644a2
Commit
301644a2
authored
Aug 25, 2018
by
Billy Larru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arreglando login
parent
626ce74f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
108 additions
and
107 deletions
+108
-107
proyectar_asistencia_policias.js
src/main/webapp/js/pages/proyectar_asistencia_policias.js
+4
-5
index.jsp
src/main/webapp/vistas/index.jsp
+104
-102
No files found.
src/main/webapp/js/pages/proyectar_asistencia_policias.js
View file @
301644a2
...
@@ -52,8 +52,7 @@ function defaultConfigHandsonTable() {
...
@@ -52,8 +52,7 @@ function defaultConfigHandsonTable() {
function
mostrarVistaPrevia
()
{
function
mostrarVistaPrevia
()
{
axios
.
get
(
URI_ROL_POLICIA
).
then
((
response
)
=>
{
axios
.
get
(
URI_ROL_POLICIA
).
then
((
response
)
=>
{
response
.
data
=
formatResponse
(
response
);
debugger
if
(
response
.
data
.
status
)
{
if
(
response
.
data
.
status
)
{
handsonTable
.
destroy
();
handsonTable
.
destroy
();
let
container
=
document
.
getElementById
(
"tblProyectado"
);
let
container
=
document
.
getElementById
(
"tblProyectado"
);
...
@@ -72,16 +71,16 @@ function mostrarVistaPrevia() {
...
@@ -72,16 +71,16 @@ function mostrarVistaPrevia() {
fecha_salida
:
dr
.
fecha_salida
,
fecha_salida
:
dr
.
fecha_salida
,
sede_id
:
d
.
sede_id
,
sede_id
:
d
.
sede_id
,
sede_descripcion
:
d
.
sede_descripcion
,
sede_descripcion
:
d
.
sede_descripcion
,
};
};
filas
.
push
(
objFila
);
});
});
});
});
handsonTable
=
new
Handsontable
(
container
,
{
handsonTable
=
new
Handsontable
(
container
,
{
data
:
response
.
data
.
data
,
data
:
filas
,
stretchH
:
'all'
,
stretchH
:
'all'
,
rowHeaders
:
true
,
rowHeaders
:
true
,
colHeaders
:
[
'DNI'
,
'Apellidos y Nombres'
,
'Sede'
,
'Horario'
,
'Rol'
,
'Fecha Entrada'
,
'Hora entrada'
,
'Hora Salida'
,
'Fecha Salida'
],
colHeaders
:
[
'DNI'
,
'Apellidos y Nombres'
,
'Sede'
,
'Horario'
,
'Rol'
,
'Fecha Entrada'
,
'Hora entrada'
,
'Hora Salida'
,
'Fecha Salida'
],
...
...
src/main/webapp/vistas/index.jsp
View file @
301644a2
...
@@ -12,113 +12,115 @@
...
@@ -12,113 +12,115 @@
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<!-- Global stylesheets -->
<!-- Global stylesheets -->
<link
href=
"https://fonts.googleapis.com/css?family=Roboto:400,300,100,500,700,900"
rel=
"stylesheet"
type=
"text/css"
>
<link
href=
"https://fonts.googleapis.com/css?family=Roboto:400,300,100,500,700,900"
rel=
"stylesheet"
type=
"text/css"
>
<link
href=
"../plantilla/assets/css/icons/icomoon/styles.css"
rel=
"stylesheet"
type=
"text/css"
>
<link
href=
"../plantilla/assets/css/icons/icomoon/styles.css"
rel=
"stylesheet"
type=
"text/css"
>
<link
href=
"../plantilla/assets/css/bootstrap.css"
rel=
"stylesheet"
type=
"text/css"
>
<link
href=
"../plantilla/assets/css/bootstrap.css"
rel=
"stylesheet"
type=
"text/css"
>
<link
href=
"../plantilla/assets/css/core.css"
rel=
"stylesheet"
type=
"text/css"
>
<link
href=
"../plantilla/assets/css/core.css"
rel=
"stylesheet"
type=
"text/css"
>
<link
href=
"../plantilla/assets/css/components.css"
rel=
"stylesheet"
type=
"text/css"
>
<link
href=
"../plantilla/assets/css/components.css"
rel=
"stylesheet"
type=
"text/css"
>
<link
href=
"../plantilla/assets/css/colors.css"
rel=
"stylesheet"
type=
"text/css"
>
<link
href=
"../plantilla/assets/css/colors.css"
rel=
"stylesheet"
type=
"text/css"
>
<!-- /global stylesheets -->
<!-- /global stylesheets -->
</head>
</head>
<body
class=
"login-container"
>
<body
class=
"login-container"
>
<!-- Page container -->
<!-- Page container -->
<div
class=
"page-container"
>
<div
class=
"page-container"
>
<!-- Page content -->
<!-- Page content -->
<div
class=
"page-content"
>
<div
class=
"page-content"
>
<!-- Main content -->
<!-- Main content -->
<div
class=
"content-wrapper"
>
<div
class=
"content-wrapper"
>
<!-- Content area -->
<!-- Content area -->
<div
class=
"content"
>
<div
class=
"content"
>
<!-- Advanced login -->
<!-- Advanced login -->
<form
action=
"#"
id=
"login"
>
<form
action=
"#"
id=
"login"
>
<div
class=
"panel panel-body login-form"
>
<div
class=
"panel panel-body login-form"
>
<div
class=
"text-center"
>
<div
class=
"text-center"
>
<div
class=
"icon-object border-slate-300 text-slate-300"
><i
class=
"icon-reading"
></i></div>
<div
class=
"icon-object border-slate-300 text-slate-300"
><i
class=
"icon-reading"
></i></div>
<h5
class=
"content-group"
>
PROYECTO
<small
class=
"display-block"
>
Ingrese sus credenciales
</small></h5>
<h5
class=
"content-group"
>
PROYECTO
<small
class=
"display-block"
>
Ingrese sus credenciales
</small></h5>
</div>
</div>
<div
class=
"form-group has-feedback has-feedback-left"
>
<div
class=
"form-group has-feedback has-feedback-left"
>
<input
type=
"text"
id=
"usuario"
name=
"usuario"
class=
"form-control"
placeholder=
"Usuario"
value=
"blarru"
>
<input
type=
"text"
id=
"usuario"
name=
"usuario"
class=
"form-control"
placeholder=
"Usuario"
value=
"blarru"
>
<div
class=
"form-control-feedback"
>
<div
class=
"form-control-feedback"
>
<i
class=
"icon-user text-muted"
></i>
<i
class=
"icon-user text-muted"
></i>
</div>
</div>
</div>
</div>
<div
class=
"form-group has-feedback has-feedback-left"
>
<input
type=
"password"
id=
"pass"
name=
"pass"
class=
"form-control"
placeholder=
"Contraseña"
value=
"123456"
>
<div
class=
"form-control-feedback"
>
<i
class=
"icon-lock2 text-muted"
></i>
</div>
</div>
<div
class=
"form-group"
>
<button
type=
"button"
id=
"signIn"
class=
"btn bg-blue btn-block"
>
Ingresa
<i
class=
"icon-arrow-right14 position-right"
></i></button>
</div>
</div>
</form>
<!-- /advanced login -->
<!-- Footer -->
<div
class=
"footer text-muted text-center"
>
©
2015.
<a
href=
"#"
>
Proyecto
</a>
por
<a
href=
"#"
>
Área Sistemas TIC
</a>
</div>
<!-- /footer -->
</div>
<!-- /content area -->
<div
class=
"form-group has-feedback has-feedback-left"
>
<input
type=
"password"
id=
"pass"
name=
"pass"
class=
"form-control"
placeholder=
"Contraseña"
value=
"123456"
>
<div
class=
"form-control-feedback"
>
<i
class=
"icon-lock2 text-muted"
></i>
</div>
</div>
</div>
<!-- /main content -->
<div
class=
"form-group"
>
<button
type=
"button"
id=
"signIn"
class=
"btn bg-blue btn-block"
>
Ingresa
<i
class=
"icon-arrow-right14 position-right"
></i></button>
</div>
</div>
</form>
<!-- /advanced login -->
<!-- Footer -->
<div
class=
"footer text-muted text-center"
>
©
2015.
<a
href=
"#"
>
Proyecto
</a>
por
<a
href=
"#"
>
Área Sistemas TIC
</a>
</div>
</div>
<!-- /footer -->
<!-- /page content -->
</div>
<!-- /content area -->
</div>
</div>
<!-- /main content -->
<!-- /page container -->
</div>
<script>
<!-- /page content -->
((
window
)
=>
{
window
.
history
.
replaceState
({},
''
,
'index.jsp'
);
</div>
})(
window
);
<!-- /page container -->
</script>
<script>
<!--javascript template-->
((
window
)
=>
{
<!-- Core JS files -->
window
.
history
.
replaceState
(
{}
,
''
,
'index.jsp'
);
<script
type=
"text/javascript"
src=
"../plantilla/assets/js/plugins/loaders/pace.min.js"
></script>
})(
window
);
<script
type=
"text/javascript"
src=
"../plantilla/assets/js/core/libraries/jquery.min.js"
></script>
</script>
<script
type=
"text/javascript"
src=
"../plantilla/assets/js/core/libraries/bootstrap.min.js"
></script>
<script
type=
"text/javascript"
src=
"../plantilla/assets/js/plugins/forms/validation/validate.min.js"
></script>
<!--javascript template-->
<script
type=
"text/javascript"
src=
"../js/lib/jquery-validation-config.js"
></script>
<!-- Core JS files -->
<script
type=
"text/javascript"
src=
"../plantilla/assets/js/plugins/notifications/sweet_alert.min.js"
></script>
<script
type=
"text/javascript"
src=
"../plantilla/assets/js/plugins/loaders/pace.min.js"
></script>
<script
src=
"../plantilla/assets/js/plugins/tables/datatables/datatables.min.js"
type=
"text/javascript"
></script>
<script
type=
"text/javascript"
src=
"../plantilla/assets/js/core/libraries/jquery.min.js"
></script>
<script
src=
"../js/lib/axios.min.js"
type=
"text/javascript"
></script>
<script
type=
"text/javascript"
src=
"../plantilla/assets/js/core/libraries/bootstrap.min.js"
></script>
<script
type=
"text/javascript"
src=
"../js/general.js"
></script>
<script
type=
"text/javascript"
src=
"../plantilla/assets/js/plugins/forms/validation/validate.min.js"
></script>
<script
type=
"text/javascript"
src=
"../js/lib/jquery-validation-config.js"
></script>
<script
type=
"text/javascript"
src=
"../plantilla/assets/js/plugins/loaders/blockui.min.js"
></script>
<script
type=
"text/javascript"
src=
"../plantilla/assets/js/plugins/notifications/sweet_alert.min.js"
></script>
<!-- /core JS files -->
<script
type=
"text/javascript"
src=
"../js/general.js"
></script>
<!-- Theme JS files -->
<script
type=
"text/javascript"
src=
"../plantilla/assets/js/plugins/loaders/blockui.min.js"
></script>
<script
type=
"text/javascript"
src=
"../plantilla/assets/js/plugins/forms/styling/uniform.min.js"
></script>
<!-- /core JS files -->
<script
type=
"text/javascript"
src=
"../plantilla/assets/js/core/app.js"
></script>
<!-- Theme JS files -->
<script
type=
"text/javascript"
src=
"../plantilla/assets/js/pages/login.js"
></script>
<script
type=
"text/javascript"
src=
"../plantilla/assets/js/plugins/forms/styling/uniform.min.js"
></script>
<!-- /theme JS files -->
<!--javascript template-->
<script
type=
"text/javascript"
src=
"../plantilla/assets/js/core/app.js"
></script>
<script
src=
"../js/lib/cookies.js"
type=
"text/javascript"
></script>
<script
type=
"text/javascript"
src=
"../plantilla/assets/js/pages/login.js"
></script>
<script
src=
"../js/pages/index.js"
type=
"text/javascript"
></script>
<!-- /theme JS files -->
<!--javascript template-->
</body>
<script
src=
"../js/lib/cookies.js"
type=
"text/javascript"
></script>
<script
src=
"../js/pages/index.js"
type=
"text/javascript"
></script>
</body>
</html>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment