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
ecc8ea4d
Commit
ecc8ea4d
authored
Sep 13, 2018
by
Billy Larru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[EDIT control asistencia docentes, se agrega accion reemplazar docente]
parent
413a8d0c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
6 deletions
+25
-6
general.css
src/main/webapp/css/general.css
+10
-0
reemplazo.png
src/main/webapp/img/icons/reemplazo.png
+0
-0
control_asistencia_docentes.js
src/main/webapp/js/pages/control_asistencia_docentes.js
+15
-6
No files found.
src/main/webapp/css/general.css
View file @
ecc8ea4d
...
...
@@ -285,4 +285,13 @@ table.display tbody tr:hover td {
height
:
16px
;
background
:
url(../img/icons/firma.svg)
;
background-size
:
16px
16px
;
}
.icon-reemplazo
{
display
:
inline-block
;
/*margin-left: auto;*/
width
:
16px
;
height
:
16px
;
background
:
url(../img/icons/reemplazo.png)
;
background-size
:
16px
16px
;
}
\ No newline at end of file
src/main/webapp/img/icons/re
place_teacher
.png
→
src/main/webapp/img/icons/re
emplazo
.png
View file @
ecc8ea4d
File moved
src/main/webapp/js/pages/control_asistencia_docentes.js
View file @
ecc8ea4d
...
...
@@ -161,20 +161,29 @@ function getColumns() {
className
:
'text-center'
,
render
:
(
data
)
=>
{
let
acciones
=
""
;
let
firmar
=
""
;
let
registrar
=
""
;
let
editar
=
""
;
let
aprobar
=
""
;
let
anular
=
""
;
let
reemplazar
=
""
;
switch
(
data
.
estadoasistencia_codigo
)
{
case
3
:
case
4
:
reemplazar
=
`<span style="cursor:pointer;"><i class="reemplazar icon-reemplazo"></i></span>`
;
break
;
case
10
:
case
11
:
case
null
:
case
""
:
let
registrar
=
`<span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='registrar icon-plus-circle2 text-success-700'></i> </span>`
;
let
editar
=
`<span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='editar icon-pencil text-slate-800'></i> </span>`
;
let
aprobar
=
`<span data-toggle="tooltip" data-placement="left" title="Aprobar" style="cursor: pointer"> <i class='aprobar icon-checkmark-circle text-success-700'></i> </span>`
;
let
anular
=
`<span data-toggle="tooltip" data-placement="left" title="Anular" style="cursor: pointer"> <i class='anular icon-cancel-circle2 text-danger-700'></i> </span>`
;
registrar
=
`<span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='registrar icon-plus-circle2 text-success-700'></i> </span>`
;
editar
=
`<span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='editar icon-pencil text-slate-800'></i> </span>`
;
aprobar
=
`<span data-toggle="tooltip" data-placement="left" title="Aprobar" style="cursor: pointer"> <i class='aprobar icon-checkmark-circle text-success-700'></i> </span>`
;
anular
=
`<span data-toggle="tooltip" data-placement="left" title="Anular" style="cursor: pointer"> <i class='anular icon-cancel-circle2 text-danger-700'></i> </span>`
;
acciones
=
registrar
;
break
;
}
acciones
=
registrar
+
reemplazar
;
return
acciones
;
}
}
...
...
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