adding digital glarus landing page and fixed price image

Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
rascencio 2015-09-16 01:11:39 -06:00
parent 08d22489f0
commit e022a422d2
7 changed files with 147 additions and 95 deletions

View file

@ -1,59 +1,59 @@
{% extends "digitalglarus/base.html" %} {% extends "digitalglarus/base.html" %}
{% load staticfiles %} {% load staticfiles %}
{% block title %}About{% endblock %} {% block title %}About{% endblock %}
{% block content %} {% block content %}
<div class="row"> <div class="row">
<div class="box"> <div class="box">
<div class="col-lg-12"> <div class="col-lg-12">
<hr> <hr>
<h2 class="intro-text text-center">why <h2 class="intro-text text-center">why
<strong>Us?</strong> <strong>Us?</strong>
</h2> </h2>
<hr> <hr>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<img class="img-responsive img-border-left" src="{% static 'digitalglarus/img/img_4.png' %}" alt=""> <img class="img-responsive img-border-left" src="{% static 'digitalglarus/img/img_4.png' %}" alt="">
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<p>We, the ungleich GmbH, were founded 2013 in Switzerland - however our first incarnation in Germany dates back to 2000. <p>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. </p> 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. </p>
</div> </div>
<div class="clearfix"></div> <div class="clearfix"></div>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="box"> <div class="box">
<div class="col-lg-12"> <div class="col-lg-12">
<hr> <hr>
<h2 class="intro-text text-center">why <h2 class="intro-text text-center">why
<strong>glarus?</strong> <strong>glarus?</strong>
</h2> </h2>
<hr> <hr>
</div> </div>
<div class="col-sm-4 text-center"> <div class="col-sm-4 text-center">
<img class="img-responsive" src="{% static 'digitalglarus/img/img_1.jpg' %}" alt=""> <img class="img-responsive" src="{% static 'digitalglarus/img/img_1.jpg' %}" alt="">
<h3>BEAUTIFUL <h3>BEAUTIFUL
<small> landscape</small> <small> landscape</small>
</h3> </h3>
</div> </div>
<div class="col-sm-4 text-center"> <div class="col-sm-4 text-center">
<img class="img-responsive" src="{% static 'digitalglarus/img/price.jpg' %}" alt=""> <img class="img-responsive" src="{% static 'digitalglarus/img/img_2.jpg' %}" alt="">
<h3>AFFORDABLE <h3>AFFORDABLE
<small>price</small></h3> <small>price</small></h3>
</div> </div>
<div class="col-sm-4 text-center"> <div class="col-sm-4 text-center">
<img class="img-responsive" src="{% static 'digitalglarus/img/img_3.jpg' %}" alt=""> <img class="img-responsive" src="{% static 'digitalglarus/img/img_3.jpg' %}" alt="">
<h3>direct <h3>direct
<small> connection to zurich</small> <small> connection to zurich</small>
</h3> </h3>
</div> </div>
<div class="clearfix"></div> <div class="clearfix"></div>
</div> </div>
</div> </div>
</div> </div>
<!-- /.container --> <!-- /.container -->
{% endblock %} {% endblock %}

View file

