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
7f4389ef
Commit
7f4389ef
authored
Jul 10, 2018
by
Billy Larru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reduciendo tamaño de celdas en el datatable
parent
716d3263
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
16 deletions
+24
-16
general.css
src/main/webapp/css/general.css
+5
-0
control_asistencia_policias.js
src/main/webapp/js/pages/control_asistencia_policias.js
+5
-1
controlAsistenciaPolicias.jsp
src/main/webapp/vistas/controlAsistenciaPolicias.jsp
+14
-15
No files found.
src/main/webapp/css/general.css
View file @
7f4389ef
...
...
@@ -19,4 +19,8 @@ btn-green{
.text-migration
{
color
:
#36F
;
}
.table-sm
>
thead
>
tr
>
th
,
.table-sm
>
tbody
>
tr
>
th
,
.table-sm
>
tfoot
>
tr
>
th
,
.table-sm
>
thead
>
tr
>
td
,
.table-sm
>
tbody
>
tr
>
td
,
.table-sm
>
tfoot
>
tr
>
td
{
padding
:
6px
10px
;
}
\ No newline at end of file
src/main/webapp/js/pages/control_asistencia_policias.js
View file @
7f4389ef
...
...
@@ -11,7 +11,7 @@ function init() {
function
listarSedes
()
{
let
html
=
``
;
html
+=
`<label>Sede</label>
<select class="
form-control" id="cboSedes"
>`
;
<select class="
selectpicker form-control" name="cboSedes" id="cboSedes" multiple
>`
;
// for(let i in sedes){
// html += `<option>${sedes[]}</option>`;
// }
...
...
@@ -136,6 +136,10 @@ function seleccionCriterio() {
if
(
criterio
===
'SEDE'
)
{
let
html
=
listarSedes
();
$
(
'#divCriterio'
).
html
(
html
);
$
(
'.selectpicker'
).
selectpicker
({
style
:
'btn-info'
,
size
:
4
});
// debugger
}
else
if
(
criterio
==
'APELLIDOS'
)
{
let
html
=
`<label id="lblCriterio">Apellidos</label>
...
...
src/main/webapp/vistas/controlAsistenciaPolicias.jsp
View file @
7f4389ef
...
...
@@ -32,12 +32,13 @@
<div
class=
"col-md-8 form-group"
>
<!-- <label>Busqueda</label>
<input type="text" class="form-control"/>-->
<div
id=
"divCriterio"
><label>
Sede
</label>
<div
id=
"divCriterio"
>
<label>
Sede
</label>
<select
class=
"selectpicker form-control"
name=
"cboSedes"
id=
"cboSedes"
multiple
>
<option>
LINCE
</option>
<option>
AREQUIPA
</option>
<option>
LINCE
</option>
<option>
VILLA EL SALVADOR
</option>
<option>
MONTESORI
</option>
</select>
</div>
...
...
@@ -121,7 +122,7 @@
<tr>
<td>
1
</td>
<td>
RAMIREZ MORALES ROLANDO
</td>
<td>
LINCE
</td>
<td>
VILLA EL SALVADOR
</td>
<td>
26/06/2018
</td>
<td>
07:00 - 17:00
</td>
<td
class=
"text-center"
>
REGULAR
</td>
...
...
@@ -138,7 +139,7 @@
<tr>
<td>
2
</td>
<td>
RODRIGUEZ CALERO MARCO ANTONIO
</td>
<td>
LINCE
</td>
<td>
VILLA EL SALVADOR
</td>
<td>
26/06/2018
</td>
<td>
19:00 - 07:00
</td>
<td
class=
"text-center"
>
AMANECIDA 12H
</td>
...
...
@@ -153,7 +154,7 @@
<tr>
<td>
3
</td>
<td>
LORENZO CARHUANCHO JOEL
</td>
<td>
LINCE
</td>
<td>
VILLA EL SALVADOR
</td>
<td>
26/06/2018
</td>
<td>
07:00- 17:00
</td>
<td
class=
"text-center"
>
REGULAR
</td>
...
...
@@ -167,7 +168,7 @@
<tr>
<td>
4
</td>
<td>
VASQUEZ PEREZ LIDER
</td>
<td>
LINCE
</td>
<td>
VILLA EL SALVADOR
</td>
<td>
26/06/2018
</td>
<td>
07:00- 17:00
</td>
<td
class=
"text-center"
>
REGULAR
</td>
...
...
@@ -180,7 +181,7 @@
<tr>
<td>
5
</td>
<td>
SILVA ASTUDILLO VICTOR SEGUNDO
</td>
<td>
LINCE
</td>
<td>
VILLA EL SALVADOR
</td>
<td>
26/06/2018
</td>
<td>
07:00 - 07:00
</td>
<td
class=
"text-center"
>
AMANECIDA 24H
</td>
...
...
@@ -193,7 +194,7 @@
<tr>
<td>
6
</td>
<td>
PACHECO PANCA ADOLFO
</td>
<td>
LINCE
</td>
<td>
VILLA EL SALVADOR
</td>
<td>
26/06/2018
</td>
<td>
07:00 - 07:00
</td>
<td
class=
"text-center"
>
AMANECIDA 24H
</td>
...
...
@@ -206,7 +207,7 @@
<tr>
<td>
7
</td>
<td>
GONZALES MARCHISIO JUAN CARLOS
</td>
<td>
LINCE
</td>
<td>
VILLA EL SALVADOR
</td>
<td>
26/06/2018
</td>
<td>
07:00 - 17:00
</td>
<td
class=
"text-center"
>
AMANECIDA 24H
</td>
...
...
@@ -219,7 +220,7 @@
<tr>
<td>
8
</td>
<td>
SOTO GUTIERREZ MANUEL JESUS
</td>
<td>
LINCE
</td>
<td>
VILLA EL SALVADOR
</td>
<td>
26/06/2018
</td>
<td>
07:50 - 17:00
</td>
<td
class=
"text-center"
>
REGULAR
</td>
...
...
@@ -232,7 +233,7 @@
<tr>
<td>
9
</td>
<td>
VIDAL AVILA WILLY CESAR
</td>
<td>
LINCE
</td>
<td>
VILLA EL SALVADOR
</td>
<td>
26/06/2018
</td>
<td>
07:00 - 17:00
</td>
<td
class=
"text-center"
>
REGULAR
</td>
...
...
@@ -252,7 +253,7 @@
<tr>
<td>
10
</td>
<td>
PAREDES HUANUQUEÑO ROBERTO SANTOS
</td>
<td>
LINCE
</td>
<td>
VILLA EL SALVADOR
</td>
<td>
26/06/2018
</td>
<td>
07:00 - 17:00
</td>
<td
class=
"text-center"
>
REGULAR
</td>
...
...
@@ -272,7 +273,7 @@
<tr>
<td>
11
</td>
<td>
PICHIGUA MELENDEZ ANTONIO
</td>
<td>
LINCE
</td>
<td>
VILLA EL SALVADOR
</td>
<td>
26/06/2018
</td>
<td>
07:50 - 14:30
</td>
<td
class=
"text-center"
>
REGULAR
</td>
...
...
@@ -371,6 +372,5 @@
<script
type=
"text/javascript"
src=
"../plantilla/assets/js/core/libraries/jquery_ui/widgets.min.js"
></script>
<script
src=
"../js/pages/control_asistencia_policias.js"
type=
"text/javascript"
></script>
<!--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