Commit b6ac472f authored by Nico Schottelius's avatar Nico Schottelius

Merge branch 'feature/djangohosting'

parents 3869fab3 c72fef67
@charset "UTF-8";
/* CSS Document */
.intro-header {
background: url(../img/django-intro-bg.png) no-repeat center center;
}
\ No newline at end of file
This diff is collapsed.
{% extends "railshosting/base.html" %}
{% load staticfiles %}
{% block title %}django hosting.ch - django hosting{%endblock%}
{%block customcss %}
<link href="{% static 'railshosting/css/djangohosting.css' %}" rel="stylesheet">
{%endblock%}
{%block specification %}
<li><i class="fa-li fa fa-check-square-o fa-lg"></i>
<p class="lead">Ubuntu 14.04 as the operating system, full root access!</p>
</li>
<li><i class="fa-li fa fa-check-square-o fa-lg"></i><p class="lead">nginx as the frontend Server (optional with SSL Support)</p></li>
<li><i class="fa-li fa fa-check-square-o fa-lg"></i><p class="lead">uwsgi to have your application talk to nginx and vice versa
<li><i class="fa-li fa fa-check-square-o fa-lg"></i><p class="lead">PostgreSQL as the database</p>
</li>
{%endblock%}
\ No newline at end of file
......@@ -5,4 +5,5 @@ from . import views
urlpatterns = [
url(r'^$', views.index, name='index'),
url(r'beta$', views.beta, name='beta'),
url(r'djangohosting$', views.djangohosting, name='djangohosting'),
]
......@@ -29,5 +29,28 @@ def index(request):
return render(request, 'railshosting/index.html', context)
def djangohosting(request):
context = {}
context["hosting"]="django"
context["hosting_long"]="Django"
context["domain"]="django-hosting.ch"
context["google_analytics"]="the right id"
context["email"]="info@django-hosting.ch"
return render(request, 'railshosting/django.html', context)
def railshosting(request):
context = {}
context["hosting"]="rails"
context["hosting_long"]="Ruby On Rails"
context["domain"]="rails-hosting.ch"
context["google_analytics"]="the right id"
context["email"]="info@rails-hosting.ch"
return render(request, 'railshosting/rails.html', context)
def beta(request):
return render(request, 'railshosting/beta.html')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment