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
a5949114
Commit
a5949114
authored
Oct 11, 2019
by
Luis Dominguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Anchor map selector to div control-sidebar-bg
parent
aab1018f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
31 deletions
+17
-31
map.css
catalog/static/catalog/css/map.css
+2
-2
dataRetrieval.js
catalog/static/catalog/js/dataRetrieval.js
+1
-15
base_top.html
catalog/templates/base_top.html
+14
-2
map.html
catalog/templates/map.html
+0
-12
No files found.
catalog/static/catalog/css/map.css
View file @
a5949114
...
...
@@ -43,7 +43,7 @@ html, body
width
:
50px
;
height
:
50px
;
position
:
absolute
;
right
:
20px
;
/*270px*/
right
:
2
9
0px
;
/*270px*/
bottom
:
15px
;
z-index
:
1000
;
background-color
:
white
;
...
...
@@ -56,7 +56,7 @@ html, body
width
:
50px
;
height
:
50px
;
position
:
absolute
;
right
:
20px
;
/*270px*/
right
:
2
9
0px
;
/*270px*/
bottom
:
75px
;
z-index
:
1000
;
background-color
:
white
;
...
...
catalog/static/catalog/js/dataRetrieval.js
View file @
a5949114
...
...
@@ -393,7 +393,7 @@ function showProductTabPane() {
$
(
'#control-sidebar-settings-tab'
).
removeClass
(
"active"
);
$
(
'#control-sidebar-home-tab'
).
addClass
(
"active"
);
$
(
'aside'
).
addClass
(
"control-sidebar-open"
);
moveLayer
();
}
function
showCarProductsTabPanel
(){
...
...
@@ -674,17 +674,3 @@ $(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 @
a5949114
...
...
@@ -100,7 +100,7 @@
{% else %}
<li
id=
"panelShowCart"
>
{% if showcart %}
<a
id=
"product-list-toggle"
href=
"#"
data-toggle=
"control-sidebar"
onclick =
"moveLayer()"
>
<a
id=
"product-list-toggle"
href=
"#"
data-toggle=
"control-sidebar"
>
<i
class=
"fa fa-shopping-cart"
></i></a>
{% endif %}
</li>
...
...
@@ -214,7 +214,19 @@
</aside>
<!-- /.control-sidebar -->
<!-- Add the sidebar's background. This div must be placed immediately after the control sidebar -->
<div
class=
"control-sidebar-bg"
></div>
<div
class=
"control-sidebar-bg"
>
<!-- control de version de mapas -->
<div
id=
"idmapControl"
class=
"mapControl"
onclick=
"cambio.changeMap()"
>
<i
class=
"fas fa-layer-group fa-2x iii"
></i>
</div>
<!-- control de version de mapas -->
<!-- control para dibujar el poligono -->
<div
id=
"drawControl"
class=
"drawControl"
onclick=
"osmap.changeInteraction()"
>
<i
class=
"fas fa-vector-square fa-2x iii"
></i>
</div>
<!-- control para dibujar el poligono -->
</div>
</div>
<!-- ./wrapper -->
...
...
catalog/templates/map.html
View file @
a5949114
...
...
@@ -240,18 +240,6 @@
<!-- <div class="ad"> </div> -->
<!-- control de version de mapas -->
<div
id=
"idmapControl"
class=
"mapControl"
onclick=
"cambio.changeMap()"
>
<i
class=
"fas fa-layer-group fa-2x iii"
></i>
</div>
<!-- control de version de mapas -->
<!-- control para dibujar el poligono -->
<div
id=
"drawControl"
class=
"drawControl"
onclick=
"osmap.changeInteraction()"
>
<i
class=
"fas fa-vector-square fa-2x iii"
></i>
</div>
<!-- control para dibujar el poligono -->
<footer
class=
" page-footer font-small special-color-dark pt-5"
style=
"bottom: 0; position: absolute"
>
<!-- Footer Elements -->
<div
class=
"container"
>
...
...
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