Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GeoInt_SIDT
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mario Chirinos Colunga
GeoInt_SIDT
Commits
2d182a25
Commit
2d182a25
authored
Apr 15, 2019
by
Ulises Morales Ramírez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
descripcion reportes
parent
a6b2cc0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
31 deletions
+37
-31
Reports.html
reports/templates/Reports.html
+37
-31
No files found.
reports/templates/Reports.html
View file @
2d182a25
...
@@ -25,9 +25,6 @@
...
@@ -25,9 +25,6 @@
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
</script>
</script>
{% endblock %}
{% endblock %}
{% block messages %}
{% block messages %}
...
@@ -130,7 +127,7 @@
...
@@ -130,7 +127,7 @@
<br>
<br>
<ul
class=
"sidebar-menu"
data-widget=
"tree"
>
<ul
class=
"sidebar-menu"
data-widget=
"tree"
>
<li>
<li>
<a
class=
"treeview "
href=
"{%
url 'map' %}"
>
<a
class=
"treeview "
href=
"{% url 'map' %}"
>
<i
class=
"fa fa-map"
></i>
<i
class=
"fa fa-map"
></i>
<span>
Home
</span>
<span>
Home
</span>
<span
class=
"pull-right-container"
>
<span
class=
"pull-right-container"
>
...
@@ -166,7 +163,7 @@
...
@@ -166,7 +163,7 @@
<!--div id="popover-content-logout" class="hide"-->
<!--div id="popover-content-logout" class="hide"-->
<div
class=
"panel panel-default"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
>
Reports
{{ request.META.HTTP_REFERER }}
</div>
<div
class=
"panel-heading"
>
Reports
</div>
<div
class=
"panel-body"
id=
"mytable"
>
<div
class=
"panel-body"
id=
"mytable"
>
<table
data-toggle=
"table"
id=
"example"
class=
"table table-striped table-bordered"
<table
data-toggle=
"table"
id=
"example"
class=
"table table-striped table-bordered"
style=
"width:100%"
>
style=
"width:100%"
>
...
@@ -185,11 +182,14 @@
...
@@ -185,11 +182,14 @@
{% for product in productList %}
{% for product in productList %}
<tr>
<tr>
<td>
<td>
<a
href=
"#"
id=
"title{{ product.purchase_id }}"
data-toggle=
"popover"
data-trigger=
"hover"
<a
href=
"#"
id=
"title{{ product.purchase_id }}"
data-toggle=
"popover"
data-content=
"{% if product.description %}{{ product.description }}{% else %}Without Description{% endif %}"
data-trigger=
"hover"
data-content=
"
{% if product.description %}{{ product.description }}{% else %}Without Description{% endif %}"
onclick=
"showMyModalSetTitle('{{ product.search_name }}','{{ product.polygon }}');"
>
{{ product.search_name }}
</a>
onclick=
"showMyModalSetTitle('{{ product.search_name }}','{{ product.polygon }}');"
>
{{ product.search_name }}
</a>
<a
href=
"#"
onclick=
"showEditModal('{{ product.search_name }}','{{ product.description }}','{{ product.purchase_id }}')"
><span
<a
href=
"#"
onclick=
"showEditModal('{{ product.search_name }}','{{ product.description }}','{{ product.purchase_id }}')"
><span
class=
"fas fa-pencil-alt"
class=
"fas fa-pencil-alt"
style=
"margin:3px 0 0 0"
></span></a>
style=
"margin:3px 0 0 0"
></span></a>
</td>
</td>
...
@@ -221,28 +221,34 @@
...
@@ -221,28 +221,34 @@
</div>
</div>
</div>
</div>
<div
id=
"action_buttons{{ product.purchase_id }}"
{%
if
product
.
progress
!=
100
%}
<div
id=
"action_buttons{{ product.purchase_id }}"
{%
if
product
.
progress
!=
100
%}
class=
"hidden"
{%
endif
%}
>
class=
"hidden"
{%
else
%}
class=
"text-center row col-md-12 col-xs-12 col-sm-12 col-lg-12 col-xl-12"
{%
endif
%}
>
<a
title=
"View Report"
<div
class=
"col-md-4 col-xs-6 col-sm-6 col-lg-4 col-xl-4"
>
{%
if
product
.
initial_folder
%}
<a
title=
"View Report"
href=
"../reports/{{ product.purchase_id }}"
{%
if
product
.
initial_folder
%}
{%
endif
%}
href=
"../reports/{{ product.purchase_id }}"
class=
"btn btn-success btn-sm col-md-4 col-xs-4 col-sm-4 col-lg-4 col-xl-4"
>
{%
endif
%}
<i
class=
"fa fa-eye"
></i>
class=
"btn btn-success "
>
</a>
<i
class=
"fa fa-eye"
></i>
<a
title=
"Download zip"
{%
if
product
.
progress =
=
100
%}
</a>
href=
"../../static/reports/tmpImages/repsat_test_dev/{{ request.user.email }}/{{ product.purchase_id }}/myzip.zip"
</div>
{%
else
%}
<div
class=
"col-md-4 col-xs-6 col-sm-6 col-lg-4 col-xl-4"
>
href=
"#"
<a
title=
"Download zip"
{%
if
product
.
progress =
=
100
%}
{%
endif
%}
class=
"btn btn-warning btn-sm col-md-4 col-xs-4 col-sm-4 col-lg-4 col-xl-4"
>
href=
"../../static/reports/tmpImages/repsat_test_dev/{{ request.user.email }}/{{ product.purchase_id }}/myzip.zip"
<i
class=
"fa fa-file-zip-o"
></i>
{%
else
%}
</a>
href=
"#"
<a
title=
"Download PDF"
{%
if
product
.
progress =
=
100
%}
{%
endif
%}
class=
"btn btn-warning "
>
href=
"{% url 'PDF' product.purchase_id %}"
<i
class=
"fa fa-file-zip-o"
></i>
{%
else
%}
</a>
href=
"#"
</div>
{%
endif
%}
class=
"btn btn-info btn-sm col-md-4 col-xs-4 col-sm-4 col-lg-4 col-xl-4"
>
<div
class=
"col-md-4 col-xs-6 col-sm-6 col-lg-4 col-xl-4"
>
<i
class=
"fa fa-file-pdf-o"
></i>
<a
title=
"Download PDF"
{%
if
product
.
progress =
=
100
%}
</a>
href=
"{% url 'PDF' product.purchase_id %}"
{%
else
%}
href=
"#"
{%
endif
%}
class=
"btn btn-info"
>
<i
class=
"fa fa-file-pdf-o"
></i>
</a>
</div>
<!--a title="View Log" href="#" class="btn btn-info"
<!--a title="View Log" href="#" class="btn btn-info"
onclick="openmodal('{{ product.log_info }}')">
onclick="openmodal('{{ product.log_info }}')">
<i class="fa fa-file-text"></i>
<i class="fa fa-file-text"></i>
...
@@ -259,7 +265,7 @@
...
@@ -259,7 +265,7 @@
<!-- /.content -->
<!-- /.content -->
</div>
</div>
<!-- Footer -->
<!-- Footer -->
<footer
class=
" page-footer font-small special-color-dark pt-5"
>
<footer
class=
" page-footer font-small special-color-dark pt-5"
>
<!-- Footer Elements -->
<!-- Footer Elements -->
<div
class=
"container"
>
<div
class=
"container"
>
</div>
</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