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
d698ce78
Commit
d698ce78
authored
Jul 05, 2018
by
Billy Larru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reflejando cambios en un servicio de policia, agregando animaciones
parent
bcce8a13
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
9 deletions
+22
-9
crearRolPolicia.js
src/main/webapp/js/pages/crearRolPolicia.js
+18
-5
crearRolPolicia.jsp
src/main/webapp/vistas/crearRolPolicia.jsp
+4
-4
No files found.
src/main/webapp/js/pages/crearRolPolicia.js
View file @
d698ce78
...
...
@@ -8,11 +8,7 @@ function modificarServicio() {
$
(
"#botones-editar"
).
removeClass
(
'hidden'
);
$
(
"#btnCerrar"
).
addClass
(
"hidden"
);
let
animation
=
``
;
$
(
"#modal_tombo2"
).
addClass
(
`animated
${
animation
}
`
).
one
(
"webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend"
,
function
()
{
$
(
this
).
removeClass
(
`animated
${
animation
}
`
);
});
animar
();
// e.preventDefault();
...
...
@@ -27,6 +23,21 @@ function cancelar(){
$
(
"#modal-header"
).
removeClass
(
'bg-jade'
);
$
(
"#botones-editar"
).
addClass
(
'hidden'
);
$
(
"#btnCerrar"
).
removeClass
(
"hidden"
);
animar
();
}
function
animar
(){
let
animation
=
`fadeIn`
;
$
(
"#modal_body_tombo2"
).
addClass
(
`animated
${
animation
}
`
).
one
(
"webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend"
,
function
()
{
$
(
this
).
removeClass
(
`animated
${
animation
}
`
);
});
}
function
guardarCambios
(){
cancelar
();
$
(
"#servicio13"
).
css
(
"background-color"
,
"lightpink"
);
}
...
...
@@ -77,5 +88,6 @@ $().ready(function () {
defaultConfigDateRangePicker
();
$
(
'#servicio13'
).
click
(
modificarServicio
);
$
(
"#btnCancelar"
).
click
(
cancelar
);
$
(
"#btnGuardarCambios"
).
click
(
guardarCambios
);
});
\ No newline at end of file
src/main/webapp/vistas/crearRolPolicia.jsp
View file @
d698ce78
...
...
@@ -136,7 +136,7 @@
<td>
LINCE
</td>
<td>
01/06/2018
</td>
<td>
15/06/2018
</td>
<td
class=
"text-center"
>
AMANECIDA
12
H
</td>
<td
class=
"text-center"
>
AMANECIDA
24
H
</td>
<td>
IMPAR
</td>
<td><span
class=
"label label-success"
>
ACTIVO
</span></td>
<td>
...
...
@@ -388,7 +388,7 @@
<h5
id=
"modal-title"
class=
"modal-title"
>
Detalle de Rol
</h5>
</div>
<div
class=
"modal-body"
>
<div
id=
"modal_body_tombo2"
class=
"modal-body"
>
<div
id=
"detalle_rol"
>
<div
class=
"col-md-5"
>
...
...
@@ -413,7 +413,7 @@
<div
class=
"row"
>
<div
class=
"form-group"
>
<label>
Horario
</label>
<span
class=
"label label-left border-left-primary label-striped form-control"
>
AMANECIDA
12
H IMPAR
</span>
<span
class=
"label label-left border-left-primary label-striped form-control"
>
AMANECIDA
24
H IMPAR
</span>
</div>
</div>
...
...
@@ -541,7 +541,7 @@
<select
class=
"form-control"
id=
"cboCriterio"
>
<option>
[SELECCIONE]
</option>
<option>
REGULAR
</option>
<option>
AMANECIDA
24
H
</option>
<option>
AMANECIDA
12
H
</option>
</select>
</div>
...
...
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