+
diff --git a/Makefile b/Makefile deleted file mode 100644 index b1f6a9fa..00000000 --- a/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -SETTINGS = bornhack.settings.development - -all: migrate superuser run - -migrations: - ./dev.sh makemigrations --settings=$(SETTINGS) - -migrate: - ./dev.sh migrate --settings=$(SETTINGS) - -superuser: - ./dev.sh createsuperuser --settings=$(SETTINGS) - -run: - ./dev.sh runserver --settings=$(SETTINGS) - -.PHONY = all migrations migrate superuser run diff --git a/README.md b/README.md index 5d78b366..a503f09a 100644 --- a/README.md +++ b/README.md @@ -6,31 +6,50 @@ Django project to power Bornhack. Features include news, villages, webshop, and ### Virtualenv Create a Python 2.7 virtual environment and activate it: - $ virtualenv venv - $ source venv/bin/activate +``` +$ virtualenv venv +$ source venv/bin/activate +``` ### System libraries Install system dependencies (method depends on OS): -- postgresql headers (for psychopg2) +- postgresql headers (for psychopg2): + - Debian: ? + - FreeBSD: ? - libjpeg (for pdf generation) + - Debian: libjpeg-dev + - FreeBSD: ? ### Python packages -Install pip packages (pick either development or production): - (venv) $ pip install -r requirements/development.txt - (venv) $ pip install -r requirements/production.txt +Install pip packages: +``` + (venv) $ pip install -r requirements.txt +``` ### Configuration file -Copy environment file template and change settings: +Copy environment file template and change settings as needed: +``` (venv) $ cp bornhack/settings/env.dist bornhack/settings/.env +``` ### Database Is this a new installation? Initialize the database: - (venv) $ ./manage.py migrate --settings=bornhack.settings.development - (venv) $ ./manage.py createsuperuser --settings=bornhack.settings.development +``` + (venv) $ ./manage.py migrate +``` + +Is this for local development? Bootstrap the database with dummy data and users: +``` + (venv) $ ./manage.py bootstrap-devsite +``` ### Done Is this for local development? Start the Django devserver: - (venv) $ ./manage.py runserver --settings=bornhack.settings.development +``` + (venv) $ ./manage.py runserver +``` Otherwise start uwsgi or similar to serve the application. +Enjoy! + diff --git a/bornhack/settings/.env.dist b/bornhack/.env.dist similarity index 88% rename from bornhack/settings/.env.dist rename to bornhack/.env.dist index 7d025aed..f485fd14 100644 --- a/bornhack/settings/.env.dist +++ b/bornhack/.env.dist @@ -1,6 +1,7 @@ ### set database url and allowed_hosts here DATABASE_URL=postgres://username:password@host:port/database ALLOWED_HOSTS=localhost,127.0.0.1 +DEBUG=True ### changes below here are only needed for production SECRET_KEY=somethingverysecretandunique @@ -29,4 +30,7 @@ BANKACCOUNT_IBAN='123' BANKACCOUNT_SWIFTBIC='123' BANKACCOUNT_REG='123' BANKACCOUNT_ACCOUNT='123' +TIME_ZONE='Europe/Copenhagen' +SCHEDULE_MIDNIGHT_OFFSET_HOURS=6 +SCHEDULE_TIMESLOT_LENGTH_MINUTES=30 diff --git a/bornhack/settings/base.py b/bornhack/settings.py similarity index 66% rename from bornhack/settings/base.py rename to bornhack/settings.py index 40691913..7640f228 100644 --- a/bornhack/settings/base.py +++ b/bornhack/settings.py @@ -42,6 +42,8 @@ INSTALLED_APPS = [ 'utils', 'villages', 'program', + 'info', + 'sponsors', 'allauth', 'allauth.account', @@ -53,10 +55,14 @@ STATIC_ROOT = local_dir('static') STATICFILES_DIRS = [local_dir('static_src')] MEDIA_ROOT = env('MEDIA_ROOT') LANGUAGE_CODE = 'en-us' -TIME_ZONE = 'UTC' -USE_I18N = True -USE_L10N = True +TIME_ZONE = env('TIME_ZONE') +#USE_I18N = True +#USE_L10N = True USE_TZ = True +SHORT_DATE_FORMAT = 'd/m-Y' +DATE_FORMAT = 'd/m-Y' +DATETIME_FORMAT = 'd/m-Y H:i' +TIME_FORMAT = 'H:i' TEMPLATES = [ { @@ -69,9 +75,9 @@ TEMPLATES = [ 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', - 'camps.context_processors.current_camp', 'shop.context_processors.current_order', 'shop.context_processors.user_has_tickets', + 'camps.context_processors.camp', ], }, }, @@ -92,8 +98,8 @@ MIDDLEWARE_CLASSES = [ LOGIN_REDIRECT_URL = 'profiles:detail' AUTHENTICATION_BACKENDS = ( - 'django.contrib.auth.backends.ModelBackend', # Login to admin with username - 'allauth.account.auth_backends.AuthenticationBackend', + 'django.contrib.auth.backends.ModelBackend', # Handles login to admin with username + 'allauth.account.auth_backends.AuthenticationBackend', # Handles regular logins ) ACCOUNT_AUTHENTICATION_METHOD = 'email' @@ -127,3 +133,46 @@ BANKACCOUNT_REG = env('BANKACCOUNT_REG') BANKACCOUNT_ACCOUNT = env('BANKACCOUNT_ACCOUNT') TICKET_CATEGORY_ID = env('TICKET_CATEGORY_ID') + +DEBUG = env('DEBUG') +if DEBUG: + EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' + INSTALLED_APPS += ['debug_toolbar', ] + MIDDLEWARE_CLASSES += ['debug_toolbar.middleware.DebugToolbarMiddleware', ] + +else: + EMAIL_HOST = env('EMAIL_HOST') + EMAIL_PORT = env('EMAIL_PORT') + EMAIL_HOST_USER = env('EMAIL_HOST_USER') + EMAIL_HOST_PASSWORD = env('EMAIL_HOST_PASSWORD') + EMAIL_USE_TLS = env('EMAIL_USE_TLS') + DEFAULT_FROM_EMAIL = env('DEFAULT_FROM_EMAIL') + SERVER_EMAIL = env('DEFAULT_FROM_EMAIL') + ARCHIVE_EMAIL = env('ARCHIVE_EMAIL') + +LOGGING = { + 'version': 1, + 'disable_existing_loggers': False, + 'handlers': { + 'mail_admins': { + 'level': 'ERROR', + 'class': 'django.utils.log.AdminEmailHandler', + }, + 'console': { + 'level':'DEBUG', + 'class':'logging.StreamHandler', + }, + }, + 'loggers': { + 'django.request': { + 'handlers': ['mail_admins'], + 'level': 'ERROR', + 'propagate': True, + }, + } +} + +# schedule settings +SCHEDULE_MIDNIGHT_OFFSET_HOURS=int(env('SCHEDULE_MIDNIGHT_OFFSET_HOURS')) +SCHEDULE_TIMESLOT_LENGTH_MINUTES=int(env('SCHEDULE_TIMESLOT_LENGTH_MINUTES')) + diff --git a/bornhack/settings/development.py b/bornhack/settings/development.py deleted file mode 100644 index 90f451a0..00000000 --- a/bornhack/settings/development.py +++ /dev/null @@ -1,11 +0,0 @@ -from .base import * -import environ -env = environ.Env() -environ.Env.read_env() - -DEBUG = True - -EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' - -# INSTALLED_APPS += ['debug_toolbar', ] - diff --git a/bornhack/settings/production.py b/bornhack/settings/production.py deleted file mode 100644 index 0860e467..00000000 --- a/bornhack/settings/production.py +++ /dev/null @@ -1,38 +0,0 @@ -from .base import * -import environ -env = environ.Env() -environ.Env.read_env() - -DEBUG = False - -EMAIL_HOST = env('EMAIL_HOST') -EMAIL_PORT = env('EMAIL_PORT') -EMAIL_HOST_USER = env('EMAIL_HOST_USER') -EMAIL_HOST_PASSWORD = env('EMAIL_HOST_PASSWORD') -EMAIL_USE_TLS = env('EMAIL_USE_TLS') -DEFAULT_FROM_EMAIL = env('DEFAULT_FROM_EMAIL') -SERVER_EMAIL = env('DEFAULT_FROM_EMAIL') -ARCHIVE_EMAIL = env('ARCHIVE_EMAIL') - -LOGGING = { - 'version': 1, - 'disable_existing_loggers': False, - 'handlers': { - 'mail_admins': { - 'level': 'ERROR', - 'class': 'django.utils.log.AdminEmailHandler', - }, - 'console': { - 'level':'DEBUG', - 'class':'logging.StreamHandler', - }, - }, - 'loggers': { - 'django.request': { - 'handlers': ['mail_admins'], - 'level': 'ERROR', - 'propagate': True, - }, - } -} - diff --git a/bornhack/templates/frontpage.html b/bornhack/templates/frontpage.html deleted file mode 100644 index d4d496c1..00000000 --- a/bornhack/templates/frontpage.html +++ /dev/null @@ -1,132 +0,0 @@ -{% extends 'base.html' %} -{% load static from staticfiles %} - -{% block content %} - -
- Bornhack is a participatory event where we expect people - to come up with ideas and projects, and help make the content. We will reach out to - people to ensure interesting, high quality talks and workshops. -
-- You are very welcome to ask questions and show your interest on our different channels: -
- {% include 'includes/contact.html' %} -- Follow and like us to get updates about BornHack. -
- -- We hope you want to be a part of Bornhack. Ticket sales for 2017 will be open soon! -
- - - - -Many of the speakers and keynotes were present for the full week, providing participants with ample opportunity to discuss projects and exchange ideas.
+Name | +Tagline | +Buildup | +Camp | +Teardown | +
---|---|---|---|---|
{{ listcamp.title }} | +{{ listcamp.tagline }} | +{{ listcamp.buildup.lower }} to {{ listcamp.buildup.upper }} | +{{ listcamp.camp.lower }} to {{ listcamp.camp.upper }} | +{{ listcamp.teardown.lower }} to {{ listcamp.teardown.upper }} | +
+ {% for category in categories %} + {{ category.headline }} + {% endfor %} +
+{{ item.body }}
++ +
{{ timeslot.time }} | + {% for eventinstance in eventinstances %} + {% if eventinstance.when.lower.time == timeslot.time %} +
+
+ {{ eventinstance.event.title }} + {{ eventinstance.when.lower.time }}-{{ eventinstance.when.upper.time }} + + |
+ {% endif %}
+ {% endfor %}
+
+ {{ event.abstract|commonmark }} + {% if event.speakers.exists %} +
- Schedule - Call for Speakers - Speakers - Talks & Events -
- -- This is an alphabetical list of our current sponsors. We are immensely - grateful for all the help we are getting, and we are looking forward to - adding more names to this list. + This is an alphabetical list of the BornHack 2016 sponsors. An event like BornHack can not be built on hard work and + good intentions alone - it would simply not have been possible without the financial help from these organisations. Thank you, we are immensely grateful!
diff --git a/sponsors/tests.py b/sponsors/tests.py new file mode 100644 index 00000000..7ce503c2 --- /dev/null +++ b/sponsors/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/sponsors/views.py b/sponsors/views.py new file mode 100644 index 00000000..d8565fe0 --- /dev/null +++ b/sponsors/views.py @@ -0,0 +1,9 @@ +from django.views.generic import TemplateView +from camps.mixins import CampViewMixin + + +class SponsorView(CampViewMixin, TemplateView): + def get_template_names(self): + return '%s-sponsors.html' % self.camp.slug + + diff --git a/bornhack/static_src/css/bootstrap-theme.css b/static_src/css/bootstrap-theme.css similarity index 100% rename from bornhack/static_src/css/bootstrap-theme.css rename to static_src/css/bootstrap-theme.css diff --git a/bornhack/static_src/css/bootstrap-theme.css.map b/static_src/css/bootstrap-theme.css.map similarity index 100% rename from bornhack/static_src/css/bootstrap-theme.css.map rename to static_src/css/bootstrap-theme.css.map diff --git a/bornhack/static_src/css/bootstrap-theme.min.css b/static_src/css/bootstrap-theme.min.css similarity index 100% rename from bornhack/static_src/css/bootstrap-theme.min.css rename to static_src/css/bootstrap-theme.min.css diff --git a/bornhack/static_src/css/bootstrap.css b/static_src/css/bootstrap.css similarity index 100% rename from bornhack/static_src/css/bootstrap.css rename to static_src/css/bootstrap.css diff --git a/bornhack/static_src/css/bootstrap.css.map b/static_src/css/bootstrap.css.map similarity index 100% rename from bornhack/static_src/css/bootstrap.css.map rename to static_src/css/bootstrap.css.map diff --git a/bornhack/static_src/css/bootstrap.min.css b/static_src/css/bootstrap.min.css similarity index 100% rename from bornhack/static_src/css/bootstrap.min.css rename to static_src/css/bootstrap.min.css diff --git a/bornhack/static_src/css/bornhack.css b/static_src/css/bornhack.css similarity index 80% rename from bornhack/static_src/css/bornhack.css rename to static_src/css/bornhack.css index dbb1fbff..cf2e9e21 100644 --- a/bornhack/static_src/css/bornhack.css +++ b/static_src/css/bornhack.css @@ -1,5 +1,5 @@ body { - margin-top: 90px; + margin-top: 85px; margin-bottom: 35px; } @@ -42,23 +42,7 @@ a, a:active, a:focus { } .navbar-fixed-top { - min-height: 80px; -} - -@media (min-width: 768px) { - .nav li a { - padding: 30px 15px; - } - .nav { - float: right!important; - } -} - -@media (max-width: 767px) { - .nav li { - text-align: center; - font-size: 20px; - } + min-height: 70px; } .navbar-toggle .icon-bar { @@ -121,13 +105,8 @@ footer { } .event { - max-width: 200px; width: 200px; - height: 150px; - display: inline-block; - margin: 5px 5px; padding: 5px; - flex: 1 1 auto; } .event:hover { @@ -135,3 +114,4 @@ footer { color: white !important; text-decoration: none; } + diff --git a/bornhack/static_src/css/leaflet.css b/static_src/css/leaflet.css similarity index 100% rename from bornhack/static_src/css/leaflet.css rename to static_src/css/leaflet.css diff --git a/bornhack/static_src/fonts/glyphicons-halflings-regular.eot b/static_src/fonts/glyphicons-halflings-regular.eot similarity index 100% rename from bornhack/static_src/fonts/glyphicons-halflings-regular.eot rename to static_src/fonts/glyphicons-halflings-regular.eot diff --git a/bornhack/static_src/fonts/glyphicons-halflings-regular.svg b/static_src/fonts/glyphicons-halflings-regular.svg similarity index 100% rename from bornhack/static_src/fonts/glyphicons-halflings-regular.svg rename to static_src/fonts/glyphicons-halflings-regular.svg diff --git a/bornhack/static_src/fonts/glyphicons-halflings-regular.ttf b/static_src/fonts/glyphicons-halflings-regular.ttf similarity index 100% rename from bornhack/static_src/fonts/glyphicons-halflings-regular.ttf rename to static_src/fonts/glyphicons-halflings-regular.ttf diff --git a/bornhack/static_src/fonts/glyphicons-halflings-regular.woff b/static_src/fonts/glyphicons-halflings-regular.woff similarity index 100% rename from bornhack/static_src/fonts/glyphicons-halflings-regular.woff rename to static_src/fonts/glyphicons-halflings-regular.woff diff --git a/bornhack/static_src/fonts/glyphicons-halflings-regular.woff2 b/static_src/fonts/glyphicons-halflings-regular.woff2 similarity index 100% rename from bornhack/static_src/fonts/glyphicons-halflings-regular.woff2 rename to static_src/fonts/glyphicons-halflings-regular.woff2 diff --git a/static_src/img/bornhack-2016/ahf/jarlsgaard.jpg b/static_src/img/bornhack-2016/ahf/jarlsgaard.jpg new file mode 100644 index 00000000..aea7c3df Binary files /dev/null and b/static_src/img/bornhack-2016/ahf/jarlsgaard.jpg differ diff --git a/static_src/img/bornhack-2016/ahf/thumbnail_jarlsgaard.jpg.png b/static_src/img/bornhack-2016/ahf/thumbnail_jarlsgaard.jpg.png new file mode 100644 index 00000000..1f3594b4 Binary files /dev/null and b/static_src/img/bornhack-2016/ahf/thumbnail_jarlsgaard.jpg.png differ diff --git a/static_src/img/bornhack-2016/esbjerg/1600x1000-B12A2398.jpg b/static_src/img/bornhack-2016/esbjerg/1600x1000-B12A2398.jpg new file mode 100644 index 00000000..1bd1a630 Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/1600x1000-B12A2398.jpg differ diff --git a/static_src/img/bornhack-2016/esbjerg/1600x900-B12A2452.jpg b/static_src/img/bornhack-2016/esbjerg/1600x900-B12A2452.jpg new file mode 100644 index 00000000..d8992840 Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/1600x900-B12A2452.jpg differ diff --git a/static_src/img/bornhack-2016/esbjerg/1600x900-B12A2485.jpg b/static_src/img/bornhack-2016/esbjerg/1600x900-B12A2485.jpg new file mode 100644 index 00000000..ff21e77f Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/1600x900-B12A2485.jpg differ diff --git a/static_src/img/bornhack-2016/esbjerg/1600x900-B12A2514.jpg b/static_src/img/bornhack-2016/esbjerg/1600x900-B12A2514.jpg new file mode 100644 index 00000000..022a0fe1 Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/1600x900-B12A2514.jpg differ diff --git a/static_src/img/bornhack-2016/esbjerg/1600x900-B12A2604.jpg b/static_src/img/bornhack-2016/esbjerg/1600x900-B12A2604.jpg new file mode 100644 index 00000000..5ca07ff7 Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/1600x900-B12A2604.jpg differ diff --git a/static_src/img/bornhack-2016/esbjerg/1600x900-B12A2608.jpg b/static_src/img/bornhack-2016/esbjerg/1600x900-B12A2608.jpg new file mode 100644 index 00000000..b370b746 Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/1600x900-B12A2608.jpg differ diff --git a/static_src/img/bornhack-2016/esbjerg/1600x988-B12A2610.jpg b/static_src/img/bornhack-2016/esbjerg/1600x988-B12A2610.jpg new file mode 100644 index 00000000..6cd3fd80 Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/1600x988-B12A2610.jpg differ diff --git a/static_src/img/bornhack-2016/esbjerg/1600x988-B12A2612.jpg b/static_src/img/bornhack-2016/esbjerg/1600x988-B12A2612.jpg new file mode 100644 index 00000000..68bb1c1f Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/1600x988-B12A2612.jpg differ diff --git a/static_src/img/bornhack-2016/esbjerg/1600x988-B12A2620.jpg b/static_src/img/bornhack-2016/esbjerg/1600x988-B12A2620.jpg new file mode 100644 index 00000000..8a12f615 Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/1600x988-B12A2620.jpg differ diff --git a/static_src/img/bornhack-2016/esbjerg/1600x988-B12A2624.jpg b/static_src/img/bornhack-2016/esbjerg/1600x988-B12A2624.jpg new file mode 100644 index 00000000..3a1ba159 Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/1600x988-B12A2624.jpg differ diff --git a/static_src/img/bornhack-2016/esbjerg/1600x988-B12A2631.jpg b/static_src/img/bornhack-2016/esbjerg/1600x988-B12A2631.jpg new file mode 100644 index 00000000..9510dc07 Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/1600x988-B12A2631.jpg differ diff --git a/static_src/img/bornhack-2016/esbjerg/1600x988-B12A2634.jpg b/static_src/img/bornhack-2016/esbjerg/1600x988-B12A2634.jpg new file mode 100644 index 00000000..5bb0237d Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/1600x988-B12A2634.jpg differ diff --git a/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x1000-B12A2398.jpg.png b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x1000-B12A2398.jpg.png new file mode 100644 index 00000000..c02a44ad Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x1000-B12A2398.jpg.png differ diff --git a/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x900-B12A2452.jpg.png b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x900-B12A2452.jpg.png new file mode 100644 index 00000000..927e5bed Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x900-B12A2452.jpg.png differ diff --git a/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x900-B12A2485.jpg.png b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x900-B12A2485.jpg.png new file mode 100644 index 00000000..7fe151f3 Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x900-B12A2485.jpg.png differ diff --git a/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x900-B12A2514.jpg.png b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x900-B12A2514.jpg.png new file mode 100644 index 00000000..17c49c34 Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x900-B12A2514.jpg.png differ diff --git a/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x900-B12A2604.jpg.png b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x900-B12A2604.jpg.png new file mode 100644 index 00000000..22da8f2f Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x900-B12A2604.jpg.png differ diff --git a/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x900-B12A2608.jpg.png b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x900-B12A2608.jpg.png new file mode 100644 index 00000000..673b5ea4 Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x900-B12A2608.jpg.png differ diff --git a/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x988-B12A2610.jpg.png b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x988-B12A2610.jpg.png new file mode 100644 index 00000000..ec7aca37 Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x988-B12A2610.jpg.png differ diff --git a/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x988-B12A2612.jpg.png b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x988-B12A2612.jpg.png new file mode 100644 index 00000000..af45d0d7 Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x988-B12A2612.jpg.png differ diff --git a/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x988-B12A2620.jpg.png b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x988-B12A2620.jpg.png new file mode 100644 index 00000000..7940ce36 Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x988-B12A2620.jpg.png differ diff --git a/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x988-B12A2624.jpg.png b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x988-B12A2624.jpg.png new file mode 100644 index 00000000..2b4d3337 Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x988-B12A2624.jpg.png differ diff --git a/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x988-B12A2631.jpg.png b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x988-B12A2631.jpg.png new file mode 100644 index 00000000..9ad74cc2 Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x988-B12A2631.jpg.png differ diff --git a/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x988-B12A2634.jpg.png b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x988-B12A2634.jpg.png new file mode 100644 index 00000000..d067eca0 Binary files /dev/null and b/static_src/img/bornhack-2016/esbjerg/thumbnail_1600x988-B12A2634.jpg.png differ diff --git a/static_src/img/bornhack-2016/fonsmark/FA0_1961.JPG b/static_src/img/bornhack-2016/fonsmark/FA0_1961.JPG new file mode 100644 index 00000000..3021abd6 Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/FA0_1961.JPG differ diff --git a/static_src/img/bornhack-2016/fonsmark/FA0_1983.JPG b/static_src/img/bornhack-2016/fonsmark/FA0_1983.JPG new file mode 100644 index 00000000..0d350076 Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/FA0_1983.JPG differ diff --git a/static_src/img/bornhack-2016/fonsmark/FA0_1986.JPG b/static_src/img/bornhack-2016/fonsmark/FA0_1986.JPG new file mode 100644 index 00000000..b75c1743 Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/FA0_1986.JPG differ diff --git a/static_src/img/bornhack-2016/fonsmark/FB1_5090.JPG b/static_src/img/bornhack-2016/fonsmark/FB1_5090.JPG new file mode 100644 index 00000000..bb106995 Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/FB1_5090.JPG differ diff --git a/static_src/img/bornhack-2016/fonsmark/FB1_5111.JPG b/static_src/img/bornhack-2016/fonsmark/FB1_5111.JPG new file mode 100644 index 00000000..a20b19f6 Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/FB1_5111.JPG differ diff --git a/static_src/img/bornhack-2016/fonsmark/FB1_5126.JPG b/static_src/img/bornhack-2016/fonsmark/FB1_5126.JPG new file mode 100644 index 00000000..f896ced9 Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/FB1_5126.JPG differ diff --git a/static_src/img/bornhack-2016/fonsmark/FB1_5128.JPG b/static_src/img/bornhack-2016/fonsmark/FB1_5128.JPG new file mode 100644 index 00000000..a8500095 Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/FB1_5128.JPG differ diff --git a/static_src/img/bornhack-2016/fonsmark/FB1_5149.JPG b/static_src/img/bornhack-2016/fonsmark/FB1_5149.JPG new file mode 100644 index 00000000..0af45b58 Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/FB1_5149.JPG differ diff --git a/static_src/img/bornhack-2016/fonsmark/FB1_5168.JPG b/static_src/img/bornhack-2016/fonsmark/FB1_5168.JPG new file mode 100644 index 00000000..43cae016 Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/FB1_5168.JPG differ diff --git a/static_src/img/bornhack-2016/fonsmark/FB1_5265.JPG b/static_src/img/bornhack-2016/fonsmark/FB1_5265.JPG new file mode 100644 index 00000000..a1c9c852 Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/FB1_5265.JPG differ diff --git a/static_src/img/bornhack-2016/fonsmark/FB1_5312.JPG b/static_src/img/bornhack-2016/fonsmark/FB1_5312.JPG new file mode 100644 index 00000000..a0751d78 Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/FB1_5312.JPG differ diff --git a/static_src/img/bornhack-2016/fonsmark/thumbnail_FA0_1961.JPG.png b/static_src/img/bornhack-2016/fonsmark/thumbnail_FA0_1961.JPG.png new file mode 100644 index 00000000..4bcd2977 Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/thumbnail_FA0_1961.JPG.png differ diff --git a/static_src/img/bornhack-2016/fonsmark/thumbnail_FA0_1983.JPG.png b/static_src/img/bornhack-2016/fonsmark/thumbnail_FA0_1983.JPG.png new file mode 100644 index 00000000..b737c7e1 Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/thumbnail_FA0_1983.JPG.png differ diff --git a/static_src/img/bornhack-2016/fonsmark/thumbnail_FA0_1986.JPG.png b/static_src/img/bornhack-2016/fonsmark/thumbnail_FA0_1986.JPG.png new file mode 100644 index 00000000..823dbcec Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/thumbnail_FA0_1986.JPG.png differ diff --git a/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5090.JPG.png b/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5090.JPG.png new file mode 100644 index 00000000..fd9ca58c Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5090.JPG.png differ diff --git a/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5111.JPG.png b/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5111.JPG.png new file mode 100644 index 00000000..3b47fd78 Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5111.JPG.png differ diff --git a/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5126.JPG.png b/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5126.JPG.png new file mode 100644 index 00000000..ccfdd511 Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5126.JPG.png differ diff --git a/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5128.JPG.png b/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5128.JPG.png new file mode 100644 index 00000000..0591c39e Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5128.JPG.png differ diff --git a/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5149.JPG.png b/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5149.JPG.png new file mode 100644 index 00000000..a4c0ccc3 Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5149.JPG.png differ diff --git a/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5168.JPG.png b/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5168.JPG.png new file mode 100644 index 00000000..5f70dc98 Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5168.JPG.png differ diff --git a/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5265.JPG.png b/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5265.JPG.png new file mode 100644 index 00000000..52aaaddf Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5265.JPG.png differ diff --git a/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5312.JPG.png b/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5312.JPG.png new file mode 100644 index 00000000..92a3b857 Binary files /dev/null and b/static_src/img/bornhack-2016/fonsmark/thumbnail_FB1_5312.JPG.png differ diff --git a/bornhack/static_src/img/logo.png b/static_src/img/bornhack-2016/logo/bornhack-2016-logo-large.png similarity index 100% rename from bornhack/static_src/img/logo.png rename to static_src/img/bornhack-2016/logo/bornhack-2016-logo-large.png diff --git a/bornhack/static_src/img/logo-new.png b/static_src/img/bornhack-2016/logo/bornhack-2016-logo-small.png similarity index 100% rename from bornhack/static_src/img/logo-new.png rename to static_src/img/bornhack-2016/logo/bornhack-2016-logo-small.png diff --git a/bornhack/static_src/img/logo-new-paths.svg b/static_src/img/bornhack-2016/logo/logo-new-paths.svg similarity index 100% rename from bornhack/static_src/img/logo-new-paths.svg rename to static_src/img/bornhack-2016/logo/logo-new-paths.svg diff --git a/static_src/img/bornhack-2016/logo/logo-new.png b/static_src/img/bornhack-2016/logo/logo-new.png new file mode 100644 index 00000000..ede32e9e Binary files /dev/null and b/static_src/img/bornhack-2016/logo/logo-new.png differ diff --git a/bornhack/static_src/img/logo-new.svg b/static_src/img/bornhack-2016/logo/logo-new.svg similarity index 100% rename from bornhack/static_src/img/logo-new.svg rename to static_src/img/bornhack-2016/logo/logo-new.svg diff --git a/static_src/img/bornhack-2016/logo/logo.png b/static_src/img/bornhack-2016/logo/logo.png new file mode 100644 index 00000000..3a503c33 Binary files /dev/null and b/static_src/img/bornhack-2016/logo/logo.png differ diff --git a/bornhack/static_src/img/logo.svg b/static_src/img/bornhack-2016/logo/logo.svg similarity index 100% rename from bornhack/static_src/img/logo.svg rename to static_src/img/bornhack-2016/logo/logo.svg diff --git a/static_src/img/logo-large.png b/static_src/img/logo-large.png new file mode 100644 index 00000000..654217d7 Binary files /dev/null and b/static_src/img/logo-large.png differ diff --git a/static_src/img/logo-small.png b/static_src/img/logo-small.png new file mode 100644 index 00000000..1529b2d6 Binary files /dev/null and b/static_src/img/logo-small.png differ diff --git a/bornhack/static_src/img/sponsors/CSIS_PRI_LOGO_TURQUOISE_RGB.jpg b/static_src/img/sponsors/CSIS_PRI_LOGO_TURQUOISE_RGB.jpg similarity index 100% rename from bornhack/static_src/img/sponsors/CSIS_PRI_LOGO_TURQUOISE_RGB.jpg rename to static_src/img/sponsors/CSIS_PRI_LOGO_TURQUOISE_RGB.jpg diff --git a/bornhack/static_src/img/sponsors/DKUUGlogo.jpeg b/static_src/img/sponsors/DKUUGlogo.jpeg similarity index 100% rename from bornhack/static_src/img/sponsors/DKUUGlogo.jpeg rename to static_src/img/sponsors/DKUUGlogo.jpeg diff --git a/bornhack/static_src/img/sponsors/KristiansKaffe_Logo_Hires1.0.jpg b/static_src/img/sponsors/KristiansKaffe_Logo_Hires1.0.jpg similarity index 100% rename from bornhack/static_src/img/sponsors/KristiansKaffe_Logo_Hires1.0.jpg rename to static_src/img/sponsors/KristiansKaffe_Logo_Hires1.0.jpg diff --git a/bornhack/static_src/img/sponsors/PROSA-logo.png b/static_src/img/sponsors/PROSA-logo.png similarity index 100% rename from bornhack/static_src/img/sponsors/PROSA-logo.png rename to static_src/img/sponsors/PROSA-logo.png diff --git a/bornhack/static_src/img/sponsors/PS_Logo_CMYK_DK.png b/static_src/img/sponsors/PS_Logo_CMYK_DK.png similarity index 100% rename from bornhack/static_src/img/sponsors/PS_Logo_CMYK_DK.png rename to static_src/img/sponsors/PS_Logo_CMYK_DK.png diff --git a/bornhack/static_src/img/sponsors/ShopGun_LogoType_Green.png b/static_src/img/sponsors/ShopGun_LogoType_Green.png similarity index 100% rename from bornhack/static_src/img/sponsors/ShopGun_LogoType_Green.png rename to static_src/img/sponsors/ShopGun_LogoType_Green.png diff --git a/bornhack/static_src/img/sponsors/bitbureauet.png b/static_src/img/sponsors/bitbureauet.png similarity index 100% rename from bornhack/static_src/img/sponsors/bitbureauet.png rename to static_src/img/sponsors/bitbureauet.png diff --git a/bornhack/static_src/img/sponsors/bornfiber-logoweb.png b/static_src/img/sponsors/bornfiber-logoweb.png similarity index 100% rename from bornhack/static_src/img/sponsors/bornfiber-logoweb.png rename to static_src/img/sponsors/bornfiber-logoweb.png diff --git a/bornhack/static_src/img/sponsors/brklogo.png b/static_src/img/sponsors/brklogo.png similarity index 100% rename from bornhack/static_src/img/sponsors/brklogo.png rename to static_src/img/sponsors/brklogo.png diff --git a/bornhack/static_src/img/sponsors/danskebank.png b/static_src/img/sponsors/danskebank.png similarity index 100% rename from bornhack/static_src/img/sponsors/danskebank.png rename to static_src/img/sponsors/danskebank.png diff --git a/bornhack/static_src/img/sponsors/fortconsultlogo.png b/static_src/img/sponsors/fortconsultlogo.png similarity index 100% rename from bornhack/static_src/img/sponsors/fortconsultlogo.png rename to static_src/img/sponsors/fortconsultlogo.png diff --git a/bornhack/static_src/img/sponsors/prosa-u35-1.png b/static_src/img/sponsors/prosa-u35-1.png similarity index 100% rename from bornhack/static_src/img/sponsors/prosa-u35-1.png rename to static_src/img/sponsors/prosa-u35-1.png diff --git a/bornhack/static_src/img/sponsors/samdatalogo.jpg b/static_src/img/sponsors/samdatalogo.jpg similarity index 100% rename from bornhack/static_src/img/sponsors/samdatalogo.jpg rename to static_src/img/sponsors/samdatalogo.jpg diff --git a/bornhack/static_src/img/sponsors/septima-logo.png b/static_src/img/sponsors/septima-logo.png similarity index 100% rename from bornhack/static_src/img/sponsors/septima-logo.png rename to static_src/img/sponsors/septima-logo.png diff --git a/bornhack/static_src/img/sponsors/tyktech_logo.png b/static_src/img/sponsors/tyktech_logo.png similarity index 100% rename from bornhack/static_src/img/sponsors/tyktech_logo.png rename to static_src/img/sponsors/tyktech_logo.png diff --git a/bornhack/static_src/img/sponsors/zencurity_logo.png b/static_src/img/sponsors/zencurity_logo.png similarity index 100% rename from bornhack/static_src/img/sponsors/zencurity_logo.png rename to static_src/img/sponsors/zencurity_logo.png diff --git a/bornhack/static_src/img/sponsors/zybersafe_logo.png b/static_src/img/sponsors/zybersafe_logo.png similarity index 100% rename from bornhack/static_src/img/sponsors/zybersafe_logo.png rename to static_src/img/sponsors/zybersafe_logo.png diff --git a/bornhack/static_src/js/bootstrap.js b/static_src/js/bootstrap.js similarity index 100% rename from bornhack/static_src/js/bootstrap.js rename to static_src/js/bootstrap.js diff --git a/bornhack/static_src/js/bootstrap.min.js b/static_src/js/bootstrap.min.js similarity index 100% rename from bornhack/static_src/js/bootstrap.min.js rename to static_src/js/bootstrap.min.js diff --git a/bornhack/static_src/js/images/layers-2x.png b/static_src/js/images/layers-2x.png similarity index 100% rename from bornhack/static_src/js/images/layers-2x.png rename to static_src/js/images/layers-2x.png diff --git a/bornhack/static_src/js/images/layers.png b/static_src/js/images/layers.png similarity index 100% rename from bornhack/static_src/js/images/layers.png rename to static_src/js/images/layers.png diff --git a/bornhack/static_src/js/images/marker-icon-2x.png b/static_src/js/images/marker-icon-2x.png similarity index 100% rename from bornhack/static_src/js/images/marker-icon-2x.png rename to static_src/js/images/marker-icon-2x.png diff --git a/bornhack/static_src/js/images/marker-icon.png b/static_src/js/images/marker-icon.png similarity index 100% rename from bornhack/static_src/js/images/marker-icon.png rename to static_src/js/images/marker-icon.png diff --git a/bornhack/static_src/js/images/marker-shadow.png b/static_src/js/images/marker-shadow.png similarity index 100% rename from bornhack/static_src/js/images/marker-shadow.png rename to static_src/js/images/marker-shadow.png diff --git a/bornhack/static_src/js/jquery.min.js b/static_src/js/jquery.min.js similarity index 100% rename from bornhack/static_src/js/jquery.min.js rename to static_src/js/jquery.min.js diff --git a/bornhack/static_src/js/leaflet-src.js b/static_src/js/leaflet-src.js similarity index 100% rename from bornhack/static_src/js/leaflet-src.js rename to static_src/js/leaflet-src.js diff --git a/bornhack/static_src/js/leaflet.js b/static_src/js/leaflet.js similarity index 100% rename from bornhack/static_src/js/leaflet.js rename to static_src/js/leaflet.js diff --git a/bornhack/static_src/pdf/bornhack_2016_letterhead.odt b/static_src/pdf/bornhack_2016_letterhead.odt similarity index 100% rename from bornhack/static_src/pdf/bornhack_2016_letterhead.odt rename to static_src/pdf/bornhack_2016_letterhead.odt diff --git a/bornhack/static_src/pdf/bornhack_2016_letterhead.pdf b/static_src/pdf/bornhack_2016_letterhead.pdf similarity index 100% rename from bornhack/static_src/pdf/bornhack_2016_letterhead.pdf rename to static_src/pdf/bornhack_2016_letterhead.pdf diff --git a/bornhack/static_src/pdf/bornhack_2016_test_letterhead.odt b/static_src/pdf/bornhack_2016_test_letterhead.odt similarity index 100% rename from bornhack/static_src/pdf/bornhack_2016_test_letterhead.odt rename to static_src/pdf/bornhack_2016_test_letterhead.odt diff --git a/bornhack/static_src/pdf/bornhack_2016_test_letterhead.pdf b/static_src/pdf/bornhack_2016_test_letterhead.pdf similarity index 100% rename from bornhack/static_src/pdf/bornhack_2016_test_letterhead.pdf rename to static_src/pdf/bornhack_2016_test_letterhead.pdf diff --git a/bornhack/static_src/pdf/bornhack_webshop_cancellation_form.pdf b/static_src/pdf/bornhack_webshop_cancellation_form.pdf similarity index 100% rename from bornhack/static_src/pdf/bornhack_webshop_cancellation_form.pdf rename to static_src/pdf/bornhack_webshop_cancellation_form.pdf diff --git a/bornhack/templates/info.html b/templates/2016info.html similarity index 100% rename from bornhack/templates/info.html rename to templates/2016info.html diff --git a/bornhack/templates/404.html b/templates/404.html similarity index 100% rename from bornhack/templates/404.html rename to templates/404.html diff --git a/bornhack/templates/500.html b/templates/500.html similarity index 100% rename from bornhack/templates/500.html rename to templates/500.html diff --git a/bornhack/templates/base.html b/templates/base.html similarity index 56% rename from bornhack/templates/base.html rename to templates/base.html index 675664fd..d0bb073c 100644 --- a/bornhack/templates/base.html +++ b/templates/base.html @@ -1,5 +1,8 @@ {% load static from staticfiles %} {% load bootstrap3 %} +{% load menubutton %} +{% static "" as baseurl %} +
@@ -15,12 +18,13 @@ + {% bootstrap_javascript jquery=1 %} + {% block extra_head %} {% endblock %} -+
+ Bornhack is a participatory event where we expect people + to come up with ideas and projects, and help make the content. We will reach out to + people to ensure interesting, high quality talks and workshops. +
++ You are very welcome to ask questions and show your interest on our different channels: +
+ {% include 'includes/contact.html' %} ++ Follow and like us to get updates about BornHack. +
+ ++ We hope you want to be a part of Bornhack. Ticket sales for 2017 will be open soon! +
+ + + ++ {% thumbnail 'img/bornhack-2016/fonsmark' 'FA0_1983.JPG' 'Happy organisers welcoming people at the entrance to BornHack 2016' %} + {% thumbnail 'img/bornhack-2016/fonsmark' 'FA0_1986.JPG' 'A bus full of hackers arrive at BornHack 2016' %} + {% thumbnail 'img/bornhack-2016/fonsmark' 'FB1_5126.JPG' 'Late night hacking at Baconsvin village at BornHack 2016' %} + {% thumbnail 'img/bornhack-2016/fonsmark' 'FB1_5168.JPG' '#irl_bar by night at BornHack 2016' %} + {% thumbnail 'img/bornhack-2016/fonsmark' 'FB1_5265.JPG' 'Happy organisers welcoming people to BornHack 2016' %} + {% thumbnail 'img/bornhack-2016/esbjerg' '1600x900-B12A2452.jpg' 'Soldering the BornHack 2016 badge' %} + {% thumbnail 'img/bornhack-2016/esbjerg' '1600x900-B12A2485.jpg' 'Colored light in the grass' %} + {% thumbnail 'img/bornhack-2016/esbjerg' '1600x988-B12A2624.jpg' 'Working on decorations' %} + {% thumbnail 'img/bornhack-2016/esbjerg' '1600x900-B12A2604.jpg' 'Sitting around the campfire at BornHack 2016' %} +
+If this is your first hackercamp the term 'Village' might be confusing but it is fairly simple: a village is just a spot on the campsite where you and a bunch of your friends/likeminded people camp together. Apart from peoples individual tents which they sleep in, many villages bring a large common tent - where you can hack and hang out during the day. -
- -- - It is also possible to rent a tent, chairs and tables for villages here. - + where you can hack and hang out during the day. It is also possible to rent a + tent, chairs and tables in the shop!
{% if user.is_authenticated %} -Create a village +Create a new {{ camp.title }} village {% endif %}- + {{ village.name }} | @@ -53,5 +48,7 @@ Villages | {{ block.super }} {% endfor %}