diff --git a/src/c3nav/control/__init__.py b/src/c3nav/control/__init__.py
new file mode 100644
index 00000000..e69de29b
diff --git a/src/c3nav/control/admin.py b/src/c3nav/control/admin.py
new file mode 100644
index 00000000..8c38f3f3
--- /dev/null
+++ b/src/c3nav/control/admin.py
@@ -0,0 +1,3 @@
+from django.contrib import admin
+
+# Register your models here.
diff --git a/src/c3nav/control/apps.py b/src/c3nav/control/apps.py
new file mode 100644
index 00000000..a5f70859
--- /dev/null
+++ b/src/c3nav/control/apps.py
@@ -0,0 +1,5 @@
+from django.apps import AppConfig
+
+
+class ControlConfig(AppConfig):
+ name = 'control'
diff --git a/src/c3nav/control/migrations/__init__.py b/src/c3nav/control/migrations/__init__.py
new file mode 100644
index 00000000..e69de29b
diff --git a/src/c3nav/control/models.py b/src/c3nav/control/models.py
new file mode 100644
index 00000000..71a83623
--- /dev/null
+++ b/src/c3nav/control/models.py
@@ -0,0 +1,3 @@
+from django.db import models
+
+# Create your models here.
diff --git a/src/c3nav/control/static/control/test.txt b/src/c3nav/control/static/control/test.txt
new file mode 100644
index 00000000..e69de29b
diff --git a/src/c3nav/control/templates/control/base.html b/src/c3nav/control/templates/control/base.html
new file mode 100644
index 00000000..98ef8bbb
--- /dev/null
+++ b/src/c3nav/control/templates/control/base.html
@@ -0,0 +1,57 @@
+{% load static %}
+{% load compress %}
+
+
+
+
+
+
+ Dashboard Template for Bootstrap
+ {% compress css %}
+
+ {% endcompress %}
+
+
+
+
+
+
+
+
+ {% compress js %}
+
+
+ {% endcompress %}
+
+
diff --git a/src/c3nav/control/urls.py b/src/c3nav/control/urls.py
new file mode 100644
index 00000000..a3780aa2
--- /dev/null
+++ b/src/c3nav/control/urls.py
@@ -0,0 +1,7 @@
+from django.conf.urls import url
+
+from . import views
+
+urlpatterns = [
+ url(r'^$', views.index, name='index'),
+]
diff --git a/src/c3nav/control/views.py b/src/c3nav/control/views.py
new file mode 100644
index 00000000..3ec7ae2e
--- /dev/null
+++ b/src/c3nav/control/views.py
@@ -0,0 +1,7 @@
+from django.shortcuts import render
+
+
+def index(request):
+ return render(request, 'control/base.html')
+
+# Create your views here.
diff --git a/src/c3nav/settings.py b/src/c3nav/settings.py
index f7137227..091b26f3 100644
--- a/src/c3nav/settings.py
+++ b/src/c3nav/settings.py
@@ -102,6 +102,7 @@ INSTALLED_APPS = [
'django.contrib.staticfiles',
'compressor',
'bootstrap3',
+ 'c3nav.control',
]
MIDDLEWARE_CLASSES = [
@@ -169,6 +170,10 @@ STATICFILES_FINDERS = (
'compressor.finders.CompressorFinder',
)
+STATICFILES_DIRS = (
+ os.path.join(BASE_DIR, 'static'),
+)
+
COMPRESS_ENABLED = COMPRESS_OFFLINE = not debug_fallback
COMPRESS_CSS_FILTERS = (
diff --git a/src/c3nav/urls.py b/src/c3nav/urls.py
index 572f091b..9047830a 100644
--- a/src/c3nav/urls.py
+++ b/src/c3nav/urls.py
@@ -1,21 +1,9 @@
-"""c3nav URL Configuration
-
-The `urlpatterns` list routes URLs to views. For more information please see:
- https://docs.djangoproject.com/en/1.9/topics/http/urls/
-Examples:
-Function views
- 1. Add an import: from my_app import views
- 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
-Class-based views
- 1. Add an import: from other_app.views import Home
- 2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home')
-Including another URLconf
- 1. Import the include() function: from django.conf.urls import url, include
- 2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
-"""
-from django.conf.urls import url
+from django.conf.urls import include, url
from django.contrib import admin
+from .control import urls as control_urls
+
urlpatterns = [
+ url(r'^control/', include(control_urls)),
url(r'^admin/', admin.site.urls),
]