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
cdf41beb
Commit
cdf41beb
authored
May 28, 2018
by
Emmanuel René Huchim Puc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
send data to html
parent
3aad299f
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
43 deletions
+27
-43
rightPanel.css
catalog/static/css/rightPanel.css
+2
-3
base_top.html
catalog/templates/base_top.html
+1
-30
map.html
catalog/templates/map.html
+0
-4
productList.html
catalog/templates/productList.html
+23
-5
views.py
catalog/views.py
+1
-1
No files found.
catalog/static/css/rightPanel.css
View file @
cdf41beb
...
...
@@ -5,9 +5,8 @@
right
:
0
;
width
:
350px
;
height
:
100%
;
border
:
1px
solid
DarkSlateGray
;
background-color
:
rgba
(
250
,
250
,
255
,
0.8
);
color
:
DarkSlateGray
;
background-color
:
DarkSlateGray
;
color
:
white
;
}
.catalog
li
...
...
catalog/templates/base_top.html
View file @
cdf41beb
...
...
@@ -105,36 +105,7 @@
<!-- Home tab content -->
<div
class=
"tab-pane"
id=
"control-sidebar-home-tab"
>
<h3
class=
"control-sidebar-heading"
>
Products
</h3>
<ul
class=
"control-sidebar-menu"
>
<li>
{% if catalog %}
<p>
HI BUDDY
</p>
{% endif %}
<a
href=
"javascript:void(0)"
>
<i
class=
"menu-icon fa fa-birthday-cake bg-red"
></i>
<div
class=
"menu-info"
>
<h4
class=
"control-sidebar-subheading"
>
first image
</h4>
<p>
size: 700 mb
Date: April 11th
</p>
</div>
</a>
<a
href=
"javascript:void(0)"
>
<i
class=
"menu-icon fa fa-birthday-cake bg-red"
></i>
<div
class=
"menu-info"
>
<h4
class=
"control-sidebar-subheading"
>
second image
</h4>
<p>
size: 900 mb
Date: April 19th
</p>
</div>
</a>
</li>
</ul>
<iframe
id=
"catalogFrame"
name=
"catalogFrame"
frameBorder=
"0"
height=
"450"
width=
"210"
>
my frame
</iframe>
</div>
<!-- /.tab-pane -->
<!-- Stats tab content -->
...
...
catalog/templates/map.html
View file @
cdf41beb
...
...
@@ -194,10 +194,6 @@
</span>
</a>
</li>
<li>
<iframe
id=
"catalogFrame"
name=
"catalogFrame"
>
my frame
</iframe>
</li>
</ul>
</form>
</div>
...
...
catalog/templates/productList.html
View file @
cdf41beb
...
...
@@ -3,13 +3,31 @@
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<link
rel=
"stylesheet"
href=
"{% static 'css/rightPanel.css'%}"
type=
"text/css"
>
<link
rel=
"stylesheet"
href=
"{% static 'adminlte/bower_components/bootstrap/dist/css/bootstrap.min.css' %}"
>
<!-- Theme style -->
<link
rel=
"stylesheet"
href=
"{% static 'adminlte/dist/css/AdminLTE.css' %}"
>
<link
rel=
"stylesheet"
href=
"{% static 'adminlte/dist/css/skins/_all-skins.css' %}"
>
<link
rel=
"stylesheet"
href=
"{% static 'adminlte/bower_components/select2/dist/css/select2.min.css' %}"
>
</head>
<body>
PRUEBA
<body
style=
"background-color: #222d32; color: #fff"
>
<ul
class=
"control-sidebar-menu"
>
<li>
{% if catalog %}
<p>
HI BUDDY
</p>
{% endif %}
<a
href=
"javascript:void(0)"
>
<i
class=
"menu-icon fa fa-birthday-cake bg-red"
></i>
<div
class=
"menu-info"
>
<h4
class=
"control-sidebar-subheading"
>
first image
</h4>
<p>
size: 700 mb
Date: April 11th
</p>
</div>
</a>
</li>
</ul>
<!-- <ul class="catalog">-->
<!-- {% for i in catalog %}-->
<!-- <li>-->
...
...
catalog/views.py
View file @
cdf41beb
...
...
@@ -57,7 +57,7 @@ def productList(request):
# response = requests.get(url)
# json = response.json()
return
render
(
request
,
'
base_top
.html'
,
{
"catalog"
:
products_json
})
#"catalog":json[0]})
return
render
(
request
,
'
productList
.html'
,
{
"catalog"
:
products_json
})
#"catalog":json[0]})
#-------------------------------------------------------------------------------
class
SearchSubmitView
(
View
):
...
...
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