Merge branch 'feature/notifybymail' into develop
4
.gitignore
vendored
|
@ -14,8 +14,8 @@ local_settings.py
|
||||||
media/*
|
media/*
|
||||||
!media/keep
|
!media/keep
|
||||||
|
|
||||||
CACHE/
|
/CACHE/
|
||||||
static/
|
/static/
|
||||||
|
|
||||||
\#*#
|
\#*#
|
||||||
.\#*
|
.\#*
|
||||||
|
|
15
README.rst
|
@ -5,3 +5,18 @@ Website for Ungleich GMBH
|
||||||
|
|
||||||
dynamicweb
|
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">
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 235 KiB After Width: | Height: | Size: 220 KiB |
|
@ -11,7 +11,7 @@
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="author" content="">
|
<meta name="author" content="">
|
||||||
|
|
||||||
<title>Digital.Glarus - {% block title %}Welcome{% endblock %}</title>
|
<title>Digital Glarus - {% block title %}Welcome{% endblock %}</title>
|
||||||
|
|
||||||
<!-- Bootstrap Core CSS -->
|
<!-- Bootstrap Core CSS -->
|
||||||
<link href="{% static 'digitalglarus/css/bootstrap.min.css' %}" rel="stylesheet">
|
<link href="{% static 'digitalglarus/css/bootstrap.min.css' %}" rel="stylesheet">
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="brand">Digital.Glarus</div>
|
<div class="brand">Digital Glarus</div>
|
||||||
<div class="address-bar">#1 IT Valley of Switzerland | Luchsingen, 8775 GL Switzerland | From 2015.12.25</div>
|
<div class="address-bar">#1 IT Valley of Switzerland | Luchsingen, 8775 GL Switzerland | From 2015.12.25</div>
|
||||||
|
|
||||||
<!-- Navigation -->
|
<!-- Navigation -->
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
<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">
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<hr>
|
<hr>
|
||||||
<h2 class="intro-text text-center">Contact
|
<h2 class="intro-text text-center">Contact
|
||||||
<strong>DIGITAL.GLARUS</strong>
|
<strong>DIGITAL GLARUS</strong>
|
||||||
</h2>
|
</h2>
|
||||||
<hr>
|
<hr>
|
||||||
</div>
|
</div>
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
<strong>+41 (0) 44 534 66 22</strong>
|
<strong>+41 (0) 44 534 66 22</strong>
|
||||||
</p>
|
</p>
|
||||||
<p>Email:
|
<p>Email:
|
||||||
<strong><a href="mailto:digital.glarus@ungleich.ch">digital.glarus@ungleich.ch</a></strong>
|
<strong><a href="mailto:digitalglarus@ungleich.ch">digitalglarus@ungleich.ch</a></strong>
|
||||||
</p>
|
</p>
|
||||||
<p>Address:
|
<p>Address:
|
||||||
<strong>Hauptstrasse 14, 8775 Luchsingen<br>
|
<strong>Hauptstrasse 14, 8775 Luchsingen<br>
|
||||||
|
|
|
@ -30,11 +30,11 @@
|
||||||
<h2 class="brand-before">
|
<h2 class="brand-before">
|
||||||
<small>Welcome to</small>
|
<small>Welcome to</small>
|
||||||
</h2>
|
</h2>
|
||||||
<h1 class="brand-name">digital.Glarus</h1>
|
<h1 class="brand-name">Digital Glarus</h1>
|
||||||
<hr class="tagline-divider">
|
<hr class="tagline-divider">
|
||||||
<h2>
|
<h2>
|
||||||
<small>By
|
<small>By
|
||||||
<strong>ungleich gmbh</strong>
|
<strong><a href="http://ungleich.ch">ungleich gmbh</a></strong>
|
||||||
</small>
|
</small>
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
|
@ -90,11 +90,11 @@
|
||||||
<hr>
|
<hr>
|
||||||
<h2 class="intro-text text-center">how to <strong>realize</strong></h2>
|
<h2 class="intro-text text-center">how to <strong>realize</strong></h2>
|
||||||
<hr>
|
<hr>
|
||||||
<p>At the moment we at <a href="http://www.ungleich.ch"> ungleich</a> are talking to authorities and sponsors. It is crucial to build up some basic infrastructure and attract early adopters. Building a community (<a href=meetup.ch>meetup</a> alike) can be helpful, but competitive pricing as well as superior infrastructure are crucial for success.</p>
|
<p>At the moment we at <a href="http://www.ungleich.ch"> ungleich</a> are talking to authorities and sponsors. It is crucial to build up some basic infrastructure and attract early adopters. Building a community (<a href=http://www.meetup.ch>meetup</a> alike) can be helpful, but competitive pricing as well as superior infrastructure are crucial for success.</p>
|
||||||
<p>Have you become interested in the project?
|
<p>Have you become interested in the project?
|
||||||
<p>Contact us at<br>
|
<p>Contact us at<br>
|
||||||
<br>
|
<br>
|
||||||
<a href="mailto:digital.glarus@ungleich.ch">digital.glarus@ungleich.ch</a> // <a href="tel:%2B41%20%280%29%2044%20534%2066%2022" value="+41445346622">+41 (0) 44 534 66 22</a>
|
<a href="mailto:digitalglarus@ungleich.ch">digitalglarus@ungleich.ch</a> // <a href="tel:%2B41%20%280%29%2044%20534%2066%2022" value="+41445346622">+41 (0) 44 534 66 22</a>
|
||||||
</p>
|
</p>
|
||||||
</p>
|
</p>
|
||||||
<p> </p>
|
<p> </p>
|
||||||
|
|
|
@ -1,214 +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>Digital.Glarus - {% block title %}Welcome{% endblock %}</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap Core CSS -->
|
|
||||||
<link href="{% static 'digitalglarus/css/bootstrap.min.css' %}" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom CSS -->
|
|
||||||
<link href="{% static 'digitalglarus/css/business-casual.css' %}" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- 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="http://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 -->
|
|
||||||
<!-- 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-2', 'auto');
|
|
||||||
ga('send', 'pageview');
|
|
||||||
|
|
||||||
</script>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="brand">Digital.Glarus</div>
|
|
||||||
<div class="address-bar">#1 IT Valley of Switzerland | Luchsingen, 8775 GL Switzerland | From 2015.12.25</div>
|
|
||||||
|
|
||||||
<!-- Navigation -->
|
|
||||||
<nav class="navbar navbar-default" role="navigation">
|
|
||||||
<div class="container">
|
|
||||||
<!-- 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>
|
|
||||||
<!-- navbar-brand is hidden on larger screens, but visible when the menu is collapsed -->
|
|
||||||
<a class="navbar-brand" href="index.html">digital.Glarus</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">
|
|
||||||
<li>
|
|
||||||
<a href="{% url 'digitalglarus:index' %}">Home</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="{% url 'digitalglarus:index' %}">About</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="{% url 'digitalglarus:index' %}">Contact</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<!-- /.navbar-collapse -->
|
|
||||||
</div>
|
|
||||||
<!-- /.container -->
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="box">
|
|
||||||
<div class="col-lg-12 text-center">
|
|
||||||
<div id="carousel-example-generic" class="carousel slide">
|
|
||||||
<!-- Indicators --><!-- Wrapper for slides -->
|
|
||||||
<div class="carousel-inner">
|
|
||||||
<div class="item active">
|
|
||||||
<img class="img-responsive img-full" src="{% static 'digitalglarus/img/slide-1.jpg' %}" alt="">
|
|
||||||
</div>
|
|
||||||
<div class="item">
|
|
||||||
<img class="img-responsive img-full" src="{% static 'digitalglarus/img/slide-2.jpg' %}" alt="">
|
|
||||||
</div>
|
|
||||||
<div class="item">
|
|
||||||
<img class="img-responsive img-full" src="{% static 'digitalglarus/img/slide-3.jpg' %}" alt="">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Controls -->
|
|
||||||
<a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
|
|
||||||
<span class="icon-prev"></span>
|
|
||||||
</a>
|
|
||||||
<a class="right carousel-control" href="#carousel-example-generic" data-slide="next">
|
|
||||||
<span class="icon-next"></span>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<h2 class="brand-before">
|
|
||||||
<small>Welcome to</small>
|
|
||||||
</h2>
|
|
||||||
<h1 class="brand-name">digital.Glarus</h1>
|
|
||||||
<hr class="tagline-divider">
|
|
||||||
<h2>
|
|
||||||
<small>By
|
|
||||||
<strong>ungleich gmbh</strong>
|
|
||||||
</small>
|
|
||||||
</h2>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="box">
|
|
||||||
<div class="col-lg-12">
|
|
||||||
<hr>
|
|
||||||
<h2 class="intro-text text-center">Build a tech valley <strong>in the heart of switzerland</strong></h2>
|
|
||||||
<hr>
|
|
||||||
<img class="img-responsive img-border img-left" src="{% static 'digitalglarus/img/intro-pic.jpg' %}" alt="">
|
|
||||||
<hr class="visible-xs">
|
|
||||||
<p>Digital Glarus, this is how we call the new home for high tech companies. Located south of Zurich, it has unique features you can not find anywhere else in Switzerland.</p>
|
|
||||||
<p> The combination of beautiful landscape, recreational areas as well as having high speed Internet connections and huge variety of great food offers forms what we call "Digital Glarus".</p>
|
|
||||||
<p>The valley also knows as "Glarnerland" is featured by many gorgeous, eye-catching buildings from former industrial area.</p>
|
|
||||||
<p>In fact, Glarnerland may be the valley to contain most well preserved antique houses equipped with fitting high quality old age furniture (those you always look at in expensive shops, but never buy - this is how people live here).</p>
|
|
||||||
<p> </p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="box">
|
|
||||||
<div class="col-lg-12">
|
|
||||||
<hr>
|
|
||||||
<h2 class="intro-text text-center">a new <strong>area</strong>
|
|
||||||
</h2>
|
|
||||||
<hr>
|
|
||||||
<p>While you can imagine that the old factories, many of them being weaving mills, are not business anymore, their heritage suits exactly what the tech society of Switzerland requires: Great and affordable place for computer scientists.</p>
|
|
||||||
<p>Instead of having the old falling apart, we are thinking of building the new tech centre of Switzerland by converting old, abandoned factory halls into attractive working places.</p>
|
|
||||||
<p>But what is attractive to a computer scientist? Pizza, Coke and fast Internet? The latter is a still true, though computer scientists in Switzerland are more orientated on living healthy, which is exactly what Glarnerland can provide.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="box">
|
|
||||||
<div class="col-lg-12">
|
|
||||||
<hr>
|
|
||||||
<h2 class="intro-text text-center">Why would anyone be <strong>interested</strong> in it?</h2>
|
|
||||||
<hr>
|
|
||||||
<p>The current de-facto tech centre of Switzerland, Zurich, is overpopulated with an average of less than 0.1% free apartments. Furthermore it is expensive and loud. Although the high concentration of people may be helpful to find customers, most tech companies are making their business in the Internet and are not affected by the change. While you can imagine that the old factories, many of them being weaving mills, are not business anymore, their heritage suits exactly what the tech society of Switzerland requires: Great and affordable place for computer scientists.</p>
|
|
||||||
<p>In fact development is hampered by the costs companies and developers have to carry, distracting them from the real work they plan to do.</p>
|
|
||||||
<p>While some investment is required to be attractive to tech companies, given the potential of reuse of infrastructure, the costs are estimated to be low and can be a key factor in the development of the Canton Glarus.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row">
|
|
||||||
<div class="box">
|
|
||||||
<div class="col-lg-12">
|
|
||||||
<hr>
|
|
||||||
<h2 class="intro-text text-center">how to <strong>realize</strong></h2>
|
|
||||||
<hr>
|
|
||||||
<p>At the moment we at <a href="www.ungleich.ch"> ungleich</a> are talking to authorities and sponsors. It is crucial to build up some basic infrastructure and attract early adopters. Building a community (<a href=meetup.ch>meetup</a> alike) can be helpful, but competitive pricing as well as superior infrastructure are crucial for success.</p>
|
|
||||||
<p>Have you become interested in the project?
|
|
||||||
<p>Contact us at<br>
|
|
||||||
<br>
|
|
||||||
<a href="mailto:digital.glarus@ungleich.ch">digital.glarus@ungleich.ch</a> // <a href="tel:%2B41%20%280%29%2044%20534%2066%2022" value="+41445346622">+41 (0) 44 534 66 22</a>
|
|
||||||
</p>
|
|
||||||
</p>
|
|
||||||
<p> </p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<!-- /.container -->
|
|
||||||
|
|
||||||
<footer>
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-12 text-center">
|
|
||||||
<p>Copyright © <a href="http://www.ungleich.ch">ungleich GmbH 2015</a></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- jQuery -->
|
|
||||||
<script src="js/jquery.js"></script>
|
|
||||||
|
|
||||||
<!-- Bootstrap Core JavaScript -->
|
|
||||||
<script src="js/bootstrap.min.js"></script>
|
|
||||||
|
|
||||||
<!-- Script to Activate the Carousel -->
|
|
||||||
<script>
|
|
||||||
$('.carousel').carousel({
|
|
||||||
interval: 5000 //changes the speed
|
|
||||||
})
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
|
@ -1,23 +0,0 @@
|
||||||
|
|
||||||
{% extends "base.html" %}
|
|
||||||
|
|
||||||
|
|
||||||
{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}
|
|
||||||
|
|
||||||
<form action="{% url 'digitalglarus:index' %}" method="post">
|
|
||||||
{% csrf_token %}
|
|
||||||
{{ form }}
|
|
||||||
<input type="submit" value="Send Message" />
|
|
||||||
</form>
|
|
||||||
|
|
||||||
{% if message_list %}
|
|
||||||
<ul>
|
|
||||||
{% for message in message_list %}
|
|
||||||
<li><a href="/digital.glarus/{{ message.id }}/">{{ message }}</a></li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
{% else %}
|
|
||||||
<p>No messages are available.</p>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
|
|
|
@ -15,9 +15,14 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||||
# Quick-start development settings - unsuitable for production
|
# Quick-start development settings - unsuitable for production
|
||||||
# See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/
|
# See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/
|
||||||
|
|
||||||
|
|
||||||
ADMINS = (
|
ADMINS = (
|
||||||
('Nico Schottelius', 'nico.schottelius@ungleich.ch'),
|
('Nico Schottelius', 'nico.schottelius@ungleich.ch'),
|
||||||
)
|
)
|
||||||
|
# ('Sanghee Kim', 'sanghee.kim@ungleich.ch'),
|
||||||
|
|
||||||
|
|
||||||
|
MANAGERS = ADMINS
|
||||||
|
|
||||||
SITE_ID = 1
|
SITE_ID = 1
|
||||||
|
|
||||||
|
@ -27,6 +32,9 @@ LOGIN_URL = None
|
||||||
LOGOUT_URL = None
|
LOGOUT_URL = None
|
||||||
LOGIN_REDIRECT_URL = None
|
LOGIN_REDIRECT_URL = None
|
||||||
|
|
||||||
|
EMAIL_HOST="localhost"
|
||||||
|
EMAIL_PORT=25
|
||||||
|
|
||||||
# SECURITY WARNING: keep the secret key used in production secret!
|
# SECURITY WARNING: keep the secret key used in production secret!
|
||||||
SECRET_KEY = 'xlhyv_l5-z6e8_@q6)n0up1a0$5-aad7d)om2t8g$bi6*@q44i'
|
SECRET_KEY = 'xlhyv_l5-z6e8_@q6)n0up1a0$5-aad7d)om2t8g$bi6*@q44i'
|
||||||
|
|
||||||
|
@ -35,7 +43,8 @@ DEBUG = False
|
||||||
|
|
||||||
ALLOWED_HOSTS = [
|
ALLOWED_HOSTS = [
|
||||||
".ungleich.ch",
|
".ungleich.ch",
|
||||||
"digital.glarus.ungleich.ch" ]
|
"digital.glarus.ungleich.ch" ,
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
@ -60,6 +69,7 @@ INSTALLED_APPS = (
|
||||||
'djangocms_link',
|
'djangocms_link',
|
||||||
'djangocms_snippet',
|
'djangocms_snippet',
|
||||||
'djangocms_teaser',
|
'djangocms_teaser',
|
||||||
|
'djangocms_page_meta',
|
||||||
#django-filer
|
#django-filer
|
||||||
'cmsplugin_filer_file',
|
'cmsplugin_filer_file',
|
||||||
'cmsplugin_filer_folder',
|
'cmsplugin_filer_folder',
|
||||||
|
@ -86,9 +96,8 @@ INSTALLED_APPS = (
|
||||||
'compressor',
|
'compressor',
|
||||||
# ungleich
|
# ungleich
|
||||||
'ungleich',
|
'ungleich',
|
||||||
'railshosting',
|
'hosting',
|
||||||
'digitalglarus',
|
'digitalglarus',
|
||||||
'djangocms_page_meta',
|
|
||||||
)
|
)
|
||||||
|
|
||||||
MIDDLEWARE_CLASSES = (
|
MIDDLEWARE_CLASSES = (
|
||||||
|
|
|
@ -6,10 +6,8 @@ from dynamicweb import settings
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
url(r'^admin/', include(admin.site.urls)),
|
url(r'^admin/', include(admin.site.urls)),
|
||||||
url(r'^digitalglarus/', include('digitalglarus.urls',
|
url(r'^digitalglarus/', include('digitalglarus.urls', namespace="digitalglarus")),
|
||||||
namespace="digitalglarus")),
|
url(r'^hosting/', include('hosting.urls', namespace="hosting")),
|
||||||
url(r'^railshosting/', include('railshosting.urls',
|
|
||||||
namespace="railshosting")),
|
|
||||||
url(r'^', include('cms.urls')),
|
url(r'^', include('cms.urls')),
|
||||||
url(r'^taggit_autosuggest/', include('taggit_autosuggest.urls')),
|
url(r'^taggit_autosuggest/', include('taggit_autosuggest.urls')),
|
||||||
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||||
|
|
BIN
hosting/static/hosting/card-django.png
Normal file
After Width: | Height: | Size: 143 KiB |
BIN
hosting/static/hosting/card-nodejs.png
Normal file
After Width: | Height: | Size: 142 KiB |
Before Width: | Height: | Size: 142 KiB After Width: | Height: | Size: 142 KiB |
BIN
hosting/static/hosting/django-intro-bg.png
Normal file
After Width: | Height: | Size: 2.8 MiB |
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 |
BIN
hosting/static/hosting/nodejs-intro-bg.png
Normal file
After Width: | Height: | Size: 2.2 MiB |
BIN
hosting/static/hosting/rails-intro-bg.png
Normal file
After Width: | Height: | Size: 1.6 MiB |
|
@ -11,19 +11,19 @@
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="author" content="">
|
<meta name="author" content="">
|
||||||
|
|
||||||
<title>{% block title %} {%endblock%} as easy as possible</title>
|
<title>{{ domain }} - {{ hosting }} hosting as easy as possible</title>
|
||||||
|
|
||||||
<!-- Bootstrap Core CSS -->
|
<!-- 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 -->
|
<!-- Custom CSS -->
|
||||||
<link href="{% static 'railshosting/css/landing-page.css' %}" rel="stylesheet">
|
<link href="{% static 'hosting/css/landing-page.css' %}" rel="stylesheet">
|
||||||
|
|
||||||
<!-- Custom Fonts -->
|
<!-- Custom Fonts -->
|
||||||
<link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
|
<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 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 -->
|
<!-- 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:// -->
|
||||||
|
@ -32,8 +32,14 @@
|
||||||
<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]-->
|
||||||
|
|
||||||
{% block customcss %} {%endblock%}
|
{% with 'hosting/img/'|add:hosting|add:'-intro-bg.png' as image_static %}
|
||||||
|
alt="">
|
||||||
|
<style media="screen" type="text/css">
|
||||||
|
.intro-header {
|
||||||
|
background: url("{% static image_static %}") no-repeat center center;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
{% endwith %}
|
||||||
<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(){
|
||||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||||
|
@ -59,7 +65,7 @@
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</button>
|
</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>
|
</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">
|
||||||
|
@ -96,7 +102,7 @@
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
|
|
||||||
<div class="intro-message">
|
<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>
|
<h1>{{ domain }}</h1>
|
||||||
<h3>{{ hosting_long }} as easy as possible</h3>
|
<h3>{{ hosting_long }} as easy as possible</h3>
|
||||||
<hr class="intro-divider">
|
<hr class="intro-divider">
|
||||||
|
@ -133,9 +139,11 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
{% with 'hosting/img/card-'|add:hosting|add:'.png' as image_static %}
|
||||||
<div class="col-lg-5 col-sm-pull-6 col-sm-6">
|
<div class="col-lg-5 col-sm-pull-6 col-sm-6">
|
||||||
<img class="img-responsive" src="{% static 'railshosting/img/how3.png' %}" alt="">
|
<img class="img-responsive" src="{% static image_static %}" alt="">
|
||||||
</div>
|
</div>
|
||||||
|
{% endwith %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -153,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>
|
<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>
|
||||||
<div class="col-lg-5 col-lg-offset-2 col-sm-6">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -173,10 +181,10 @@
|
||||||
<hr class="section-heading-spacer">
|
<hr class="section-heading-spacer">
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
<h2 class="section-heading">Option 2 : Our infrastructure</h2>
|
<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 {{ hosting_long }}ls hosting. Full root access, 24x7 support.</p>
|
<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>
|
||||||
<div class="col-lg-5 col-sm-pull-6 col-sm-6">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -209,7 +217,7 @@
|
||||||
|
|
||||||
<div class="col-md-3 col-sm-6 hero-feature">
|
<div class="col-md-3 col-sm-6 hero-feature">
|
||||||
<div class="thumbnail">
|
<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">
|
<div class="caption">
|
||||||
<h3>Economy </h3>
|
<h3>Economy </h3>
|
||||||
<p>Suited for smaller applications </p>
|
<p>Suited for smaller applications </p>
|
||||||
|
@ -224,7 +232,7 @@
|
||||||
|
|
||||||
<div class="col-md-3 col-sm-6 hero-feature">
|
<div class="col-md-3 col-sm-6 hero-feature">
|
||||||
<div class="thumbnail">
|
<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">
|
<div class="caption">
|
||||||
<h3>Standard</h3>
|
<h3>Standard</h3>
|
||||||
<p>Suited for standard {{ hosting_long }} applications</p>
|
<p>Suited for standard {{ hosting_long }} applications</p>
|
||||||
|
@ -240,7 +248,7 @@
|
||||||
|
|
||||||
<div class="col-md-3 col-sm-6 hero-feature">
|
<div class="col-md-3 col-sm-6 hero-feature">
|
||||||
<div class="thumbnail">
|
<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">
|
<div class="caption">
|
||||||
<h3>Deluxe</h3>
|
<h3>Deluxe</h3>
|
||||||
<p>Suited for performance critical project</p>
|
<p>Suited for performance critical project</p>
|
||||||
|
@ -255,7 +263,7 @@
|
||||||
|
|
||||||
<div class="col-md-3 col-sm-6 hero-feature">
|
<div class="col-md-3 col-sm-6 hero-feature">
|
||||||
<div class="thumbnail">
|
<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">
|
<div class="caption">
|
||||||
<h3>Presidential Premium</h3>
|
<h3>Presidential Premium</h3>
|
||||||
<p> Suited for performance critical & </p>
|
<p> Suited for performance critical & </p>
|
||||||
|
@ -292,7 +300,7 @@
|
||||||
{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}
|
{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}
|
||||||
{{ form.non_field_errors }}
|
{{ form.non_field_errors }}
|
||||||
{{ form.email.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 %}
|
{% csrf_token %}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="sr-only" for="email">Email address</label>
|
<label class="sr-only" for="email">Email address</label>
|
||||||
|
@ -377,10 +385,10 @@
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<!-- jQuery -->
|
<!-- jQuery -->
|
||||||
<script src="{% static 'railshosting/js/jquery.js' %}"></script>
|
<script src="{% static 'hosting/js/jquery.js' %}"></script>
|
||||||
|
|
||||||
<!-- Bootstrap Core JavaScript -->
|
<!-- Bootstrap Core JavaScript -->
|
||||||
<script src="{% static 'railshosting/js/bootstrap.min.js' %}"></script>
|
<script src="{% static 'hosting/js/bootstrap.min.js' %}"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -14,16 +14,16 @@
|
||||||
<title>Rails Hosting.ch - Ruby on Rails as easy as possible</title>
|
<title>Rails Hosting.ch - Ruby on Rails as easy as possible</title>
|
||||||
|
|
||||||
<!-- Bootstrap Core CSS -->
|
<!-- 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 -->
|
<!-- Custom CSS -->
|
||||||
<link href="{% static 'railshosting/css/landing-page.css' %}" rel="stylesheet">
|
<link href="{% static 'hosting/css/landing-page.css' %}" rel="stylesheet">
|
||||||
|
|
||||||
<!-- Custom Fonts -->
|
<!-- Custom Fonts -->
|
||||||
<link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
|
<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 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 -->
|
<!-- 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:// -->
|
||||||
|
@ -57,25 +57,25 @@
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</button>
|
</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>
|
</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 navbar-right">
|
<ul class="nav navbar-nav navbar-right">
|
||||||
<li>
|
<li>
|
||||||
<a href="{% url 'railshosting:index' %}#how">How it works</a>
|
<a href="{% url 'hosting:index' %}#how">How it works</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="{% url 'railshosting:index' %}#your">Your infrastructure</a>
|
<a href="{% url 'hosting:index' %}#your">Your infrastructure</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="{% url 'railshosting:index' %}#our">Our inftrastructure</a>
|
<a href="{% url 'hosting:index' %}#our">Our inftrastructure</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="{% url 'railshosting:index' %}#price">Pricing</a>
|
<a href="{% url 'hosting:index' %}#price">Pricing</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="{% url 'railshosting:index' %}#contact">Contact</a>
|
<a href="{% url 'hosting:index' %}#contact">Contact</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -91,7 +91,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class=".col-md-6">
|
<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>
|
<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.
|
We will come back to you shortly to give you access to our infrastructure.
|
||||||
</p>
|
</p>
|
||||||
|
@ -116,24 +116,24 @@
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<ul class="list-inline">
|
<ul class="list-inline">
|
||||||
<li>
|
<li>
|
||||||
<a href="{% url 'railshosting:index' %}">Home</a>
|
<a href="{% url 'hosting:index' %}">Home</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="footer-menu-divider">⋅</li>
|
<li class="footer-menu-divider">⋅</li>
|
||||||
<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 class="footer-menu-divider">⋅</li>
|
||||||
<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>⋅</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 class="footer-menu-divider">⋅</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="{% url 'railshosting:index' %}#price">Pricing</a>
|
<a href="{% url 'hosting:index' %}#price">Pricing</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="footer-menu-divider">⋅</li>
|
<li class="footer-menu-divider">⋅</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="{% url 'railshosting:index' %}#contact">Contact</a>
|
<a href="{% url 'hosting:index' %}#contact">Contact</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p class="copyright text-muted small">Copyright © ungleich GmbH 2015. All Rights Reserved</p>
|
<p class="copyright text-muted small">Copyright © ungleich GmbH 2015. All Rights Reserved</p>
|
||||||
|
@ -143,10 +143,10 @@
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<!-- jQuery -->
|
<!-- jQuery -->
|
||||||
<script src="{% static 'railshosting/js/jquery.js' %}"></script>
|
<script src="{% static 'hosting/js/jquery.js' %}"></script>
|
||||||
|
|
||||||
<!-- Bootstrap Core JavaScript -->
|
<!-- Bootstrap Core JavaScript -->
|
||||||
<script src="{% static 'railshosting/js/bootstrap.min.js' %}"></script>
|
<script src="{% static 'hosting/js/bootstrap.min.js' %}"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
12
hosting/templates/hosting/django.html
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{% extends "hosting/base.html" %}
|
||||||
|
{% load staticfiles %}
|
||||||
|
|
||||||
|
{%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%}
|
|
@ -1,10 +1,10 @@
|
||||||
{% extends "railshosting/base.html" %}
|
{% extends "hosting/base.html" %}
|
||||||
{% load staticfiles %}
|
{% load staticfiles %}
|
||||||
|
|
||||||
{% block title %}django hosting.ch - django hosting{%endblock%}
|
|
||||||
|
|
||||||
{%block customcss %}
|
{%block customcss %}
|
||||||
<link href="{% static 'railshosting/css/djangohosting.css' %}" rel="stylesheet">
|
<link href="{% static "railshosting/css/djangohosting.css" %}" rel="stylesheet">
|
||||||
|
|
||||||
{%endblock%}
|
{%endblock%}
|
||||||
|
|
||||||
{%block specification %}
|
{%block specification %}
|
13
hosting/templates/hosting/rails.html
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{% extends "hosting/base.html" %}
|
||||||
|
{% load staticfiles %}
|
||||||
|
|
||||||
|
{%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">rbenv to let you decide which Ruby version you want to use</p></li>s
|
||||||
|
<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%}
|
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'),
|
||||||
|
]
|
75
hosting/views.py
Normal file
|
@ -0,0 +1,75 @@
|
||||||
|
import datetime
|
||||||
|
|
||||||
|
from django.shortcuts import get_object_or_404, render
|
||||||
|
from django.forms import ModelForm
|
||||||
|
from django.http import HttpResponseRedirect
|
||||||
|
from django.core.urlresolvers import reverse
|
||||||
|
|
||||||
|
from django.core.mail import send_mail
|
||||||
|
|
||||||
|
from .models import RailsBetaUser
|
||||||
|
|
||||||
|
class RailsBetaUserForm(ModelForm):
|
||||||
|
required_css_class = 'form-control'
|
||||||
|
class Meta:
|
||||||
|
model = RailsBetaUser
|
||||||
|
fields = [ 'email' ]
|
||||||
|
|
||||||
|
def hosting(request, context):
|
||||||
|
email = RailsBetaUser(received_date=datetime.datetime.now())
|
||||||
|
|
||||||
|
if request.method == 'POST':
|
||||||
|
context['form'] = RailsBetaUserForm(request.POST, instance=email)
|
||||||
|
if context['form'].is_valid():
|
||||||
|
context['form'].save()
|
||||||
|
email = context['form'].cleaned_data['email']
|
||||||
|
subject = "%shosting request" % context['hosting']
|
||||||
|
message = "Request for beta by: %s" % email
|
||||||
|
|
||||||
|
mail_managers(subject, message)
|
||||||
|
|
||||||
|
return HttpResponseRedirect(reverse("hosting:beta"))
|
||||||
|
else:
|
||||||
|
context['form'] = RailsBetaUserForm()
|
||||||
|
context['error_message'] = "a problem"
|
||||||
|
|
||||||
|
page = "hosting/%s.html" % context['hosting']
|
||||||
|
|
||||||
|
return render(request, page, context)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Hostings
|
||||||
|
#
|
||||||
|
def djangohosting(request):
|
||||||
|
context = {}
|
||||||
|
context["hosting"]="django"
|
||||||
|
context["hosting_long"]="Django"
|
||||||
|
context["domain"]="django-hosting.ch"
|
||||||
|
context["google_analytics"]="UA-62285904-6"
|
||||||
|
context["email"]="info@django-hosting.ch"
|
||||||
|
|
||||||
|
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"]="UA-62285904-5"
|
||||||
|
context["email"]="info@rails-hosting.ch"
|
||||||
|
|
||||||
|
return hosting(request, context)
|
||||||
|
|
||||||
|
def nodejshosting(request):
|
||||||
|
context = {}
|
||||||
|
|
||||||
|
context["hosting"]="nodejs"
|
||||||
|
context["hosting_long"]="NodeJS"
|
||||||
|
context["domain"]="node-hosting.ch"
|
||||||
|
context["google_analytics"]="UA-62285904-7"
|
||||||
|
context["email"]="info@node-hosting.ch"
|
||||||
|
|
||||||
|
return hosting(request, context)
|
||||||
|
|
||||||
|
def beta(request):
|
||||||
|
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.
|
|
||||||
|
|