Permalink
Browse files

added barebones bootstrap site with leaflet map

  • Loading branch information...
diafygi committed Jan 16, 2018
1 parent 1ef0e64 commit 64faafcd349d84838d75806ec98684d8dac3b76e
Showing with 1,047 additions and 18 deletions.
  1. +1 −0 README.md
  2. +13 −1 website/settings.py
  3. 0 website/static_pages/__init__.py
  4. +5 −0 website/static_pages/apps.py
  5. +6 −0 website/static_pages/static/bootstrap-3.3.7-dist/css/bootstrap.min.css
  6. BIN website/static_pages/static/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.eot
  7. +288 −0 website/static_pages/static/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.svg
  8. BIN website/static_pages/static/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.ttf
  9. BIN website/static_pages/static/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.woff
  10. BIN website/static_pages/static/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.woff2
  11. +7 −0 website/static_pages/static/bootstrap-3.3.7-dist/js/bootstrap.min.js
  12. +2 −0 website/static_pages/static/bootstrap.native-2.0.21-dist/bootstrap-native.min.js
  13. BIN website/static_pages/static/leaflet-1.3.0-dist/images/layers-2x.png
  14. BIN website/static_pages/static/leaflet-1.3.0-dist/images/layers.png
  15. BIN website/static_pages/static/leaflet-1.3.0-dist/images/marker-icon-2x.png
  16. BIN website/static_pages/static/leaflet-1.3.0-dist/images/marker-icon.png
  17. BIN website/static_pages/static/leaflet-1.3.0-dist/images/marker-shadow.png
  18. +636 −0 website/static_pages/static/leaflet-1.3.0-dist/leaflet.css
  19. +5 −0 website/static_pages/static/leaflet-1.3.0-dist/leaflet.js
  20. +44 −0 website/static_pages/templates/base.html
  21. +30 −0 website/static_pages/templates/landing.html
  22. +6 −0 website/static_pages/urls.py
  23. +4 −17 website/urls.py
@@ -454,6 +454,7 @@ are released under their respective open source licenses.
* Bootstrap - [MIT](https://github.com/twbs/bootstrap#copyright-and-license)
* Bootstrap.native - [MIT](https://github.com/thednp/bootstrap.native#license)
* Leaflet - [BSD-2-Clause](https://github.com/Leaflet/Leaflet/blob/master/LICENSE)
* Django - [BSD](https://github.com/django/django/blob/master/LICENSE)
* PostgreSQL - [PostgreSQL Licence](https://www.postgresql.org/about/licence/)
* PostGIS - [GPLv2](https://postgis.net/docs/manual-dev/PostGIS_FAQ.html#license_faq)
@@ -31,13 +31,22 @@
# Application definition
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'static_pages',
]
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
@@ -68,7 +77,7 @@
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
'NAME': ':memory:',
}
}
@@ -110,3 +119,6 @@
# https://docs.djangoproject.com/en/2.0/howto/static-files/
STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
]
No changes.
@@ -0,0 +1,5 @@
from django.apps import AppConfig
class StaticPagesConfig(AppConfig):
name = 'static_pages'

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.

0 comments on commit 64faafc

Please sign in to comment.