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
a7a8d520
Commit
a7a8d520
authored
Oct 09, 2019
by
Luis Dominguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Boton perfil de mapas, desplazamiento al abrirse el showProductTabPane
parent
e1357762
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
6 deletions
+22
-6
map.css
catalog/static/catalog/css/map.css
+2
-2
dataRetrieval.js
catalog/static/catalog/js/dataRetrieval.js
+17
-1
base_top.html
catalog/templates/base_top.html
+2
-2
map.html
catalog/templates/map.html
+1
-1
No files found.
catalog/static/catalog/css/map.css
View file @
a7a8d520
...
@@ -43,9 +43,9 @@ html, body
...
@@ -43,9 +43,9 @@ html, body
width
:
50px
;
width
:
50px
;
height
:
50px
;
height
:
50px
;
position
:
absolute
;
position
:
absolute
;
right
:
20px
;
right
:
20px
;
/*270px*/
bottom
:
15px
;
bottom
:
15px
;
z-index
:
100
;
z-index
:
100
0
;
background-color
:
white
;
background-color
:
white
;
border-radius
:
5px
;
border-radius
:
5px
;
border
:
none
;
border
:
none
;
...
...
catalog/static/catalog/js/dataRetrieval.js
View file @
a7a8d520
...
@@ -393,6 +393,7 @@ function showProductTabPane() {
...
@@ -393,6 +393,7 @@ function showProductTabPane() {
$
(
'#control-sidebar-settings-tab'
).
removeClass
(
"active"
);
$
(
'#control-sidebar-settings-tab'
).
removeClass
(
"active"
);
$
(
'#control-sidebar-home-tab'
).
addClass
(
"active"
);
$
(
'#control-sidebar-home-tab'
).
addClass
(
"active"
);
$
(
'aside'
).
addClass
(
"control-sidebar-open"
);
$
(
'aside'
).
addClass
(
"control-sidebar-open"
);
moveLayer
();
}
}
function
showCarProductsTabPanel
(){
function
showCarProductsTabPanel
(){
...
@@ -545,7 +546,7 @@ $(document).ready(function () {
...
@@ -545,7 +546,7 @@ $(document).ready(function () {
});
});
}
else
{
}
else
{
noData
();
noData
();
//activa la alerta
hideWaitingModal
();
hideWaitingModal
();
$
(
'aside'
).
removeClass
(
"control-sidebar-open"
);
$
(
'aside'
).
removeClass
(
"control-sidebar-open"
);
//Comenté la siguiente funcion porque causaba error al ser llamada y no aportaba al algun cambio al proyecto
//Comenté la siguiente funcion porque causaba error al ser llamada y no aportaba al algun cambio al proyecto
...
@@ -672,3 +673,18 @@ $(document).ready(function () {
...
@@ -672,3 +673,18 @@ $(document).ready(function () {
}
}
});
});
});
});
var
imc
=
true
;
function
moveLayer
()
{
if
(
imc
){
setTimeout
(
function
()
{
document
.
getElementById
(
"idmapControl"
).
style
.
right
=
"290px"
;
},
500
)
imc
=
false
}
else
{
setTimeout
(
function
()
{
document
.
getElementById
(
"idmapControl"
).
style
.
right
=
"20px"
;
},
500
)
imc
=
true
}
}
catalog/templates/base_top.html
View file @
a7a8d520
...
@@ -100,8 +100,8 @@
...
@@ -100,8 +100,8 @@
{% else %}
{% else %}
<li
id=
"panelShowCart"
>
<li
id=
"panelShowCart"
>
{% if showcart %}
{% if showcart %}
<a
id=
"product-list-toggle"
href=
"#"
data-toggle=
"control-sidebar"
><i
<a
id=
"product-list-toggle"
href=
"#"
data-toggle=
"control-sidebar"
onclick =
"moveLayer()"
>
class=
"fa fa-shopping-cart"
></i></a>
<i
class=
"fa fa-shopping-cart"
></i></a>
{% endif %}
{% endif %}
</li>
</li>
{% endif %}
{% endif %}
...
...
catalog/templates/map.html
View file @
a7a8d520
...
@@ -241,7 +241,7 @@
...
@@ -241,7 +241,7 @@
<!-- <div class="ad"> </div> -->
<!-- <div class="ad"> </div> -->
<!-- control de version de mapas -->
<!-- control de version de mapas -->
<div
class=
"mapControl"
onclick=
"cambio.changeMap()"
>
<div
id=
"idmapControl"
class=
"mapControl"
onclick=
"cambio.changeMap()"
>
<i
class=
"fas fa-layer-group fa-2x iii"
></i>
<i
class=
"fas fa-layer-group fa-2x iii"
></i>
</div>
</div>
<!-- control de version de mapas -->
<!-- control de version de mapas -->
...
...
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