diff --git a/railshosting/djangohosting.css b/railshosting/djangohosting.css new file mode 100644 index 00000000..aae58ef6 --- /dev/null +++ b/railshosting/djangohosting.css @@ -0,0 +1,6 @@ +@charset "UTF-8"; +/* CSS Document */ + +.intro-header { + background: url(../img/django-intro-bg.png) no-repeat center center; +} \ No newline at end of file diff --git a/railshosting/templates/railshosting/base.html b/railshosting/templates/railshosting/base.html new file mode 100644 index 00000000..63a33048 --- /dev/null +++ b/railshosting/templates/railshosting/base.html @@ -0,0 +1,387 @@ +{% load staticfiles %} + + + + + + + + + + + + + {% block title %} {%endblock%} as easy as possible + + + + + + + + + + + + + + + + + + {% block customcss %} {%endblock%} + + + + + + + + + + + + +
+
+ +
+
+ +
+ +

{{ domain }}

+

{{ hosting_long }} as easy as possible

+
+ +
+
+
+ +
+ + +
+ + + + +
+ +
+ +
+
+
+
+

How it works :

    + {% block specification %} + {% endblock %} +
+
+
+ +
+
+ +
+ + +
+ +
+
+
+
+
+
+

Option 1 : Your own infrastructure

+

We configure your own infrastructure for {{ hosting_long }}. Keep the comfort and safety of being at your home, while we set things up for you.

+
+
+ +
+
+ +
+ +
+ + + + +
+ +
+ +
+
+
+
+

Option 2 : Our infrastructure

+

We take care of everything for you! You don't need your infrastructure. We give you everything you need in {{ hosting_long }}ls hosting. Full root access, 24x7 support.

+
+
+ +
+
+ +
+ + +
+ + + +
+ +
+ +
+
+
+
+

Hosting Price Samples

+

Here are samples of our {{ hosting_long }} hosting offers, suited for different projects. Our offer examples come in different size, speed, and storage.

+
+ +
+
+
+ + + +
+ +
+
+ +
+

Economy

+

Suited for smaller applications

+

1 core,

+

1 GiB RAM,

+

10 GiB system image (25 CHF)

+

+ Buy Now! More Info

+
+
+
+ +
+
+ +
+

Standard

+

Suited for standard {{ hosting_long }} applications

+

1 core,

+

2 GiB RAM,

+

10 GiB system image (30 CHF)

+

+ Buy Now! More Info +

+
+
+
+ +
+
+ +
+

Deluxe

+

Suited for performance critical project

+

2 cores,

+

4 GiB Ram,

+

10 GiB system image (50 CHF)

+

+ Buy Now! More Info

+
+
+
+ +
+
+ +
+

Presidential Premium

+

Suited for performance critical &

+

high storage demand projects

+

4 Cores, 8 GiB RAM, 10 GiB System image,

+

100 GiB Data image (190 CHF)

+

+ Buy Now! More Info +

+
+
+
+ +
+ +
+ +
+ + +
+ + +
+
+ +
+
+ +
+

Let me try!

+

 

+

 

+ {% if error_message %}

{{ error_message }}

{% endif %} + {{ form.non_field_errors }} + {{ form.email.errors }} +
+ {% csrf_token %} +
+ + +
+ +
+ + + +
+
+
+ +
+ + +
+ + + + + + + + + + + + + + + + + + diff --git a/railshosting/templates/railshosting/django.html b/railshosting/templates/railshosting/django.html new file mode 100644 index 00000000..df2cf991 --- /dev/null +++ b/railshosting/templates/railshosting/django.html @@ -0,0 +1,18 @@ +{% extends "railshosting/base.html" %} +{% load staticfiles %} + +{% block title %}django hosting.ch - django hosting{%endblock%} + +{%block customcss %} + +{%endblock%} + +{%block specification %} +
  • +

    Ubuntu 14.04 as the operating system, full root access!

    +
  • +
  • nginx as the frontend Server (optional with SSL Support)

  • +
  • uwsgi to have your application talk to nginx and vice versa +

  • PostgreSQL as the database

    +
  • +{%endblock%} \ No newline at end of file diff --git a/railshosting/urls.py b/railshosting/urls.py index 6d978854..97e91151 100644 --- a/railshosting/urls.py +++ b/railshosting/urls.py @@ -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'), ] diff --git a/railshosting/views.py b/railshosting/views.py index cc0a2909..16264cfe 100644 --- a/railshosting/views.py +++ b/railshosting/views.py @@ -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')