@ -20,14 +20,14 @@
<link href="{% static 'digitalglarus/css/business-casual.css' %}" rel="stylesheet"> <link href="{% static 'digitalglarus/css/business-casual.css' %}" rel="stylesheet">
<!-- Fonts --> <!-- Fonts -->
<link href="http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" rel="stylesheet" type="text/css"> <link href="//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Josefin+Slab:100,300,400,600,700,100italic,300italic,400italic,600italic,700italic" rel="stylesheet" type="text/css"> <link href="//fonts.googleapis.com/css?family=Josefin+Slab:100,300,400,600,700,100italic,300italic,400italic,600italic,700italic" rel="stylesheet" type="text/css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]--> <![endif]-->
<script> <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
@ -48,35 +48,38 @@
<!-- Navigation --> <!-- Navigation -->
<nav class="navbar navbar-default" role="navigation"> <nav class="navbar navbar-default" role="navigation">
<div class="container"> <div class="container">
<!-- Brand and toggle get grouped for better mobile display --> <!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header"> <div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span> <span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
<!-- navbar-brand is hidden on larger screens, but visible when the menu is collapsed --> <!-- navbar-brand is hidden on larger screens, but visible when the menu is collapsed -->
<a class="navbar-brand" href="index.html">Digital Glarus</a> <a class="navbar-brand" href="index.html">Digital Glarus</a>
</div> </div>
<!-- Collect the nav links, forms, and other content for toggling --> <!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">
<li> <li>
<a href="{% url 'digitalglarus:index' %}">Home</a> <a href="{% url 'digitalglarus:index' %}">Home</a>
</li> </li>
<li> <li>
<a href="{% url 'digitalglarus:about' %}">About</a> <a href="{% url 'digitalglarus:about' %}">About</a>
</li> </li>
<li> <li>
<a href="{% url 'digitalglarus:contact' %}">Contact</a> <a href="{% url 'digitalglarus:contact' %}">Contact</a>
</li> </li>
</ul> <li>
</div> <a href="{% url 'digitalglarus:landing' %}">Crowdfounding</a>
<!-- /.navbar-collapse --> </li>
</div> </ul>
<!-- /.container --> </div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav> </nav>
<div class="container"> <div class="container">
@ -85,13 +88,13 @@
<!-- /.container --> <!-- /.container -->
<footer> <footer>
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-12 text-center"> <div class="col-lg-12 text-center">
<p>Copyright &copy; <a href="http://www.ungleich.ch">ungleich GmbH 2015</a></p> <p>Copyright &copy; <a href="http://www.ungleich.ch">ungleich GmbH 2015</a></p>
</div> </div>
</div> </div>
</div> </div>
</footer> </footer>
<!-- jQuery --> <!-- jQuery -->
@ -103,7 +106,7 @@
<!-- Script to Activate the Carousel --> <!-- Script to Activate the Carousel -->
<script> <script>
$('.carousel').carousel({ $('.carousel').carousel({
interval: 5000 //changes the speed interval: 5000 //changes the speed
}) })
</script> </script>

View file

@ -0,0 +1,44 @@
{% extends "digitalglarus/base.html" %}
{% load staticfiles %}
{% block title %}crowdfounding{% endblock %}
{% block content %}
<div class="row">
<div class="box">
<div class="col-lg-12 text-center">
<h1>Our crowdfunding campaign launches on the 18th of Septmeber 2015!</h1>
</div>
<div class="clearfix"></div>
</div>
</div>
<div class="row">
<div class="box">
<div class="col-lg-12">
<hr>
<h2 class="intro-text text-center">why
<strong>glarus?</strong>
</h2>
<hr>
</div>
<div class="col-sm-4 text-center">
<img class="img-responsive" src="{% static 'digitalglarus/img/img_1.jpg' %}" alt="">
<h3>BEAUTIFUL
<small> landscape</small>
</h3>
</div>
<div class="col-sm-4 text-center">
<img class="img-responsive" src="{% static 'digitalglarus/img/img_2.jpg' %}" alt="">
<h3>AFFORDABLE
<small>price</small></h3>
</div>
<div class="col-sm-4 text-center">
<img class="img-responsive" src="{% static 'digitalglarus/img/img_3.jpg' %}" alt="">
<h3>direct
<small> connection to zurich</small>
</h3>
</div>
<div class="clearfix"></div>
</div>
</div>
<!-- /.container -->
{% endblock %}

View file

@ -6,4 +6,5 @@ urlpatterns = [
url(r'^$', views.index, name='index'), url(r'^$', views.index, name='index'),
url(r'about$', views.about, name='about'), url(r'about$', views.about, name='about'),
url(r'contact$', views.contact, name='contact'), url(r'contact$', views.contact, name='contact'),
url(r'landing$', views.landing, name='landing'),
] ]

View file

@ -26,6 +26,9 @@ def about(request):
def index(request): def index(request):
return render(request, 'digitalglarus/index.html') return render(request, 'digitalglarus/index.html')
def landing(request):
return render(request, 'digitalglarus/landing.html')
def contact(request): def contact(request):
message = Message(received_date=datetime.datetime.now()) message = Message(received_date=datetime.datetime.now())
form = MessageForm(request.POST, instance=message) form = MessageForm(request.POST, instance=message)
@ -38,7 +41,7 @@ def contact(request):
# form = MessageForm() # form = MessageForm()
context = { context = {
'form': form, 'form': form,
} }

View file

@ -255,8 +255,8 @@ CMS_PLACEHOLDER_CONF = {
CACHES = { CACHES = {
'default': { 'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache',
'LOCATION': 'unix:/tmp/memcached.sock', 'LOCATION': '127.0.0.1:11211',
} }
} }

View file

@ -55,3 +55,4 @@ gevent>=1.1a2
# djangocms-page-meta # djangocms-page-meta
djangocms-page-meta djangocms-page-meta
pylibmc