begin refactor to /hosting/
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
15
README.rst
|
@ -5,3 +5,18 @@ Website for Ungleich GMBH
|
|||
|
||||
dynamicweb
|
||||
----------
|
||||
|
||||
- djangocms
|
||||
- forms!
|
||||
- hosting urls
|
||||
- /hosting/django/
|
||||
- /hosting/rubyonrails/
|
||||
- /hosting/nodejs/
|
||||
--
|
||||
- feedback app
|
||||
- below ungleich?
|
||||
- no
|
||||
- redirect back to // render other url?
|
||||
- /feedback
|
||||
<form action="{% url 'hosting:index' %}" method="post" role="form" class="form-inline">
|
||||
|
||||
|
|
|
@ -44,9 +44,6 @@ DEBUG = False
|
|||
ALLOWED_HOSTS = [
|
||||
".ungleich.ch",
|
||||
"digital.glarus.ungleich.ch" ,
|
||||
"rails-hosting.ch",
|
||||
"django-hosting.ch",
|
||||
"node-hosting.ch"
|
||||
]
|
||||
|
||||
|
||||
|
@ -72,6 +69,7 @@ INSTALLED_APPS = (
|
|||
'djangocms_link',
|
||||
'djangocms_snippet',
|
||||
'djangocms_teaser',
|
||||
'djangocms_page_meta',
|
||||
#django-filer
|
||||
'cmsplugin_filer_file',
|
||||
'cmsplugin_filer_folder',
|
||||
|
@ -98,9 +96,8 @@ INSTALLED_APPS = (
|
|||
'compressor',
|
||||
# ungleich
|
||||
'ungleich',
|
||||
'railshosting',
|
||||
'hosting',
|
||||
'digitalglarus',
|
||||
'djangocms_page_meta',
|
||||
)
|
||||
|
||||
MIDDLEWARE_CLASSES = (
|
||||
|
|
|
@ -6,10 +6,8 @@ from dynamicweb import settings
|
|||
|
||||
urlpatterns = [
|
||||
url(r'^admin/', include(admin.site.urls)),
|
||||
url(r'^digitalglarus/', include('digitalglarus.urls',
|
||||
namespace="digitalglarus")),
|
||||
url(r'^railshosting/', include('railshosting.urls',
|
||||
namespace="railshosting")),
|
||||
url(r'^digitalglarus/', include('digitalglarus.urls', namespace="digitalglarus")),
|
||||
url(r'^hosting/', include('hosting.urls', namespace="hosting")),
|
||||
url(r'^', include('cms.urls')),
|
||||
url(r'^taggit_autosuggest/', include('taggit_autosuggest.urls')),
|
||||
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
|
|
Before Width: | Height: | Size: 280 KiB After Width: | Height: | Size: 280 KiB |
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
Before Width: | Height: | Size: 9 KiB After Width: | Height: | Size: 9 KiB |
Before Width: | Height: | Size: 394 KiB After Width: | Height: | Size: 394 KiB |
Before Width: | Height: | Size: 394 KiB After Width: | Height: | Size: 394 KiB |
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 8.9 KiB |
Before Width: | Height: | Size: 548 KiB After Width: | Height: | Size: 548 KiB |
Before Width: | Height: | Size: 276 KiB After Width: | Height: | Size: 276 KiB |
Before Width: | Height: | Size: 166 KiB After Width: | Height: | Size: 166 KiB |
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 192 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 778 KiB After Width: | Height: | Size: 778 KiB |
Before Width: | Height: | Size: 327 KiB After Width: | Height: | Size: 327 KiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 185 KiB After Width: | Height: | Size: 185 KiB |
Before Width: | Height: | Size: 618 KiB After Width: | Height: | Size: 618 KiB |
Before Width: | Height: | Size: 246 KiB After Width: | Height: | Size: 246 KiB |
Before Width: | Height: | Size: 549 KiB After Width: | Height: | Size: 549 KiB |
Before Width: | Height: | Size: 333 KiB After Width: | Height: | Size: 333 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 346 KiB After Width: | Height: | Size: 346 KiB |
Before Width: | Height: | Size: 344 KiB After Width: | Height: | Size: 344 KiB |
Before Width: | Height: | Size: 308 KiB After Width: | Height: | Size: 308 KiB |
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
|
@ -14,16 +14,16 @@
|
|||
<title>{{ domain }} - {{ hosting }} hosting as easy as possible</title>
|
||||
|
||||
<!-- Bootstrap Core CSS -->
|
||||
<link href="{% static 'railshosting/css/bootstrap.min.css' %}" rel="stylesheet">
|
||||
<link href="{% static 'hosting/css/bootstrap.min.css' %}" rel="stylesheet">
|
||||
|
||||
<!-- Custom CSS -->
|
||||
<link href="{% static 'railshosting/css/landing-page.css' %}" rel="stylesheet">
|
||||
<link href="{% static 'hosting/css/landing-page.css' %}" rel="stylesheet">
|
||||
|
||||
<!-- Custom Fonts -->
|
||||
<link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
|
||||
<link href="{% static 'railshosting/font-awesome/css/font-awesome.min.css' %}" rel="stylesheet" type="text/css">
|
||||
<link href="{% static 'hosting/font-awesome/css/font-awesome.min.css' %}" rel="stylesheet" type="text/css">
|
||||
<link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
|
||||
<link rel="shortcut icon" href="{% static 'railshosting/img/favicon.ico' %}" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="{% static 'hosting/img/favicon.ico' %}" type="image/x-icon" />
|
||||
|
||||
<!-- 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:// -->
|
||||
|
@ -32,7 +32,7 @@
|
|||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
{% with 'railshosting/img/'|add:hosting|add:'-intro-bg.png' as image_static %}
|
||||
{% with 'hosting/img/'|add:hosting|add:'-intro-bg.png' as image_static %}
|
||||
alt="">
|
||||
<style media="screen" type="text/css">
|
||||
.intro-header {
|
||||
|
@ -65,7 +65,7 @@
|
|||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand topnav" href="#"><img src="{% static 'railshosting/img/logo_black.svg' %}"></a>
|
||||
<a class="navbar-brand topnav" href="#"><img src="{% static 'hosting/img/logo_black.svg' %}"></a>
|
||||
</div>
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
|
@ -102,7 +102,7 @@
|
|||
<div class="col-lg-12">
|
||||
|
||||
<div class="intro-message">
|
||||
<img class="responsive" src="{% static 'railshosting/img/Beta.png' %}">
|
||||
<img class="responsive" src="{% static 'hosting/img/Beta.png' %}">
|
||||
<h1>{{ domain }}</h1>
|
||||
<h3>{{ hosting_long }} as easy as possible</h3>
|
||||
<hr class="intro-divider">
|
||||
|
@ -139,7 +139,7 @@
|
|||
{% endblock %}
|
||||
</ul>
|
||||
</div>
|
||||
{% with 'railshosting/img/card-'|add:hosting|add:'.png' as image_static %}
|
||||
{% with 'hosting/img/card-'|add:hosting|add:'.png' as image_static %}
|
||||
<div class="col-lg-5 col-sm-pull-6 col-sm-6">
|
||||
<img class="img-responsive" src="{% static image_static %}" alt="">
|
||||
</div>
|
||||
|
@ -161,7 +161,7 @@
|
|||
<p class="lead">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.</p>
|
||||
</div>
|
||||
<div class="col-lg-5 col-lg-offset-2 col-sm-6">
|
||||
<img class="img-responsive" src="{% static 'railshosting/img/home.png' %}" alt="">
|
||||
<img class="img-responsive" src="{% static 'hosting/img/home.png' %}" alt="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -184,7 +184,7 @@
|
|||
<p class="lead">We take care of everything for you! You don't need your infrastructure. We give you everything you need in {{ hosting_long }} hosting. Full root access, 24x7 support.</p>
|
||||
</div>
|
||||
<div class="col-lg-5 col-sm-pull-6 col-sm-6">
|
||||
<img class="img-responsive" src="{% static 'railshosting/img/dog.png' %}" alt="">
|
||||
<img class="img-responsive" src="{% static 'hosting/img/dog.png' %}" alt="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -217,7 +217,7 @@
|
|||
|
||||
<div class="col-md-3 col-sm-6 hero-feature">
|
||||
<div class="thumbnail">
|
||||
<img class="relsonsive" src="{% static 'railshosting/img/economy.jpg' %}" alt="">
|
||||
<img class="relsonsive" src="{% static 'hosting/img/economy.jpg' %}" alt="">
|
||||
<div class="caption">
|
||||
<h3>Economy </h3>
|
||||
<p>Suited for smaller applications </p>
|
||||
|
@ -232,7 +232,7 @@
|
|||
|
||||
<div class="col-md-3 col-sm-6 hero-feature">
|
||||
<div class="thumbnail">
|
||||
<img class="relsonsive" src="{% static 'railshosting/img/standardroom.jpg' %}" alt="">
|
||||
<img class="relsonsive" src="{% static 'hosting/img/standardroom.jpg' %}" alt="">
|
||||
<div class="caption">
|
||||
<h3>Standard</h3>
|
||||
<p>Suited for standard {{ hosting_long }} applications</p>
|
||||
|
@ -248,7 +248,7 @@
|
|||
|
||||
<div class="col-md-3 col-sm-6 hero-feature">
|
||||
<div class="thumbnail">
|
||||
<img class="reponsive" src="{% static 'railshosting/img/deluxeroom.jpg' %}" alt="">
|
||||
<img class="reponsive" src="{% static 'hosting/img/deluxeroom.jpg' %}" alt="">
|
||||
<div class="caption">
|
||||
<h3>Deluxe</h3>
|
||||
<p>Suited for performance critical project</p>
|
||||
|
@ -263,7 +263,7 @@
|
|||
|
||||
<div class="col-md-3 col-sm-6 hero-feature">
|
||||
<div class="thumbnail">
|
||||
<img class="responsive" src="{% static 'railshosting/img/presidentialroom.jpg' %}" alt="">
|
||||
<img class="responsive" src="{% static 'hosting/img/presidentialroom.jpg' %}" alt="">
|
||||
<div class="caption">
|
||||
<h3>Presidential Premium</h3>
|
||||
<p> Suited for performance critical & </p>
|
||||
|
@ -300,7 +300,7 @@
|
|||
{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}
|
||||
{{ form.non_field_errors }}
|
||||
{{ form.email.errors }}
|
||||
<form action="{% url 'railshosting:index' %}" method="post" role="form" class="form-inline">
|
||||
<form action="{% url 'hosting:railshosting' %}" method="post" role="form" class="form-inline">
|
||||
{% csrf_token %}
|
||||
<div class="form-group">
|
||||
<label class="sr-only" for="email">Email address</label>
|
||||
|
@ -385,10 +385,10 @@
|
|||
</footer>
|
||||
|
||||
<!-- jQuery -->
|
||||
<script src="{% static 'railshosting/js/jquery.js' %}"></script>
|
||||
<script src="{% static 'hosting/js/jquery.js' %}"></script>
|
||||
|
||||
<!-- Bootstrap Core JavaScript -->
|
||||
<script src="{% static 'railshosting/js/bootstrap.min.js' %}"></script>
|
||||
<script src="{% static 'hosting/js/bootstrap.min.js' %}"></script>
|
||||
|
||||
</body>
|
||||
|
|
@ -14,16 +14,16 @@
|
|||
<title>Rails Hosting.ch - Ruby on Rails as easy as possible</title>
|
||||
|
||||
<!-- Bootstrap Core CSS -->
|
||||
<link href="{% static 'railshosting/css/bootstrap.min.css' %}" rel="stylesheet">
|
||||
<link href="{% static 'hosting/css/bootstrap.min.css' %}" rel="stylesheet">
|
||||
|
||||
<!-- Custom CSS -->
|
||||
<link href="{% static 'railshosting/css/landing-page.css' %}" rel="stylesheet">
|
||||
<link href="{% static 'hosting/css/landing-page.css' %}" rel="stylesheet">
|
||||
|
||||
<!-- Custom Fonts -->
|
||||
<link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
|
||||
<link href="{% static 'railshosting/font-awesome/css/font-awesome.min.css' %}" rel="stylesheet" type="text/css">
|
||||
<link href="{% static 'hosting/font-awesome/css/font-awesome.min.css' %}" rel="stylesheet" type="text/css">
|
||||
<link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
|
||||
<link rel="shortcut icon" href="{% static 'railshosting/img/favicon.ico' %}" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="{% static 'hosting/img/favicon.ico' %}" type="image/x-icon" />
|
||||
|
||||
<!-- 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:// -->
|
||||
|
@ -57,25 +57,25 @@
|
|||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand topnav" href="#"><img src="{% static 'railshosting/img/logo_black.svg' %}"></a>
|
||||
<a class="navbar-brand topnav" href="#"><img src="{% static 'hosting/img/logo_black.svg' %}"></a>
|
||||
</div>
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li>
|
||||
<a href="{% url 'railshosting:index' %}#how">How it works</a>
|
||||
<a href="{% url 'hosting:index' %}#how">How it works</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{% url 'railshosting:index' %}#your">Your infrastructure</a>
|
||||
<a href="{% url 'hosting:index' %}#your">Your infrastructure</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{% url 'railshosting:index' %}#our">Our inftrastructure</a>
|
||||
<a href="{% url 'hosting:index' %}#our">Our inftrastructure</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{% url 'railshosting:index' %}#price">Pricing</a>
|
||||
<a href="{% url 'hosting:index' %}#price">Pricing</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{% url 'railshosting:index' %}#contact">Contact</a>
|
||||
<a href="{% url 'hosting:index' %}#contact">Contact</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -91,7 +91,7 @@
|
|||
<div class="container">
|
||||
<div class=".col-md-6">
|
||||
|
||||
<div class="intro-message"><img src="{% static 'railshosting/img/checkmark.png' %}" class="responsive">
|
||||
<div class="intro-message"><img src="{% static 'hosting/img/checkmark.png' %}" class="responsive">
|
||||
<p>Thank you for your interest in joining Rails-Hosting Beta.<br>
|
||||
We will come back to you shortly to give you access to our infrastructure.
|
||||
</p>
|
||||
|
@ -116,24 +116,24 @@
|
|||
<div class="col-lg-12">
|
||||
<ul class="list-inline">
|
||||
<li>
|
||||
<a href="{% url 'railshosting:index' %}">Home</a>
|
||||
<a href="{% url 'hosting:index' %}">Home</a>
|
||||
</li>
|
||||
<li class="footer-menu-divider">⋅</li>
|
||||
<li>
|
||||
<a href="{% url 'railshosting:index' %}#how">How it works</a></li>
|
||||
<a href="{% url 'hosting:index' %}#how">How it works</a></li>
|
||||
<li class="footer-menu-divider">⋅</li>
|
||||
<li>
|
||||
<a href="{% url 'railshosting:index' %}#your">Your infrastructure</a></li>
|
||||
<a href="{% url 'hosting:index' %}#your">Your infrastructure</a></li>
|
||||
<li>⋅</li>
|
||||
<li>
|
||||
<a href="{% url 'railshosting:index' %}#our">Our infrastructure</a></li>
|
||||
<a href="{% url 'hosting:index' %}#our">Our infrastructure</a></li>
|
||||
<li class="footer-menu-divider">⋅</li>
|
||||
<li>
|
||||
<a href="{% url 'railshosting:index' %}#price">Pricing</a>
|
||||
<a href="{% url 'hosting:index' %}#price">Pricing</a>
|
||||
</li>
|
||||
<li class="footer-menu-divider">⋅</li>
|
||||
<li>
|
||||
<a href="{% url 'railshosting:index' %}#contact">Contact</a>
|
||||
<a href="{% url 'hosting:index' %}#contact">Contact</a>
|
||||
</li>
|
||||
</ul>
|
||||
<p class="copyright text-muted small">Copyright © ungleich GmbH 2015. All Rights Reserved</p>
|
||||
|
@ -143,10 +143,10 @@
|
|||
</footer>
|
||||
|
||||
<!-- jQuery -->
|
||||
<script src="{% static 'railshosting/js/jquery.js' %}"></script>
|
||||
<script src="{% static 'hosting/js/jquery.js' %}"></script>
|
||||
|
||||
<!-- Bootstrap Core JavaScript -->
|
||||
<script src="{% static 'railshosting/js/bootstrap.min.js' %}"></script>
|
||||
<script src="{% static 'hosting/js/bootstrap.min.js' %}"></script>
|
||||
|
||||
</body>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "railshosting/base.html" %}
|
||||
{% extends "hosting/base.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{%block specification %}
|
||||
|
@ -9,4 +9,4 @@
|
|||
<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%}
|
||||
{%endblock%}
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "railshosting/base.html" %}
|
||||
{% extends "hosting/base.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
|
||||
|
@ -15,4 +15,4 @@
|
|||
<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%}
|
||||
{%endblock%}
|
|
@ -1,8 +1,8 @@
|
|||
{% extends "railshosting/base.html" %}
|
||||
{% extends "hosting/base.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{%block customcss %}
|
||||
<link href="{% static 'railshosting/css/railshosting.css' %}" rel="stylesheet">
|
||||
<link href="{% static 'hosting/css/railshosting.css' %}" rel="stylesheet">
|
||||
{%endblock%}
|
||||
|
||||
{%block specification %}
|
||||
|
@ -13,4 +13,4 @@
|
|||
<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%}
|
||||
{%endblock%}
|
10
hosting/urls.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
from django.conf.urls import url
|
||||
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
url(r'beta$', views.beta, name='beta'),
|
||||
url(r'django$', views.djangohosting, name='djangohosting'),
|
||||
url(r'nodejs$', views.nodejshosting, name='nodejshosting'),
|
||||
url(r'rails$', views.railshosting, name='railshosting'),
|
||||
]
|
|
@ -15,26 +15,7 @@ class RailsBetaUserForm(ModelForm):
|
|||
model = RailsBetaUser
|
||||
fields = [ 'email' ]
|
||||
|
||||
def index(request):
|
||||
email = RailsBetaUser(received_date=datetime.datetime.now())
|
||||
context = {}
|
||||
context['form'] = RailsBetaUserForm()
|
||||
|
||||
if request.method == 'POST':
|
||||
form = RailsBetaUserForm(request.POST, instance=email)
|
||||
context['form'] = form
|
||||
if form.is_valid():
|
||||
form.save()
|
||||
email = form.cleaned_data['email']
|
||||
send_mail('(Rails-)Hosting request', "email: %s" % email, 'django@ungleich.ch', ['nico.schottelius@ungleich.ch'], fail_silently=False)
|
||||
# mail_managers(subject, message, fail_silently=False, connection=None, html_message=None)[source]
|
||||
return HttpResponseRedirect(reverse("railshosting:beta"))
|
||||
else:
|
||||
context['error_message'] = "a problem"
|
||||
|
||||
return render(request, 'railshosting/index.html', context)
|
||||
|
||||
def hosting(request, context, page):
|
||||
def hosting(request, context):
|
||||
email = RailsBetaUser(received_date=datetime.datetime.now())
|
||||
|
||||
if request.method == 'POST':
|
||||
|
@ -47,12 +28,12 @@ def hosting(request, context, page):
|
|||
|
||||
mail_managers(subject, message)
|
||||
|
||||
return HttpResponseRedirect(reverse("railshosting:beta"))
|
||||
return HttpResponseRedirect(reverse("hosting:beta"))
|
||||
else:
|
||||
context['form'] = RailsBetaUserForm()
|
||||
context['error_message'] = "a problem"
|
||||
|
||||
page = "railshosting/%s.html" % page
|
||||
page = "hosting/%s.html" % context['hosting']
|
||||
|
||||
return render(request, page, context)
|
||||
|
||||
|
@ -64,20 +45,20 @@ def djangohosting(request):
|
|||
context["hosting"]="django"
|
||||
context["hosting_long"]="Django"
|
||||
context["domain"]="django-hosting.ch"
|
||||
context["google_analytics"]="the right id"
|
||||
context["google_analytics"]="UA-62285904-6"
|
||||
context["email"]="info@django-hosting.ch"
|
||||
|
||||
return hosting(request, context["hosting"], context)
|
||||
return hosting(request, 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["google_analytics"]="UA-62285904-5"
|
||||
context["email"]="info@rails-hosting.ch"
|
||||
|
||||
return hosting(request, context["hosting"], context)
|
||||
return hosting(request, context)
|
||||
|
||||
def nodejshosting(request):
|
||||
context = {}
|
||||
|
@ -85,11 +66,10 @@ def nodejshosting(request):
|
|||
context["hosting"]="nodejs"
|
||||
context["hosting_long"]="NodeJS"
|
||||
context["domain"]="node-hosting.ch"
|
||||
context["google_analytics"]="the right id"
|
||||
context["google_analytics"]="UA-62285904-7"
|
||||
context["email"]="info@node-hosting.ch"
|
||||
|
||||
return hosting(request, context["hosting"], context)
|
||||
return hosting(request, context)
|
||||
|
||||
def beta(request):
|
||||
return render(request, 'railshosting/beta.html')
|
||||
|
||||
return render(request, 'hosting/beta.html')
|
|
@ -1,202 +0,0 @@
|
|||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "{}"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2013-2015 Iron Summit Media Strategies, LLC
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
# [Start Bootstrap](http://startbootstrap.com/) - [Landing Page](http://startbootstrap.com/template-overviews/landing-page/)
|
||||
|
||||
[Landing Page](http://startbootstrap.com/template-overviews/landing-page/) is a multipurpose landing page template for [Bootstrap](http://getbootstrap.com/) created by [Start Bootstrap](http://startbootstrap.com/).
|
||||
|
||||
## Getting Started
|
||||
|
||||
To use this template, choose one of the following options to get started:
|
||||
* Download the latest release on Start Bootstrap
|
||||
* Fork this repository on GitHub
|
||||
|
||||
## Bugs and Issues
|
||||
|
||||
Have a bug or an issue with this template? [Open a new issue](https://github.com/IronSummitMedia/startbootstrap-landing-page/issues) here on GitHub or leave a comment on the [template overview page at Start Bootstrap](http://startbootstrap.com/template-overviews/landing-page/).
|
||||
|
||||
## Creator
|
||||
|
||||
Start Bootstrap was created by and is maintained by **David Miller**, Managing Parter at [Iron Summit Media Strategies](http://www.ironsummitmedia.com/).
|
||||
|
||||
* https://twitter.com/davidmillerskt
|
||||
* https://github.com/davidtmiller
|
||||
|
||||
Start Bootstrap is based on the [Bootstrap](http://getbootstrap.com/) framework created by [Mark Otto](https://twitter.com/mdo) and [Jacob Thorton](https://twitter.com/fat).
|
||||
|
||||
## Copyright and License
|
||||
|
||||
Copyright 2013-2015 Iron Summit Media Strategies, LLC. Code released under the [Apache 2.0](https://github.com/IronSummitMedia/startbootstrap-landing-page/blob/gh-pages/LICENSE) license.
|
|
@ -1,393 +0,0 @@
|
|||
{% load staticfiles %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
|
||||
<title>django hosting.ch - django hosting as easy as possible</title>
|
||||
|
||||
<!-- Bootstrap Core CSS -->
|
||||
<link href="{% static 'railshosting/css/bootstrap.min.css' %}" rel="stylesheet">
|
||||
|
||||
<!-- Custom CSS -->
|
||||
<link href="{% static 'railshosting/css/landing-page.css' %}" rel="stylesheet">
|
||||
<link href="{% static 'railshosting/css/djangohosting.css' %}" rel="stylesheet">
|
||||
|
||||
<!-- Custom Fonts -->
|
||||
<link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
|
||||
<link href="{% static 'railshosting/font-awesome/css/font-awesome.min.css' %}" rel="stylesheet" type="text/css">
|
||||
<link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
|
||||
<link rel="shortcut icon" href="{% static 'railshosting/img/favicon.ico' %}" type="image/x-icon" />
|
||||
|
||||
<!-- 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:// -->
|
||||
<!--[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/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-62285904-6', 'auto');
|
||||
ga('send', 'pageview');
|
||||
|
||||
</script>
|
||||
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- Navigation -->
|
||||
<nav class="navbar navbar-default navbar-fixed-top topnav" role="navigation">
|
||||
<div class="container topnav">
|
||||
<!-- Brand and toggle get grouped for better mobile display -->
|
||||
<div class="navbar-header">
|
||||
<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="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand topnav" href="#"><img src="{% static 'railshosting/img/logo_black.svg' %}"></a>
|
||||
</div>
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li>
|
||||
<a href="#how">How it works</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#your">Your infrastructure</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#our">Our inftrastructure</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#price">Pricing</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#contact">Contact</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- /.navbar-collapse -->
|
||||
</div>
|
||||
<!-- /.container -->
|
||||
</nav>
|
||||
|
||||
|
||||
<!-- Header -->
|
||||
<a name="about"></a>
|
||||
<div class="intro-header">
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
|
||||
<div class="intro-message">
|
||||
<img class="responsive" src="{% static 'railshosting/img/Beta.png' %}">
|
||||
<h1>django-hosting.ch</h1>
|
||||
<h3>django hosting as easy as possible</h3>
|
||||
<hr class="intro-divider">
|
||||
<ul class="list-inline intro-social-buttons">
|
||||
<li>
|
||||
<a href="#howitworks" class="btn btn-default btn-lg"><i class="#Services"></i> <span class="network-name">tell me how it works</span></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#own" class="btn btn-default btn-lg page-scroll"><span class="network-name">Let me start</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- /.container -->
|
||||
|
||||
</div>
|
||||
<!-- /.intro-header -->
|
||||
|
||||
<!-- Page Content -->
|
||||
<a name="how"></a>
|
||||
<div class="content-section-b">
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-5 col-lg-offset-1 col-sm-push-6 col-sm-6">
|
||||
<hr class="section-heading-spacer">
|
||||
<div class="clearfix"></div>
|
||||
<h2 class="section-heading">How it works : </h2> <ul class="fa-ul">
|
||||
<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></ul>
|
||||
</div>
|
||||
<div class="col-lg-5 col-sm-pull-6 col-sm-6">
|
||||
<img class="img-responsive" src="{% static 'railshosting/img/how3.png' %}" alt="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- /.container -->
|
||||
<!-- /.option 1 -->
|
||||
</div>
|
||||
<a name="your"></a>
|
||||
<div class="content-section-a" id="own">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-5 col-sm-6">
|
||||
<hr class="section-heading-spacer">
|
||||
<div class="clearfix"></div>
|
||||
<h2 class="section-heading"> Option 1 : Your own infrastructure</h2>
|
||||
<p class="lead">We configure your own infrastructure for django. Keep the comfort and safety of being at your home, while we set things up for you.</p>
|
||||
</div>
|
||||
<div class="col-lg-5 col-lg-offset-2 col-sm-6">
|
||||
<img class="img-responsive" src="{% static 'railshosting/img/home.png' %}" alt="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- /.container -->
|
||||
</div>
|
||||
<!-- /.option 2 -->
|
||||
<!-- /.content-section-a -->
|
||||
<!-- / pricing -->
|
||||
<a name="our"></a>
|
||||
<div class="content-section-b">
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-5 col-lg-offset-1 col-sm-push-6 col-sm-6">
|
||||
<hr class="section-heading-spacer">
|
||||
<div class="clearfix"></div>
|
||||
<h2 class="section-heading">Option 2 : Our infrastructure</h2>
|
||||
<p class="lead">We take care of everything for you! You don't need your infrastructure. We give you everything you need in django hosting. Full root access, 24x7 support.</p>
|
||||
</div>
|
||||
<div class="col-lg-5 col-sm-pull-6 col-sm-6">
|
||||
<img class="img-responsive" src="{% static 'railshosting/img/dog.png' %}" alt="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- /.container -->
|
||||
|
||||
</div>
|
||||
|
||||
<!-- /.content-section-b -->
|
||||
<a name="price"></a>
|
||||
<div class="content-section-a">
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-5 col-sm-6">
|
||||
<hr class="section-heading-spacer">
|
||||
<div class="clearfix"></div>
|
||||
<h2 class="section-heading">Hosting Price Samples</h2>
|
||||
<p class="lead">Here are samples of our django hosting offers, suited for different projects. Our offer examples come in different size, speed, and storage. </p>
|
||||
</div>
|
||||
<!-- Title -->
|
||||
<div class="row">
|
||||
<div class="col-lg-12"></div>
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
|
||||
<!-- Page Features -->
|
||||
<div class="row text-center">
|
||||
|
||||
<div class="col-md-3 col-sm-6 hero-feature">
|
||||
<div class="thumbnail">
|
||||
<img class="relsonsive" src="{% static 'railshosting/img/economy.jpg' %}" alt="">
|
||||
<div class="caption">
|
||||
<h3>Economy </h3>
|
||||
<p>Suited for smaller applications </p>
|
||||
<p>1 core, </p>
|
||||
<p>1 GiB RAM, </p>
|
||||
<p>10 GiB system image (25 CHF)</p>
|
||||
<p>
|
||||
<a href="#" class="btn btn-primary">Buy Now!</a> <a href="#" class="btn btn-default">More Info</a> </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 col-sm-6 hero-feature">
|
||||
<div class="thumbnail">
|
||||
<img class="relsonsive" src="{% static 'railshosting/img/standardroom.jpg' %}" alt="">
|
||||
<div class="caption">
|
||||
<h3>Standard</h3>
|
||||
<p>Suited for standard Ruby on Rails applications</p>
|
||||
<p>1 core, </p>
|
||||
<p>2 GiB RAM,</p>
|
||||
<p> 10 GiB system image (30 CHF)</p>
|
||||
<p>
|
||||
<a href="#" class="btn btn-primary">Buy Now!</a> <a href="#" class="btn btn-default">More Info</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 col-sm-6 hero-feature">
|
||||
<div class="thumbnail">
|
||||
<img class="reponsive" src="{% static 'railshosting/img/deluxeroom.jpg' %}" alt="">
|
||||
<div class="caption">
|
||||
<h3>Deluxe</h3>
|
||||
<p>Suited for performance critical project</p>
|
||||
<p>2 cores,</p>
|
||||
<p> 4 GiB Ram, </p>
|
||||
<p>10 GiB system image (50 CHF) </p>
|
||||
<p>
|
||||
<a href="#" class="btn btn-primary">Buy Now!</a> <a href="#" class="btn btn-default">More Info</a> </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 col-sm-6 hero-feature">
|
||||
<div class="thumbnail">
|
||||
<img class="responsive" src="{% static 'railshosting/img/presidentialroom.jpg' %}" alt="">
|
||||
<div class="caption">
|
||||
<h3>Presidential Premium</h3>
|
||||
<p> Suited for performance critical & </p>
|
||||
<p>high storage demand projects</p>
|
||||
<p>4 Cores, 8 GiB RAM, 10 GiB System image, </p>
|
||||
<p>100 GiB Data image (190 CHF)</p>
|
||||
<p>
|
||||
<a href="#" class="btn btn-primary">Buy Now!</a> <a href="#" class="btn btn-default">More Info</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- /.container -->
|
||||
|
||||
</div>
|
||||
<!-- Configure -->
|
||||
<a name="about"></a>
|
||||
<div class="intro-header-1">
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
|
||||
<div class="intro-message">
|
||||
<h1>Let me try!</h1>
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}
|
||||
{{ form.non_field_errors }}
|
||||
{{ form.email.errors }}
|
||||
<form action="{% url 'railshosting:index' %}" method="post" role="form" class="form-inline">
|
||||
{% csrf_token %}
|
||||
<div class="form-group">
|
||||
<label class="sr-only" for="email">Email address</label>
|
||||
<input type="email" name="email" class="form-control" id="id_email" placeholder="Enter email">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-default">Request Beta Access</button>
|
||||
</form>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- /.container -->
|
||||
|
||||
</div>
|
||||
<!-- /.content-section-a -->
|
||||
<!-- / contact section -->
|
||||
<a name="contact"></a>
|
||||
<div class="banner">
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
<h2>QUESTIONS? </h2>
|
||||
<h2>CONTACT US! </h2>
|
||||
<h3>ungleich GmbH </h3>
|
||||
<p><i class="fa fa-envelope-o"></i> info@django-hosting.ch</p>
|
||||
<p>14 Hauptstrasse Luchsingen 8775</p>
|
||||
<p>Switzerland</p>
|
||||
|
||||
<button type="button" class="btn btn-default">
|
||||
<a href="https://twitter.com/ungleich">
|
||||
<i class="fa fa-twitter fa-fw"></i><span class="network-name">Twitter</span></a>
|
||||
</button>
|
||||
<button type="button" class="btn btn-default">
|
||||
<a href="https://github.com/ungleich"><i class="fa fa-github fa-fw"></i><span class="network-name">Github</span></a></button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- /.container -->
|
||||
|
||||
</div>
|
||||
<!-- /.banner -->
|
||||
|
||||
<!-- Footer -->
|
||||
<footer>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<ul class="list-inline">
|
||||
<li>
|
||||
<a href="#">Home</a>
|
||||
</li>
|
||||
<li class="footer-menu-divider">⋅</li>
|
||||
<li>
|
||||
<a href="#about">How it works</a></li>
|
||||
<li class="footer-menu-divider">⋅</li>
|
||||
<li>
|
||||
<a href="#about">Your infrastructure</a></li>
|
||||
<li>⋅</li>
|
||||
<li>
|
||||
<a href="#about">Our infrastructure</a></li>
|
||||
<li class="footer-menu-divider">⋅</li>
|
||||
<li>
|
||||
<a href="#services">Pricing</a>
|
||||
</li>
|
||||
<li class="footer-menu-divider">⋅</li>
|
||||
<li>
|
||||
<a href="#contact">Contact</a>
|
||||
</li>
|
||||
</ul>
|
||||
<p class="copyright text-muted small">Copyright © ungleich GmbH 2015. All Rights Reserved</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- jQuery -->
|
||||
<script src="{% static 'railshosting/js/jquery.js' %}"></script>
|
||||
|
||||
<!-- Bootstrap Core JavaScript -->
|
||||
<script src="{% static 'railshosting/js/bootstrap.min.js' %}"></script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,57 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
|
||||
<title>Rails Hosting.ch - Ruby on Rails as easy as possible | Page not found</title>
|
||||
|
||||
<!-- Bootstrap Core CSS -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom CSS -->
|
||||
<link href="css/landing-page.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Fonts -->
|
||||
<link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
|
||||
<link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
||||
<link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
|
||||
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />
|
||||
|
||||
<!-- 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:// -->
|
||||
<!--[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/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body class="error404">
|
||||
<div class="content-404">
|
||||
<div class="container">
|
||||
<div class="text-center">
|
||||
<h1> </h1>
|
||||
<h1>404</h1>
|
||||
<p class-"lead">
|
||||
"Sorry, we could not find the page you are looking for!"
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Footer --><!-- jQuery -->
|
||||
<script src="js/jquery.js"></script>
|
||||
|
||||
<!-- Bootstrap Core JavaScript -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,73 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
width="130px" height="40px" viewBox="0 0 130 40" enable-background="new 0 0 130 40" xml:space="preserve">
|
||||
<g>
|
||||
<g>
|
||||
<path fill="#231916" d="M34.599,25.896c0-0.428,0.15-0.844,0.453-1.25c0.303-0.408,0.734-0.773,1.296-1.096v-0.092
|
||||
c-0.294-0.16-0.554-0.387-0.777-0.674c-0.22-0.289-0.332-0.662-0.332-1.119c0-0.355,0.115-0.712,0.345-1.076
|
||||
c0.227-0.36,0.55-0.683,0.964-0.962v-0.09c-0.386-0.28-0.711-0.654-0.978-1.12c-0.263-0.464-0.397-1.021-0.397-1.67
|
||||
c0-0.606,0.118-1.149,0.354-1.63c0.236-0.48,0.555-0.889,0.954-1.229c0.398-0.34,0.86-0.598,1.385-0.775
|
||||
c0.523-0.178,1.081-0.266,1.672-0.266c0.605,0,1.152,0.088,1.64,0.266h4.452v1.662h-2.702c0.222,0.237,0.42,0.528,0.598,0.875
|
||||
c0.178,0.348,0.267,0.735,0.267,1.165c0,0.59-0.111,1.117-0.332,1.572c-0.222,0.459-0.525,0.846-0.91,1.163
|
||||
c-0.384,0.318-0.834,0.558-1.351,0.72c-0.517,0.162-1.071,0.245-1.663,0.245c-0.265,0-0.55-0.03-0.854-0.09
|
||||
c-0.302-0.058-0.601-0.147-0.896-0.267c-0.503,0.326-0.753,0.701-0.753,1.131c0,0.398,0.185,0.686,0.553,0.865
|
||||
c0.369,0.176,0.901,0.266,1.596,0.266h2.303c1.42,0,2.47,0.203,3.159,0.607c0.687,0.406,1.029,1.076,1.029,2.006
|
||||
c0,0.518-0.145,1.004-0.431,1.461c-0.29,0.459-0.699,0.861-1.23,1.209s-1.174,0.621-1.929,0.82
|
||||
c-0.751,0.199-1.594,0.299-2.525,0.299c-1.537,0-2.747-0.25-3.633-0.744C35.042,27.586,34.599,26.857,34.599,25.896z
|
||||
M36.458,25.633c0,0.516,0.285,0.932,0.854,1.25c0.569,0.318,1.393,0.477,2.47,0.477c0.577,0,1.097-0.055,1.562-0.166
|
||||
s0.864-0.258,1.197-0.443s0.585-0.396,0.764-0.631c0.177-0.234,0.266-0.486,0.266-0.754c0-0.473-0.196-0.785-0.587-0.941
|
||||
c-0.392-0.154-0.979-0.232-1.762-0.232h-1.905c-0.34,0-0.641-0.012-0.907-0.033c-0.268-0.021-0.519-0.07-0.754-0.145
|
||||
c-0.444,0.25-0.753,0.51-0.932,0.777C36.549,25.057,36.458,25.334,36.458,25.633z M39.539,19.095c0.621,0,1.152-0.206,1.597-0.62
|
||||
c0.442-0.414,0.665-0.989,0.665-1.727c0-0.71-0.223-1.279-0.665-1.707c-0.445-0.428-0.976-0.643-1.597-0.643
|
||||
c-0.621,0-1.152,0.215-1.595,0.643c-0.442,0.428-0.665,0.997-0.665,1.707c0,0.738,0.223,1.313,0.665,1.727
|
||||
C38.386,18.889,38.918,19.095,39.539,19.095z"/>
|
||||
</g>
|
||||
<path fill="#231916" d="M17.983,24.24h-1.857l-0.183-1.854h-0.092c-0.551,0.641-1.151,1.154-1.8,1.547
|
||||
c-0.649,0.387-1.401,0.582-2.258,0.582c-1.329,0-2.3-0.383-2.91-1.156c-0.612-0.771-0.917-1.898-0.917-3.381V14.35L5,14.293
|
||||
l5.258-2.023l-0.023,1.529v5.882c0,0.994,0.176,1.724,0.528,2.189c0.351,0.467,0.954,0.701,1.811,0.701
|
||||
c0.581,0,1.111-0.143,1.593-0.426c0.48-0.283,0.998-0.762,1.547-1.433v-7.678h2.269V24.24z"/>
|
||||
<path fill="#231916" d="M21.742,13.033h1.856l0.184,1.812h0.091c0.565-0.582,1.176-1.075,1.834-1.479
|
||||
c0.655-0.405,1.42-0.607,2.292-0.607c1.313,0,2.278,0.39,2.888,1.168c0.611,0.778,0.917,1.903,0.917,3.37v6.942h-2.271v-6.646
|
||||
c0-0.976-0.174-1.7-0.525-2.165c-0.352-0.467-0.955-0.701-1.811-0.701c-0.597,0-1.131,0.151-1.605,0.447
|
||||
c-0.473,0.299-1.002,0.744-1.582,1.343v7.721h-2.268V13.033z"/>
|
||||
<path fill="#231916" d="M57.129,18.65c0-0.917,0.162-1.74,0.482-2.465c0.321-0.725,0.748-1.345,1.284-1.856
|
||||
c0.533-0.511,1.146-0.902,1.834-1.17c0.687-0.267,1.398-0.4,2.13-0.4c0.826,0,1.555,0.13,2.19,0.39
|
||||
c0.632,0.26,1.171,0.621,1.615,1.086c0.443,0.468,0.779,1.025,1.01,1.676c0.229,0.648,0.344,1.362,0.344,2.142
|
||||
c0,0.229-0.012,0.447-0.035,0.652c-0.023,0.208-0.049,0.38-0.08,0.516h-8.436c0.077,1.1,0.485,1.96,1.229,2.58
|
||||
c0.739,0.619,1.675,0.928,2.807,0.928c0.611,0,1.18-0.084,1.708-0.252c0.527-0.166,1.042-0.404,1.546-0.709l0.801,1.443
|
||||
c-0.578,0.367-1.23,0.676-1.958,0.928c-0.726,0.252-1.526,0.377-2.396,0.377c-0.842,0-1.631-0.131-2.371-0.4
|
||||
c-0.742-0.266-1.387-0.65-1.938-1.156c-0.551-0.504-0.982-1.119-1.296-1.846C57.286,20.386,57.129,19.566,57.129,18.65z
|
||||
M65.909,17.665c0-1.01-0.263-1.781-0.779-2.317c-0.521-0.534-1.262-0.8-2.225-0.8c-0.84,0-1.587,0.266-2.245,0.8
|
||||
c-0.658,0.536-1.062,1.307-1.214,2.317H65.909z"/>
|
||||
<path fill="#231916" d="M75.475,12.679l0.008,11.794h-2.27v-8.611h-4.256L75.475,12.679z M74.152,10.368
|
||||
c-0.488,0-0.893-0.146-1.215-0.435c-0.32-0.291-0.48-0.681-0.48-1.17s0.16-0.882,0.48-1.18c0.322-0.298,0.727-0.446,1.215-0.446
|
||||
s0.896,0.148,1.215,0.446c0.32,0.298,0.482,0.691,0.482,1.18s-0.162,0.879-0.482,1.17C75.049,10.221,74.641,10.368,74.152,10.368z"
|
||||
/>
|
||||
<path fill="#231916" d="M78.629,18.878c0-0.932,0.168-1.766,0.504-2.497c0.336-0.735,0.795-1.353,1.375-1.859
|
||||
c0.582-0.503,1.25-0.884,2.008-1.145c0.756-0.26,1.561-0.389,2.416-0.389c0.918,0,1.719,0.156,2.406,0.469
|
||||
c0.689,0.312,1.262,0.693,1.721,1.135l-1.1,1.443c-0.443-0.367-0.904-0.653-1.379-0.86c-0.471-0.206-0.984-0.309-1.535-0.309
|
||||
c-0.594,0-1.143,0.095-1.65,0.287c-0.502,0.19-0.936,0.462-1.293,0.813c-0.359,0.352-0.639,0.776-0.838,1.272
|
||||
c-0.197,0.495-0.297,1.042-0.297,1.638c0,0.595,0.096,1.144,0.287,1.64c0.189,0.496,0.465,0.919,0.824,1.273
|
||||
c0.359,0.35,0.785,0.623,1.273,0.812s1.029,0.285,1.627,0.285c0.686,0,1.307-0.129,1.857-0.387
|
||||
c0.549-0.262,1.043-0.574,1.488-0.941l0.965,1.467c-0.643,0.551-1.346,0.975-2.111,1.273c-0.764,0.297-1.559,0.445-2.383,0.445
|
||||
c-0.871,0-1.686-0.129-2.441-0.389s-1.41-0.643-1.961-1.146c-0.549-0.506-0.98-1.121-1.293-1.846
|
||||
C78.785,20.64,78.629,19.811,78.629,18.878z"/>
|
||||
<path fill="#231916" d="M89.4,8.285l4.752-2.356v6.601l-0.139,2.521c0.566-0.58,1.178-1.07,1.836-1.467
|
||||
c0.656-0.396,1.42-0.595,2.293-0.595c1.312,0,2.275,0.389,2.885,1.168c0.611,0.78,0.918,1.903,0.918,3.371v6.945h-2.27v-6.649
|
||||
c0-0.978-0.176-1.7-0.527-2.165c-0.352-0.466-0.953-0.7-1.811-0.7c-0.596,0-1.131,0.149-1.604,0.448
|
||||
c-0.475,0.298-1.002,0.745-1.582,1.342v7.725h-2.27L91.836,8.189L89.4,8.285z"/>
|
||||
<g>
|
||||
<polygon fill="#010000" points="102.371,3.218 101.607,4.815 111.109,4.855 111.873,3.228 "/>
|
||||
<polygon fill="#010000" points="101.619,6.703 100.83,8.378 110.346,8.397 111.109,6.74 "/>
|
||||
<polygon fill="#010000" points="103.475,10.278 107.832,1 109.512,1.024 105.203,10.281 "/>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#231916" d="M51.446,20.596c0,0.753,0.188,1.296,0.566,1.63c0.376,0.33,0.866,0.498,1.472,0.498
|
||||
c0.295,0,0.599-0.037,0.909-0.111s0.658-0.193,1.042-0.355l0.532,1.643c-0.252,0.086-0.492,0.166-0.721,0.242
|
||||
c-0.231,0.074-0.461,0.135-0.698,0.186c-0.237,0.055-0.483,0.098-0.741,0.135c-0.26,0.035-0.543,0.057-0.853,0.057
|
||||
c-1.212,0-2.131-0.348-2.76-1.043c-0.627-0.693-0.941-1.697-0.941-3.013V5.711h-3.544l5.737-4.043"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 6.5 KiB |
|
@ -1,11 +0,0 @@
|
|||
from django.conf.urls import url
|
||||
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^$', views.index, name='index'),
|
||||
url(r'beta$', views.beta, name='beta'),
|
||||
url(r'djangohosting$', views.djangohosting, name='djangohosting'),
|
||||
url(r'nodejshosting$', views.nodejshosting, name='nodejshosting'),
|
||||
url(r'railshosting$', views.railshosting, name='railshosting'),
|
||||
]
|