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

@ -39,7 +39,7 @@
</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>

View file

@ -20,8 +20,8 @@
<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:// -->
@ -72,6 +72,9 @@
<li> <li>
<a href="{% url 'digitalglarus:contact' %}">Contact</a> <a href="{% url 'digitalglarus:contact' %}">Contact</a>
</li> </li>
<li>
<a href="{% url 'digitalglarus:landing' %}">Crowdfounding</a>
</li>
</ul> </ul>
</div> </div>
<!-- /.navbar-collapse --> <!-- /.navbar-collapse -->

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)

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