From e022a422d229a0bf92f0b48f31a57227b8ff10f2 Mon Sep 17 00:00:00 2001 From: rscnt Date: Wed, 16 Sep 2015 01:11:39 -0600 Subject: [PATCH] adding digital glarus landing page and fixed price image Signed-off-by: rscnt --- .../templates/digitalglarus/about.html | 102 +++++++++--------- .../templates/digitalglarus/base.html | 85 ++++++++------- .../templates/digitalglarus/landing.html | 44 ++++++++ digitalglarus/urls.py | 1 + digitalglarus/views.py | 5 +- dynamicweb/settings.py | 4 +- requirements.txt | 1 + 7 files changed, 147 insertions(+), 95 deletions(-) create mode 100644 digitalglarus/templates/digitalglarus/landing.html diff --git a/digitalglarus/templates/digitalglarus/about.html b/digitalglarus/templates/digitalglarus/about.html index 23a24e66..028d623c 100755 --- a/digitalglarus/templates/digitalglarus/about.html +++ b/digitalglarus/templates/digitalglarus/about.html @@ -1,59 +1,59 @@ {% extends "digitalglarus/base.html" %} -{% load staticfiles %} +{% load staticfiles %} {% block title %}About{% endblock %} -{% block content %} -
-
-
-
-

why - Us? -

-
-
-
- -
-
-

We, the ungleich GmbH, were founded 2013 in Switzerland - however our first incarnation in Germany dates back to 2000. - We have long knowledge in tech industry, and have extensive networks with small to medium tech companies in Switzerland, because we are one of them. We have been working at coworking spaces with these small to medium sized IT companies ; tech-savvy and flexible, tech companies have open culture in work environment, and very often experience difficulty in letting their employees be as creative as possible. We understand and share their needs and problems. This is how we came up with a solution of our own, of finding and providing an attractive working space for technology companies in Switzerland.

-
-
-
-
+{% block content %} +
+
+
+
+

why + Us? +

+
+
+
+ +
+
+

We, the ungleich GmbH, were founded 2013 in Switzerland - however our first incarnation in Germany dates back to 2000. + We have long knowledge in tech industry, and have extensive networks with small to medium tech companies in Switzerland, because we are one of them. We have been working at coworking spaces with these small to medium sized IT companies ; tech-savvy and flexible, tech companies have open culture in work environment, and very often experience difficulty in letting their employees be as creative as possible. We understand and share their needs and problems. This is how we came up with a solution of our own, of finding and providing an attractive working space for technology companies in Switzerland.

+
+
+
+
-
-
-
-
-

why - glarus? -

-
-
-
- -

BEAUTIFUL - landscape -

-
-
- -

AFFORDABLE - price

-
-
- -

direct - connection to zurich -

-
-
-
-
+
+
+
+
+

why + glarus? +

+
+
+
+ +

BEAUTIFUL + landscape +

+
+
+ +

AFFORDABLE + price

+
+
+ +

direct + connection to zurich +

+
+
+
+
-{% endblock %} +{% endblock %} diff --git a/digitalglarus/templates/digitalglarus/base.html b/digitalglarus/templates/digitalglarus/base.html index 6dd4dc19..84618a6a 100644 --- a/digitalglarus/templates/digitalglarus/base.html +++ b/digitalglarus/templates/digitalglarus/base.html @@ -20,14 +20,14 @@ - - + + diff --git a/digitalglarus/templates/digitalglarus/landing.html b/digitalglarus/templates/digitalglarus/landing.html new file mode 100644 index 00000000..df5b3301 --- /dev/null +++ b/digitalglarus/templates/digitalglarus/landing.html @@ -0,0 +1,44 @@ +{% extends "digitalglarus/base.html" %} +{% load staticfiles %} +{% block title %}crowdfounding{% endblock %} + +{% block content %} +
+
+
+

Our crowdfunding campaign launches on the 18th of Septmeber 2015!

+
+
+
+
+
+
+
+
+

why + glarus? +

+
+
+
+ +

BEAUTIFUL + landscape +

+
+
+ +

AFFORDABLE + price

+
+
+ +

direct + connection to zurich +

+
+
+
+
+ +{% endblock %} diff --git a/digitalglarus/urls.py b/digitalglarus/urls.py index c1ef0c5e..ecca23b4 100644 --- a/digitalglarus/urls.py +++ b/digitalglarus/urls.py @@ -6,4 +6,5 @@ urlpatterns = [ url(r'^$', views.index, name='index'), url(r'about$', views.about, name='about'), url(r'contact$', views.contact, name='contact'), + url(r'landing$', views.landing, name='landing'), ] diff --git a/digitalglarus/views.py b/digitalglarus/views.py index c9d3feec..f915d800 100644 --- a/digitalglarus/views.py +++ b/digitalglarus/views.py @@ -26,6 +26,9 @@ def about(request): def index(request): return render(request, 'digitalglarus/index.html') +def landing(request): + return render(request, 'digitalglarus/landing.html') + def contact(request): message = Message(received_date=datetime.datetime.now()) form = MessageForm(request.POST, instance=message) @@ -38,7 +41,7 @@ def contact(request): # form = MessageForm() - context = { + context = { 'form': form, } diff --git a/dynamicweb/settings.py b/dynamicweb/settings.py index 1db559c5..5467b559 100644 --- a/dynamicweb/settings.py +++ b/dynamicweb/settings.py @@ -255,8 +255,8 @@ CMS_PLACEHOLDER_CONF = { CACHES = { 'default': { - 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', - 'LOCATION': 'unix:/tmp/memcached.sock', + 'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache', + 'LOCATION': '127.0.0.1:11211', } } diff --git a/requirements.txt b/requirements.txt index fe39b405..fd9559c8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -55,3 +55,4 @@ gevent>=1.1a2 # djangocms-page-meta djangocms-page-meta +pylibmc