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
bc3a9899
Commit
bc3a9899
authored
Jul 06, 2018
by
Billy Larru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
centrando columnas y cambiando rango de fechas al datepicker
parent
d698ce78
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
62 additions
and
35 deletions
+62
-35
control_asistencia_policias.js
src/main/webapp/js/pages/control_asistencia_policias.js
+4
-4
controlAsistenciaPolicias.jsp
src/main/webapp/vistas/controlAsistenciaPolicias.jsp
+33
-31
horarioPolicias.jsp
src/main/webapp/vistas/horarioPolicias.jsp
+25
-0
No files found.
src/main/webapp/js/pages/control_asistencia_policias.js
View file @
bc3a9899
...
...
@@ -175,12 +175,12 @@ $().ready(function () {
});
$
(
"#dpFechaInicio"
).
datepicker
({
minDate
:
new
Date
(
2000
,
1
-
1
,
1
),
maxDate
:
new
Date
(),
minDate
:
new
Date
(
2000
,
1
-
1
,
1
),
maxDate
:
new
Date
(
2018
,
6
,
31
),
dateFormat
:
'dd/mm/yy'
,
defaultDate
:
new
Date
(),
//
defaultDate: new Date(),
changeMonth
:
true
,
changeYear
:
true
,
yearRange
:
'-18:
+
0'
,
yearRange
:
'-18:0'
,
onSelect
:
function
()
{
// $(this).valid();
}
...
...
@@ -188,7 +188,7 @@ $().ready(function () {
$
(
"#dpFechaInicio"
).
datepicker
(
'setDate'
,
'now'
);
$
(
"#dpFechaFin"
).
datepicker
({
minDate
:
new
Date
(
2000
,
1
-
1
,
1
),
maxDate
:
new
Date
(),
minDate
:
new
Date
(
2000
,
1
-
1
,
1
),
maxDate
:
new
Date
(
2018
,
6
,
31
),
dateFormat
:
'dd/mm/yy'
,
defaultDate
:
new
Date
(),
changeMonth
:
true
,
...
...
src/main/webapp/vistas/controlAsistenciaPolicias.jsp
View file @
bc3a9899
...
...
@@ -21,7 +21,7 @@
<form
id=
"frmAsistenciaPolicias"
onsubmit=
"return false;"
autocomplete=
"off"
>
<div
class=
"panel-body"
>
<div
class=
"row"
>
<div
class=
"col-md-
3
form-group"
>
<div
class=
"col-md-
4
form-group"
>
<label>
Busqueda por
</label>
<select
class=
"form-control"
id=
"cboCriterio"
>
<option>
SEDE
</option>
...
...
@@ -29,7 +29,7 @@
<option>
DNI
</option>
</select>
</div>
<div
class=
"col-md-
9
form-group"
>
<div
class=
"col-md-
8
form-group"
>
<!-- <label>Busqueda</label>
<input type="text" class="form-control"/>-->
<div
id=
"divCriterio"
><label>
Sede
</label>
...
...
@@ -44,7 +44,7 @@
</div>
<div
class=
"row"
>
<div
class=
"col-md-
6
form-group"
>
<div
class=
"col-md-
4
form-group"
>
<label>
Fecha Inicio
</label>
<div
class=
"input-group"
>
<span
class=
"input-group-addon"
><i
class=
"icon-calendar"
></i></span>
...
...
@@ -52,7 +52,7 @@
</div>
</div>
<div
class=
"col-md-
6
form-group"
>
<div
class=
"col-md-
4
form-group"
>
<label>
Fecha Fin
</label>
<div
class=
"input-group"
>
<span
class=
"input-group-addon"
><i
class=
"icon-calendar"
></i></span>
...
...
@@ -60,11 +60,8 @@
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-md-10 form-group"
>
<div
class=
"col-md-4 form-group"
>
<label>
Estado
</label>
<select
class=
"selectpicker form-control"
name=
"cboSedes"
id=
"cboSedes"
multiple
>
<option>
PENDIENTE
</option>
...
...
@@ -77,6 +74,11 @@
</div>
</div>
<div
class=
"row"
>
</div>
</div>
<div
class=
"panel-footer"
>
<div
class=
"text-center"
>
...
...
@@ -119,8 +121,8 @@
<td>
HUAMANI TAIPE, FRANCISCO
</td>
<td>
26/06/2018
</td>
<td>
07:00 - 17:00
</td>
<td>
REGULAR
</td>
<td>
IMPAR
</td>
<td
class=
"text-center"
>
REGULAR
</td>
<td
class=
"text-center"
>
IMPAR
</td>
<td
class=
"text-center"
>
<span
class=
"text-success font-weight-bold"
>
06:32
</span>
</td>
...
...
@@ -133,8 +135,8 @@
<td>
LEON GOMEZ, MARIO JOSIMAR
</td>
<td>
26/06/2018
</td>
<td>
19:00 - 07:00
</td>
<td>
AMANECIDA 12H
</td>
<td>
IMPAR
</td>
<td
class=
"text-center"
>
AMANECIDA 12H
</td>
<td
class=
"text-center"
>
IMPAR
</td>
<td
class=
"text-center"
>
19:07
</td>
<td
class=
"text-center"
>
07:02
</td>
<td><span
class=
"label label-warning"
>
TARDANZA
</span></td>
...
...
@@ -145,8 +147,8 @@
<td>
ALVITES MARIN, VICTOR MANUEL
</td>
<td>
26/06/2018
</td>
<td>
07:00- 17:00
</td>
<td>
REGULAR
</td>
<td>
DIARIO
</td>
<td
class=
"text-center"
>
REGULAR
</td>
<td
class=
"text-center"
>
DIARIO
</td>
<td
class=
"text-center"
>
-
</td>
<td
class=
"text-center"
>
-
</td>
<td><span
class=
"label label-danger"
>
FCA
</span></td>
...
...
@@ -158,8 +160,8 @@
<td>
ALVITES MARIN, VICTOR MANUEL
</td>
<td>
26/06/2018
</td>
<td>
07:00- 17:00
</td>
<td>
REGULAR
</td>
<td>
PAR
</td>
<td
class=
"text-center"
>
REGULAR
</td>
<td
class=
"text-center"
>
PAR
</td>
<td
class=
"text-center"
>
-
</td>
<td
class=
"text-center"
>
-
</td>
<td><span
class=
"label label-danger"
>
FSA
</span></td>
...
...
@@ -170,8 +172,8 @@
<td>
ALVITES MARIN, VICTOR MANUEL
</td>
<td>
26/06/2018
</td>
<td>
07:00 - 07:00
</td>
<td>
AMANECIDA 24H
</td>
<td>
IMPAR
</td>
<td
class=
"text-center"
>
AMANECIDA 24H
</td>
<td
class=
"text-center"
>
IMPAR
</td>
<td
class=
"text-center"
>
07:24
</td>
<td
class=
"text-center"
>
06:58
</td>
<td><span
class=
"label label-default"
>
NO MARCÓ
</span></td>
...
...
@@ -182,8 +184,8 @@
<td>
ALVITES MARIN, VICTOR MANUEL
</td>
<td>
26/06/2018
</td>
<td>
07:00 - 07:00
</td>
<td>
AMANECIDA 24H
</td>
<td>
PAR
</td>
<td
class=
"text-center"
>
AMANECIDA 24H
</td>
<td
class=
"text-center"
>
PAR
</td>
<td
class=
"text-center"
>
-
</td>
<td
class=
"text-center"
>
-
</td>
<td><span
class=
"label label-info"
>
VAC
</span></td>
...
...
@@ -194,8 +196,8 @@
<td>
ALVITES MARIN, VICTOR MANUEL
</td>
<td>
26/06/2018
</td>
<td>
07:00 - 17:00
</td>
<td>
AMANECIDA 24H
</td>
<td>
DIARIO
</td>
<td
class=
"text-center"
>
AMANECIDA 24H
</td>
<td
class=
"text-center"
>
DIARIO
</td>
<td
class=
"text-center"
>
-
</td>
<td
class=
"text-center"
>
-
</td>
<td><span
class=
"label label-info"
>
FER
</span></td>
...
...
@@ -206,8 +208,8 @@
<td>
ALVITES MARIN, VICTOR MANUEL
</td>
<td>
26/06/2018
</td>
<td>
07:50 - 17:00
</td>
<td>
REGULAR
</td>
<td>
UN SOLO DÍA
</td>
<td
class=
"text-center"
>
REGULAR
</td>
<td
class=
"text-center"
>
UN SOLO DÍA
</td>
<td
class=
"text-center"
>
-
</td>
<td
class=
"text-center"
>
-
</td>
<td><span
class=
"label label-info"
>
LCGH
</span></td>
...
...
@@ -218,8 +220,8 @@
<td>
ALVITES MARIN, VICTOR MANUEL
</td>
<td>
26/06/2018
</td>
<td>
07:00 - 17:00
</td>
<td>
REGULAR
</td>
<td>
IMPAR
</td>
<td
class=
"text-center"
>
REGULAR
</td>
<td
class=
"text-center"
>
IMPAR
</td>
<td
class=
"text-center"
></td>
<td
class=
"text-center"
>
17:13
</td>
<td><span
class=
"label bg-purple"
>
ENTRADA PENDIENTE
</span></td>
...
...
@@ -237,8 +239,8 @@
<td>
ALVITES MARIN, VICTOR MANUEL
</td>
<td>
26/06/2018
</td>
<td>
07:00 - 17:00
</td>
<td>
REGULAR
</td>
<td>
IMPAR
</td>
<td
class=
"text-center"
>
REGULAR
</td>
<td
class=
"text-center"
>
IMPAR
</td>
<td
class=
"text-center"
>
07:28
</td>
<td></td>
<td><span
class=
"label bg-purple"
>
SALIDA PENDIENTE
</span></td>
...
...
@@ -256,8 +258,8 @@
<td>
ALVITES MARIN, VICTOR MANUEL
</td>
<td>
26/06/2018
</td>
<td>
07:50 - 14:30
</td>
<td>
REGULAR
</td>
<td>
DIARIO
</td>
<td
class=
"text-center"
>
REGULAR
</td>
<td
class=
"text-center"
>
DIARIO
</td>
<td
class=
"text-center"
></td>
<td></td>
<td><span
class=
"label bg-purple"
>
PENDIENTE
</span></td>
...
...
src/main/webapp/vistas/horarioPolicias.jsp
0 → 100644
View file @
bc3a9899
<
%@
include
file=
"templates/validar.jsp"
%
>
<
%@
page
contentType=
"text/html"
pageEncoding=
"UTF-8"
%
>
<!DOCTYPE html>
<html>
<head>
<
%@
include
file=
"templates/header.jsp"
%
>
<!--template-core-->
<!--css de la pagina-->
<!--css-->
</head>
<body>
<
%@
include
file=
"templates/header-body.jsp"
%
>
<!-- content -->
<!-- / content -->
<
%@
include
file=
"templates/footer-body.jsp"
%
>
<!--js de la pagina-->
<!--js-->
</body>
</html>
\ No newline at end of file
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