This repository has been archived by the owner on Jun 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/yrsIDAT/issapp
Conflicts: web/web/img/body-bg.png web/web/templates/img/body-bg.png web/web/templates/img/body_bg.png web/web/templates/index.htm
- Loading branch information
Showing
16 changed files
with
133 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
web/build/* | ||
web/web/*.pyc | ||
*.pyc | ||
*.pdn | ||
web/build/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
body{ | ||
|
||
background-image:url('img/body-bg.png'); | ||
background-size: 100%; | ||
font-family: 'Marmelad', sans-serif; | ||
z-index: -1; | ||
} | ||
|
||
div.bg-style{ | ||
|
||
background-color:#ffffff; | ||
|
||
} | ||
|
||
div.containerstyle{ | ||
|
||
width:53%; | ||
margin:auto; | ||
border:2px solid; | ||
padding-left:0.5%; | ||
padding-right:0.5%; | ||
padding-bottom:0.5%; | ||
padding-top:0.5%; | ||
overflow: auto; | ||
text-align:center; | ||
|
||
|
||
} | ||
div.centered{ | ||
margin-left:auto; | ||
margin-right:auto; | ||
} | ||
div{ | ||
border:2px solid; | ||
overflow:inherit; | ||
} | ||
|
||
.header1{ | ||
|
||
font-size:130%; | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
body{ | ||
|
||
background-image:url(/static/body_bg.png); | ||
background-size: 100%; | ||
font-family: 'Marmelad', sans-serif; | ||
z-index: -1; | ||
} | ||
|
||
div.bg-style{ | ||
|
||
background-color:#ffffff; | ||
|
||
} | ||
|
||
div.containerstyle{ | ||
|
||
width:53%; | ||
margin:auto; | ||
border:2px solid; | ||
border-image: url('/static/border.png') 25 25 25 25 repeat; | ||
padding-left:0.5%; | ||
padding-right:0.5%; | ||
padding-bottom:0.5%; | ||
padding-top:0.5%; | ||
overflow: auto; | ||
text-align:center; | ||
|
||
|
||
} | ||
div.centered{ | ||
margin-left:auto; | ||
margin-right:auto; | ||
} | ||
div{ | ||
/*border:2px solid;*/ | ||
overflow:inherit; | ||
} | ||
|
||
.header1{ | ||
|
||
font-size:130%; | ||
|
||
} | ||
|
File renamed without changes
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,9 @@ | ||
from django.conf.urls import patterns, include, url | ||
from django.conf.urls import patterns, url | ||
|
||
# Uncomment the next two lines to enable the admin: | ||
# from django.contrib import admin | ||
# admin.autodiscover() | ||
|
||
urlpatterns = patterns('', | ||
# Examples: | ||
# url(r'^$', 'web.views.home', name='home'), | ||
# url(r'^web/', include('web.foo.urls')), | ||
|
||
# Uncomment the admin/doc line below to enable admin documentation: | ||
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')), | ||
|
||
# Uncomment the next line to enable the admin: | ||
# url(r'^admin/', include(admin.site.urls)), | ||
# Home url | ||
url(r'^$', 'web.views.home',), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from django.shortcuts import HttpResponse, render_to_response | ||
import urllib3 | ||
import json | ||
|
||
|
||
def index(name, age): | ||
return HttpResponse("Hello " + name + age) | ||
|
||
|
||
def home(request): | ||
http = urllib3.PoolManager() | ||
html = http.request('GET', | ||
'http://api.uhaapi.com/passes?satid=25544&lat=27.950575&lng=-82.45717760000002') | ||
jsondata = json.loads(html.data) | ||
return render_to_response('index.htm', {'data': jsondata}) |