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
b1ab42ec
Commit
b1ab42ec
authored
Mar 19, 2019
by
Sergio Adrian Gongora Euan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
classes reduced in scl_data
parent
ee0d4969
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
scldata.css
reports/static/reports/css/scldata.css
+2
-0
draggable.js
reports/static/reports/js/draggable.js
+2
-2
reportImg.js
reports/static/reports/js/reportImg.js
+1
-0
views.py
reports/views.py
+2
-3
No files found.
reports/static/reports/css/scldata.css
View file @
b1ab42ec
...
...
@@ -77,6 +77,8 @@ body
.draggable
{
padding
:
0px
;
top
:
120%
;
left
:
2%
;
position
:
absolute
;
z-index
:
-1
;
text-align
:
center
;
...
...
reports/static/reports/js/draggable.js
View file @
b1ab42ec
...
...
@@ -39,8 +39,8 @@ function dragElement(elmnt) {
}
}
function
showGraph
(){
if
(
$
(
'.showChart'
).
is
(
':visible'
)){
function
showGraph
(
type
=
false
){
if
(
$
(
'.showChart'
).
is
(
':visible'
)
||
type
==
true
){
$
(
"#draggableChart"
).
css
(
'z-index'
,
10
);
$
(
".showChart"
).
hide
();
$
(
".hideChart"
).
show
();
...
...
reports/static/reports/js/reportImg.js
View file @
b1ab42ec
...
...
@@ -162,6 +162,7 @@ function change(newType) {
}
myChart
=
new
Chart
(
ctx
,
temp
);
showGraph
(
true
)
};
let
img
,
imgWidth
=
0
,
slider
=
false
,
clicked
=
0
;
...
...
reports/views.py
View file @
b1ab42ec
...
...
@@ -405,13 +405,12 @@ def ProcessChartData(path):
labelNames
=
[
"No Data"
,
"Saturated"
,
"Shadows"
,
"Cloud Shadows"
,
"Vegetation"
,
"Not-Vegetated"
,
"Water"
,
"Unclassified"
,
"Cloud Medium Probability"
,
"Cloud High Probability"
,
"Thin Cirrus"
,
"Snow"
"Not-Vegetated"
,
"Water"
,
"Unclassified"
,
"Clouds"
,
"Snow"
]
colors
=
[
"#383838"
,
"#de3d3d"
,
"#696767"
,
"#98775b"
,
"#44ba5d"
,
"#fff98b"
,
"#659acc"
,
"#ababab"
,
"#dddddd"
,
"#
d9f9ff"
,
"#99d4d9"
,
"#
ff8afa"
"#659acc"
,
"#ababab"
,
"#dddddd"
,
"#ff8afa"
]
for
l
in
labels
:
...
...
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