diff --git a/dynamicweb/settings.py b/dynamicweb/settings.py
index e133cca3..6bcc26c3 100644
--- a/dynamicweb/settings.py
+++ b/dynamicweb/settings.py
@@ -159,7 +159,7 @@ TEMPLATE_DIRS = (
)
CMS_TEMPLATES_DIR = {
- 1: os.path.join(TEMPLATE_DIRS[0], 'cms/ungleich.ch/'),
+ 1: os.path.join(TEMPLATE_DIRS[0], 'cms/'),
}
@@ -187,6 +187,7 @@ USE_TZ = True
LANGUAGES = (
('en-us', _('US English')),
+ ('de', _('German')),
)
LANGUAGE_CODE = 'en-us'
diff --git a/requirements.txt b/requirements.txt
index f43f1e69..342be9cf 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -6,7 +6,7 @@ six==1.3.0 #compat
python-memcached
# django
-django==1.7.8
+django==1.7.10
#django-assets
django-bootstrap3
@@ -45,10 +45,9 @@ djangocms-table
cmsplugin-filer==0.10.1
# production
--e git+git@github.com:circus-tent/circus.git#egg=circus
-circus-web
-chaussette
-meinheld
+# circus-web
+# chaussette
+# meinheld
# python3 support
gevent>=1.1a2
diff --git a/templates/cms/__init__.py b/templates/cms/__init__.py
new file mode 100644
index 00000000..f27d72f5
--- /dev/null
+++ b/templates/cms/__init__.py
@@ -0,0 +1,11 @@
+# -*- coding: utf-8 -*-
+from django.utils.translation import ugettext_lazy as _
+TEMPLATES = {
+ 'digitalglarus/about.html': _('DG.About'),
+ 'digitalglarus/contact.html': _('DG.Contact'),
+ 'digitalglarus/index.html': _('DG.Home'),
+ 'digitalglarus/letscowork.html': _('DG.CoWork'),
+ 'digitalglarus/detail.html': _('DG.Detail'),
+ 'ungleichch/blog.html': _('Blog'),
+ 'ungleichch/page.html': _('Page'),
+}
diff --git a/templates/cms/digitalglarus/__init__.py b/templates/cms/digitalglarus/__init__.py
new file mode 100644
index 00000000..7b16fec8
--- /dev/null
+++ b/templates/cms/digitalglarus/__init__.py
@@ -0,0 +1,9 @@
+# -*- coding: utf-8 -*-
+from django.utils.translation import ugettext_lazy as _
+TEMPLATES = {
+ 'about.html': _('DG.About'),
+ 'contact.html': _('DG.Contact'),
+ 'index.html': _('DG.Home'),
+ 'letscowork.html': _('DG.CoWork'),
+ 'detail.html': _('DG.Detail'),
+}
diff --git a/templates/cms/digitalglarus/about.html b/templates/cms/digitalglarus/about.html
new file mode 100755
index 00000000..6c12cbcb
--- /dev/null
+++ b/templates/cms/digitalglarus/about.html
@@ -0,0 +1,57 @@
+{% extends "cms/digitalglarus/base.html" %}
+{% load staticfiles cms_tags %}
+{% block title %}About{% endblock %}
+
+{% block content %}
+
+
+
+
+ {% placeholder 'digitalglarus_why_us' %}
+
+
+
+
+
+
+
+ {% placeholder 'digitalglarus_why_us_content' %}
+
+
+
+
+
+
+
+
+
+
+
+ {% placeholder 'digitalglarus_why_glarus' %}
+
+
+
+
+
+
+ {% placeholder 'digitalglarus_why_glarus_beautiful_landscape' %}
+
+
+
+
+ {% placeholder 'digitalglarus_why_glarus_affordable_price' %}
+
+
+
+
+ {% placeholder 'digitalglarus_why_glarus_direct_connection_zurich' %}
+
+
+
+
+
+
+
+
+
+{% endblock %}
diff --git a/templates/cms/digitalglarus/base.html b/templates/cms/digitalglarus/base.html
new file mode 100644
index 00000000..6dd1bfc0
--- /dev/null
+++ b/templates/cms/digitalglarus/base.html
@@ -0,0 +1,128 @@
+{% load staticfiles cms_tags menu_tags sekizai_tags %}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {% page_attribute "page_title" %}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {% render_block "css" postprocessor "compressor.contrib.sekizai.compress" %}
+ {% render_block "js" postprocessor "compressor.contrib.sekizai.compress" %}
+
+
+
+
+ {% cms_toolbar %}
+ Digital Glarus
+
+ {% placeholder 'digital_glarus_legend' %}
+
+
+
+
+
+
+ {% block content %} {% endblock %}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/templates/cms/digitalglarus/contact.html b/templates/cms/digitalglarus/contact.html
new file mode 100755
index 00000000..01a57109
--- /dev/null
+++ b/templates/cms/digitalglarus/contact.html
@@ -0,0 +1,65 @@
+{% extends "digitalglarus/base.html" %}
+{% load cms_tags %}
+{% block title %}Contact{% endblock %}
+
+{% block content %}
+
+
+
+
+
+ {% placeholder 'digital_glarus_contact' %}
+
+
+
+
+ {% placeholder 'digital_glarus_contact_content' %}
+
+
+ {% placeholder 'digital_glarus_contact_information' %}
+
+
+
+
+
+
+
+
+
+
Contact
+ form
+
+
+
If you want further information on Digital Glarus, please send us a message using the form below.
+
+
+
+
+
+
+{% endblock %}
diff --git a/templates/cms/digitalglarus/detail.html b/templates/cms/digitalglarus/detail.html
new file mode 100644
index 00000000..412a6b91
--- /dev/null
+++ b/templates/cms/digitalglarus/detail.html
@@ -0,0 +1,11 @@
+{{ message }}
+
+
+ - {{ message.name }}
+
- {{ message.email }}
+
- {{ message.phone_number }}
+
- {{ message.message }}
+
- {{ message.received_date }}
+
+
+Back to Main
diff --git a/templates/cms/digitalglarus/index.html b/templates/cms/digitalglarus/index.html
new file mode 100644
index 00000000..7e7eaff3
--- /dev/null
+++ b/templates/cms/digitalglarus/index.html
@@ -0,0 +1,99 @@
+{% extends "digitalglarus/base.html" %}
+{% load staticfiles %}
+
+{% block content %}
+
+
+
+
+
+ WELCOME TO
+
+
Digital Glarus
+
+
+
+
+
+
+
+
+
+
+
+ {% placeholder 'digital_glarus_build_a_tech_valley' %}
+
+
+
+
+ {% placeholder 'digital_glarus_build_a_tech_valley_content' %}
+
+
+
+
+
+
+
+
+
+
+ {% placeholder 'digital_glarus_a_new_area' %}
+
+
+ {% placeholder 'digital_glarus_a_new_area_content' %}
+
+
+
+
+
+
+
+
+
+ {% placeholder 'digital_glarus_why_be_interested' %}
+
+
+ {% placeholder 'digital_glarus_why_be_interested_content' %}
+
+
+
+
+
+
+
+
+ {% placeholder 'digital_glarus_where_we_are' %}
+
+
+ {% placeholder 'digital_glarus_where_we_are_content' %}
+
+
+
+
+
+{% endblock %}
diff --git a/templates/cms/digitalglarus/letscowork.html b/templates/cms/digitalglarus/letscowork.html
new file mode 100644
index 00000000..518e1224
--- /dev/null
+++ b/templates/cms/digitalglarus/letscowork.html
@@ -0,0 +1,51 @@
+{% extends "digitalglarus/base.html" %}
+{% load staticfiles %}
+{% block title %}crowdfunding{% endblock %}
+
+{% block content %}
+
+
+
+
+
+
+ why
+ glarus?
+
+
+
+
+
+
BEAUTIFUL
+ landscape
+
+
+
+
+
AFFORDABLE
+ price
+
+
+
+
direct
+ connection to zurich
+
+
+
+
+
+
+{% endblock %}
diff --git a/templates/cms/ungleich.ch/index.html b/templates/cms/ungleich.ch/index.html
deleted file mode 100644
index 9e1c9503..00000000
--- a/templates/cms/ungleich.ch/index.html
+++ /dev/null
@@ -1,3 +0,0 @@
-{% extends "cms/ungleich.ch/base.html" %}
-{% block base_content %}
-{% endblock %}
diff --git a/templates/cms/ungleich.ch/__init__.py b/templates/cms/ungleichch/__init__.py
similarity index 100%
rename from templates/cms/ungleich.ch/__init__.py
rename to templates/cms/ungleichch/__init__.py
diff --git a/templates/cms/ungleich.ch/_footer.html b/templates/cms/ungleichch/_footer.html
similarity index 100%
rename from templates/cms/ungleich.ch/_footer.html
rename to templates/cms/ungleichch/_footer.html
diff --git a/templates/cms/ungleich.ch/_header_base.html b/templates/cms/ungleichch/_header_base.html
similarity index 100%
rename from templates/cms/ungleich.ch/_header_base.html
rename to templates/cms/ungleichch/_header_base.html
diff --git a/templates/cms/ungleich.ch/_menu.html b/templates/cms/ungleichch/_menu.html
similarity index 100%
rename from templates/cms/ungleich.ch/_menu.html
rename to templates/cms/ungleichch/_menu.html
diff --git a/templates/cms/ungleich.ch/base.html b/templates/cms/ungleichch/base.html
similarity index 94%
rename from templates/cms/ungleich.ch/base.html
rename to templates/cms/ungleichch/base.html
index 339fe37c..9897c4f8 100644
--- a/templates/cms/ungleich.ch/base.html
+++ b/templates/cms/ungleichch/base.html
@@ -37,11 +37,11 @@
{% cms_toolbar %}
- {% show_menu 0 1 100 100 "cms/ungleich.ch/_menu.html" %}
+ {% show_menu 0 1 100 100 "cms/ungleichch/_menu.html" %}
{% block base_header %}
- {% include "cms/ungleich.ch/_header_base.html" %}
+ {% include "cms/ungleichch/_header_base.html" %}
{% endblock %}
- {% include "cms/ungleich.ch/_footer.html" %}
+ {% include "cms/ungleichch/_footer.html" %}
{% addtoblock "external-js" %}
{% bootstrap_javascript %}
{% endaddtoblock %}
diff --git a/templates/cms/ungleich.ch/blog.html b/templates/cms/ungleichch/blog.html
similarity index 64%
rename from templates/cms/ungleich.ch/blog.html
rename to templates/cms/ungleichch/blog.html
index bfc3aae7..5317a021 100644
--- a/templates/cms/ungleich.ch/blog.html
+++ b/templates/cms/ungleichch/blog.html
@@ -1,4 +1,4 @@
-{% extends "cms/ungleich.ch/base.html" %}
+{% extends "cms/ungleichch/base.html" %}
{% block base_content %}
{% block content %}
{% endblock %}
diff --git a/templates/cms/ungleichch/index.html b/templates/cms/ungleichch/index.html
new file mode 100644
index 00000000..f3fbca67
--- /dev/null
+++ b/templates/cms/ungleichch/index.html
@@ -0,0 +1,3 @@
+{% extends "cms/ungleichch/base.html" %}
+{% block base_content %}
+{% endblock %}
diff --git a/templates/cms/ungleich.ch/page.html b/templates/cms/ungleichch/page.html
similarity index 68%
rename from templates/cms/ungleich.ch/page.html
rename to templates/cms/ungleichch/page.html
index 66f67def..81a4a027 100644
--- a/templates/cms/ungleich.ch/page.html
+++ b/templates/cms/ungleichch/page.html
@@ -1,4 +1,4 @@
-{% extends "cms/ungleich.ch/base.html" %}
+{% extends "cms/ungleichch/base.html" %}
{% load cms_tags %}
{% block base_content %}
{% placeholder "page_content" %}