Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PGPI-entrega
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sergest
PGPI-entrega
Commits
4dd075d3
"git@ssh.gitlab.inf.uva.es:desi_24-25/evolucionpib.git" did not exist on "723bbc5c90112530c2fc7b9ec338f6754dada511"
Commit
4dd075d3
authored
Jan 5, 2019
by
Martafm
Browse files
Options
Downloads
Patches
Plain Diff
listo
parent
a0343eef
No related branches found
No related tags found
1 merge request
!38
listo
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/app.py
+7
-1
7 additions, 1 deletion
src/app.py
src/static/menus/menu_tecnico.html
+4
-1
4 additions, 1 deletion
src/static/menus/menu_tecnico.html
src/templates/incidencias_tecnico.html
+3
-3
3 additions, 3 deletions
src/templates/incidencias_tecnico.html
with
14 additions
and
5 deletions
src/app.py
+
7
−
1
View file @
4dd075d3
...
@@ -103,6 +103,12 @@ def incidencias_abiertas():
...
@@ -103,6 +103,12 @@ def incidencias_abiertas():
incidencias
=
get_incidencias_reportadas_por
(
current_user
.
nick
)
incidencias
=
get_incidencias_reportadas_por
(
current_user
.
nick
)
return
render_template
(
'
incidencias_cliente.html
'
,
incidencias
=
incidencias
,
titulo
=
'
Incidencias abiertas reportadas por
'
+
current_user
.
nick
)
return
render_template
(
'
incidencias_cliente.html
'
,
incidencias
=
incidencias
,
titulo
=
'
Incidencias abiertas reportadas por
'
+
current_user
.
nick
)
@app.route
(
'
/incidencias_abiertas_tec
'
)
@login_required
def
incidencias_abiertas_tec
():
incidencias
=
get_incidencias_reportadas_por
(
current_user
.
nick
)
return
render_template
(
'
incidencias_tecnico.html
'
,
incidencias
=
incidencias
,
titulo
=
'
Incidencias abiertas reportadas por
'
+
current_user
.
nick
)
@app.route
(
'
/incidencias_abiertas_clientes
'
)
@app.route
(
'
/incidencias_abiertas_clientes
'
)
@login_required
@login_required
def
incidencias_abiertas_clientes
():
def
incidencias_abiertas_clientes
():
...
...
This diff is collapsed.
Click to expand it.
src/static/menus/menu_tecnico.html
+
4
−
1
View file @
4dd075d3
...
@@ -13,7 +13,10 @@
...
@@ -13,7 +13,10 @@
<span
class=
"material-icons"
style=
"color: black;"
>
library_add
</span>
<span
class=
"material-icons"
style=
"color: black;"
>
library_add
</span>
<span
class=
"collapse width align-top side-options"
>
Registrar Incidencia
</span>
<span
class=
"collapse width align-top side-options"
>
Registrar Incidencia
</span>
</a>
</a>
<a
class=
"list-group-item d-flex justify-content-start align-items-center bg-light"
href=
"/incidencias_abiertas_tec"
>
<span
class=
"material-icons"
style=
"color: black;"
>
list_alt
</span>
<span
class=
"collapse width align-top side-options"
>
Incidencias Abiertas por mi
</span>
</a>
<a
class=
"list-group-item d-flex justify-content-start align-items-center bg-light"
href=
"/logout"
>
<a
class=
"list-group-item d-flex justify-content-start align-items-center bg-light"
href=
"/logout"
>
<span
class=
"material-icons"
style=
"color: black;"
>
exit_to_app
</span>
<span
class=
"material-icons"
style=
"color: black;"
>
exit_to_app
</span>
<span
class=
"collapse width align-top side-options"
>
Cerrar sesión
</span>
<span
class=
"collapse width align-top side-options"
>
Cerrar sesión
</span>
...
...
This diff is collapsed.
Click to expand it.
src/templates/incidencias_tecnico.html
+
3
−
3
View file @
4dd075d3
...
@@ -44,14 +44,14 @@
...
@@ -44,14 +44,14 @@
<!-- Body -->
<!-- Body -->
<div
class=
"row"
style=
"width: 100%; padding-top: 0.5em; padding-bottom: 0.5em; font-size: 2em;"
>
<div
class=
"row"
style=
"width: 100%; padding-top: 0.5em; padding-bottom: 0.5em; font-size: 2em;"
>
<div
class=
"col"
>
<div
class=
"col"
>
<p
class=
"text-center"
>
Estado de las incidencias del t
e
cnico {{ username }}
</p>
<p
class=
"text-center"
>
Estado de las incidencias del t
é
cnico {{ username }}
</p>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
{% if incidencias_abiertas|length > 0 %}
{% if incidencias_abiertas|length > 0 %}
<div
class=
"col-md-4"
>
<div
class=
"col-md-4"
>
<p
class=
"text-center"
id=
"tituloColumna"
>
Abiert
as
</p>
<p
class=
"text-center"
id=
"tituloColumna"
>
Incidencias Asignad
as
</p>
{% for i in range(incidencias_abiertas|length) %}
{% for i in range(incidencias_abiertas|length) %}
<div
class=
"card-deck"
style=
"margin: 1em;"
>
<div
class=
"card-deck"
style=
"margin: 1em;"
>
<div
class=
"card"
id=
"card1"
>
<div
class=
"card"
id=
"card1"
>
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
<p
class=
"card-text"
>
Descripción:
</p>
<p
class=
"card-text"
>
Descripción:
</p>
<p
class=
"card-text .text-justify"
id=
"card-description"
>
{{ incidencias_abiertas[i].descripcion }}
</p>
<p
class=
"card-text .text-justify"
id=
"card-description"
>
{{ incidencias_abiertas[i].descripcion }}
</p>
<hr>
<hr>
<p
class=
"card-text"
>
Incidencia pendiente de asignar a un t
e
cnico.
</p>
<p
class=
"card-text"
>
Incidencia pendiente de asignar a un t
é
cnico.
</p>
</a>
</a>
</div>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment