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
e33d3386
Commit
e33d3386
authored
Nov 14, 2019
by
irving
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Se desactiva el boton de mostrar grafica al entrar al modo de comparacion
parent
c78d3017
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
3 deletions
+18
-3
scldata.css
reports/static/reports/css/scldata.css
+6
-1
minimap.js
reports/static/reports/js/minimap.js
+11
-1
aside.html
reports/templates/aside.html
+1
-1
No files found.
reports/static/reports/css/scldata.css
View file @
e33d3386
...
...
@@ -331,6 +331,11 @@ select::-ms-expand {
/*progress bar effect*/
a
[
disabled
=
"disabled"
]
{
pointer-events
:
none
;
opacity
:
0.2
;
}
/*left and right arrows for slider with font-awesome*/
.fas.fa-chevron-left
{
...
...
@@ -359,4 +364,4 @@ select::-ms-expand {
.fas.fa-chevron-right
:hover
{
color
:
rgba
(
0
,
60
,
136
,
.7
);
}
\ No newline at end of file
}
reports/static/reports/js/minimap.js
View file @
e33d3386
...
...
@@ -164,6 +164,13 @@ var ctrl = new ol.control.Swipe();
//recibe la lista de fechas y por default compara la primera y la ultima
function
compare
(
labels
)
{
var
swipeControl
=
false
;
//oculta la grafica si esta abierta
$
(
"#draggableChart"
).
css
(
'z-index'
,
-
1
);
$
(
".showChart"
).
show
();
$
(
".hideChart"
).
hide
();
//desactiva el botón de mostrar la gráfica
$
(
'#showGraph'
).
attr
(
'disabled'
,
true
);
map
.
getControls
().
forEach
(
function
(
control
)
{
//checa si ya se añadio el control de comparacion (swipe), si no lo tiene, lo agrega
if
(
control
instanceof
ol
.
control
.
Swipe
)
{
//si ya tiene el control agregado
...
...
@@ -220,6 +227,9 @@ function exitCompare() {
document
.
getElementById
(
"selectLeft"
).
style
.
display
=
"none"
;
document
.
getElementById
(
"selectRight"
).
style
.
display
=
"none"
;
document
.
getElementById
(
"timeLine"
).
style
.
display
=
"block"
;
//activa el boton de la grafica
$
(
'#showGraph'
).
attr
(
'disabled'
,
false
);
}
...
...
@@ -325,4 +335,4 @@ function showControlMap() {
$
(
"#hideControlMap"
).
hide
();
$
(
".mapControl"
).
hide
();
}
}
\ No newline at end of file
}
reports/templates/aside.html
View file @
e33d3386
...
...
@@ -26,7 +26,7 @@
</li>
{% else %}
<li>
<a
class=
"treeview "
href=
"#"
onclick=
"showGraph()"
>
<a
class=
"treeview "
href=
"#"
onclick=
"showGraph()"
id=
"showGraph"
>
<i
class=
"fa fa-eye showChart"
></i>
<i
class=
"fa fa-eye-slash hideChart"
style=
"display:none"
></i>
<span
class=
"showChart"
>
Show Chart
</span>
...
...
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