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
4267c2ee
Commit
4267c2ee
authored
Apr 02, 2019
by
Ulises Morales Ramírez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
descripcion reportes
parent
324257fc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
36 deletions
+38
-36
Reports.css
reports/static/reports/css/Reports.css
+1
-1
Reports_scripts.js
reports/static/reports/js/Reports_scripts.js
+7
-21
Reports.html
reports/templates/Reports.html
+30
-14
No files found.
reports/static/reports/css/Reports.css
View file @
4267c2ee
...
@@ -61,4 +61,4 @@ input:checked + .slider:before {
...
@@ -61,4 +61,4 @@ input:checked + .slider:before {
.slider.round
:before
{
.slider.round
:before
{
border-radius
:
50%
;
border-radius
:
50%
;
}
}
\ No newline at end of file
reports/static/reports/js/Reports_scripts.js
View file @
4267c2ee
...
@@ -60,27 +60,13 @@ $(function () {
...
@@ -60,27 +60,13 @@ $(function () {
});
});
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'#example'
).
DataTable
var
table
=
$
(
'#example'
).
DataTable
({
({
responsive
:
true
});
responsive
:
{
details
:
});
{
type
:
'column'
,
target
:
'tr'
}
},
columnDefs
:
[{
className
:
'control'
,
orderable
:
false
,
targets
:
0
}],
order
:
[
1
,
'asc'
]
});
});
$
(
function
()
{
$
(
function
()
{
...
...
reports/templates/Reports.html
View file @
4267c2ee
...
@@ -2,9 +2,7 @@
...
@@ -2,9 +2,7 @@
{% load staticfiles %}
{% load staticfiles %}
{% block headMedia %}
{% block headMedia %}
<link
rel=
"stylesheet"
href=
"{% static 'catalog/css/body.css' %}"
type=
"text/css"
>
<link
rel=
"stylesheet"
href=
"{% static 'catalog/css/body.css' %}"
type=
"text/css"
>
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"https://cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"https://cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css"
/>
<script
type=
"text/javascript"
src=
"https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"
></script>
<link
rel=
"stylesheet"
href=
"https://cdn.rawgit.com/openlayers/openlayers.github.io/master/en/v5.3.0/css/ol.css"
<link
rel=
"stylesheet"
href=
"https://cdn.rawgit.com/openlayers/openlayers.github.io/master/en/v5.3.0/css/ol.css"
type=
"text/css"
>
type=
"text/css"
>
...
@@ -13,6 +11,24 @@
...
@@ -13,6 +11,24 @@
<link
rel=
"stylesheet"
href=
"https://openlayers.org/en/v5.3.0/css/ol.css"
type=
"text/css"
>
<link
rel=
"stylesheet"
href=
"https://openlayers.org/en/v5.3.0/css/ol.css"
type=
"text/css"
>
<!-- The line below is only needed for old environments like Internet Explorer and Android 4.x -->
<!-- The line below is only needed for old environments like Internet Explorer and Android 4.x -->
<script
src=
"https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"
></script>
<script
src=
"https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"
></script>
<!-- nose-->
<link
rel=
"stylesheet"
type=
"text/css"
href=
"https://cdn.datatables.net/responsive/2.2.3/css/responsive.bootstrap.min.css"
>
<script
type=
"text/javascript"
language=
"javascript"
src=
"https://code.jquery.com/jquery-3.3.1.js"
></script>
<script
type=
"text/javascript"
language=
"javascript"
src=
"https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"
></script>
<script
type=
"text/javascript"
language=
"javascript"
src=
"https://cdn.datatables.net/responsive/2.2.3/js/dataTables.responsive.min.js"
></script>
<script
type=
"text/javascript"
>
</script>
{% endblock %}
{% endblock %}
{% block messages %}
{% block messages %}
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
...
@@ -155,15 +171,15 @@
...
@@ -155,15 +171,15 @@
<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%"
>
<thead>
<thead>
<th>
Title
</th>
<th
width=
"12%"
>
Title
</th>
<th>
Process
</th>
<th
width=
"12%"
>
Process
</th>
<th>
Purchase date
</th>
<th
width=
"12%"
>
Purchase date
</th>
<th>
Start Date
</th>
<th
width=
"12%"
>
Start Date
</th>
<th>
End Date
</th>
<th
width=
"12%"
>
End Date
</th>
<!--th>Clouds %</th-->
<!--th>Clouds %</th-->
<th>
Estimated Size
</th>
<th
width=
"12%"
>
Estimated Size
</th>
<th>
Public
</th>
<th
width=
"12%"
>
Public
</th>
<th>
Actions
</th>
<th
width=
"12%"
class=
"all"
>
Actions
</th>
</thead>
</thead>
<tbody
id=
"table_body"
>
<tbody
id=
"table_body"
>
{% for product in productList %}
{% for product in productList %}
...
@@ -204,20 +220,20 @@
...
@@ -204,20 +220,20 @@
</p>
</p>
</div>
</div>
</div>
</div>
<div
id=
"action_buttons{{ product.purchase_id }}"
{%
if
product
.
progress
!=
100
%}
<div
id=
"action_buttons{{ product.purchase_id }}"
class=
"row col-md-12"
{%
if
product
.
progress
!=
100
%}
class=
"hidden"
{%
endif
%}
>
class=
"hidden"
{%
endif
%}
>
<a
title=
"View Report"
<a
title=
"View Report"
{%
if
product
.
initial_folder
%}
{%
if
product
.
initial_folder
%}
href=
"../reports/{{ product.purchase_id }}"
href=
"../reports/{{ product.purchase_id }}"
{%
endif
%}
{%
endif
%}
class=
"btn btn-success"
>
class=
"btn btn-success
btn-sm col-md-6 col-xs-6 col-sm-6 col-lg-6 col-xl-6
"
>
<i
class=
"fa fa-eye"
></i>
<i
class=
"fa fa-eye"
></i>
</a>
</a>
<a
title=
"Download zip"
{%
if
product
.
progress =
=
100
%}
<a
title=
"Download zip"
{%
if
product
.
progress =
=
100
%}
href=
"../../static/reports/tmpImages/repsat_test_dev/{{ request.user.email }}/{{ product.purchase_id }}/myzip.zip"
href=
"../../static/reports/tmpImages/repsat_test_dev/{{ request.user.email }}/{{ product.purchase_id }}/myzip.zip"
{%
else
%}
{%
else
%}
href=
"#"
href=
"#"
{%
endif
%}
class=
"btn btn-warning"
>
{%
endif
%}
class=
"btn btn-warning
btn-sm col-md-6 col-xs-6 col-sm-6 col-lg-6 col-xl-6
"
>
<i
class=
"fa fa-file-zip-o"
></i>
<i
class=
"fa fa-file-zip-o"
></i>
</a>
</a>
<!--a title="View Log" href="#" class="btn btn-info"
<!--a title="View Log" href="#" class="btn btn-info"
...
@@ -236,7 +252,7 @@
...
@@ -236,7 +252,7 @@
<!-- /.content -->
<!-- /.content -->
</div>
</div>
<!-- Footer -->
<!-- Footer -->
<footer
class=
" page-footer font-small special-color-dark pt-5"
style=
"bottom: 0; position: absolute"
>
<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