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
f969923e
Commit
f969923e
authored
Feb 12, 2019
by
Ulises Morales Ramírez
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
f857f0c7
e887f4fd
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
26 deletions
+39
-26
body.css
catalog/static/catalog/css/body.css
+4
-4
dataRetrieval.js
catalog/static/catalog/js/dataRetrieval.js
+6
-3
map.html
catalog/templates/map.html
+2
-2
templates.html
catalog/templates/templates.html
+27
-17
No files found.
catalog/static/catalog/css/body.css
View file @
f969923e
...
...
@@ -425,12 +425,12 @@ div .sidebar-input input[type="text"] {
height
:
35px
;
}
.control-sidebar
{
right
:
-2
5
0px
;
width
:
2
5
0px
;
right
:
-2
7
0px
;
width
:
2
7
0px
;
}
.control-sidebar-bg
{
right
:
-2
5
0px
;
width
:
2
5
0px
;
right
:
-2
7
0px
;
width
:
2
7
0px
;
}
.control-sidebar-open
{
right
:
0px
!important
;
...
...
catalog/static/catalog/js/dataRetrieval.js
View file @
f969923e
...
...
@@ -109,8 +109,10 @@ function updateCart(){
};
function
deleteProductCar
(
element
){
let
id
=
element
.
parentElement
.
querySelector
(
'span'
).
id
;
element
.
parentElement
.
parentElement
.
classList
.
remove
(
'treeview'
);
// let id = element.parentElement.querySelector('span').id;
// element.parentElement.parentElement.classList.remove('treeview');
let
id
=
element
.
parentElement
.
parentElement
.
querySelector
(
'span'
).
id
;
element
.
parentElement
.
parentElement
.
parentElement
.
parentElement
.
classList
.
remove
(
'treeview'
);
$
.
ajax
({
type
:
'POST'
,
url
:
del_prod_cartDB_url
,
...
...
@@ -120,7 +122,8 @@ function deleteProductCar(element){
},
dataType
:
'json'
,
success
:
function
(
data
)
{
element
.
parentElement
.
parentElement
.
remove
();
//element.parentElement.parentElement.remove();
element
.
parentElement
.
parentElement
.
parentElement
.
parentElement
.
remove
();
}
});
}
...
...
catalog/templates/map.html
View file @
f969923e
...
...
@@ -161,9 +161,9 @@
</span>
</a>
<ul
class=
"treeview-menu sidebar-form"
>
<span>
Fecha inicial
</span>
<span>
Start Date
</span>
<li>
{{searchForm.start}}
</li>
<span>
Fecha final
</span>
<span>
End Date
</span>
<li>
{{searchForm.end}}
</li>
</ul>
</li>
...
...
catalog/templates/templates.html
View file @
f969923e
...
...
@@ -72,9 +72,14 @@
<template
id=
"product_cart_1"
>
<li
class=
"treeview"
>
<a
href=
"#"
>
<div
class=
"row"
>
<div
class=
"col-lg-2"
style=
"padding-top:33px"
>
<i
class=
"fa fa-cubes"
></i>
</div>
<div
class=
"col-lg-8"
style=
"padding: 0px"
>
<div>
<span
id=
""
></span>
<i
class=
"glyphicon glyphicon-remove"
style=
"padding-left: 15px"
onclick=
"deleteProductCar(this);"
></i
>
</div
>
<div>
<label>
Process:
</label>
<span></span>
...
...
@@ -90,6 +95,11 @@
<span
class=
"pull-right-container"
>
<span
class=
"label label-primary pull-right"
></span>
</span>
</div>
<div
class=
"col-lg-2"
style=
"padding-top:33px"
>
<i
class=
"glyphicon glyphicon-remove"
style=
""
onclick=
"deleteProductCar(this);"
></i>
</div>
</div>
</a>
<ul
class=
"treeview-menu sidebar-form"
>
<li>
...
...
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