@@ -6,8 +8,7 @@
- We Design, Configure & Maintain
- Your Linux Infrastructure
+ {% trans "We Design, Configure & Maintain
Your Linux Infrastructure " %}
diff --git a/ungleich_page/templates/ungleich_page/includes/_portfolio.html b/ungleich_page/templates/ungleich_page/includes/_portfolio.html
index f0dd04f4..409bd546 100644
--- a/ungleich_page/templates/ungleich_page/includes/_portfolio.html
+++ b/ungleich_page/templates/ungleich_page/includes/_portfolio.html
@@ -1,36 +1,37 @@
{% load static %}
+{% load i18n %}
-
Hosting Products
- Our Hosting Products:
+ {% trans "Hosting Products " %}
+ {% trans "Hosting Products " %}
-
HA Hosting
+
{% trans "HA Hosting" %}
-
We offer high availablity hosting (HA) in Germany and in Switzerland. Our infrastructure is powered by Free and Open Source Software like OpenNebula, Qemu and GlusterFS.
+
{% trans "We offer high availablity hosting (HA) in Germany and in Switzerland. Our infrastructure is powered by Free and Open Source Software like OpenNebula, Qemu and GlusterFS." %}
-
Rails Hosting
+
{% trans "Rails Hosting" %}
-
Ready to go live with your Ruby on Rails application? We offer you ready-to-deploy virtual machines or configure your existing infrastructure for Ruby on Rails.
+
{% trans "Ready to go live with your Ruby on Rails application? We offer you ready-to-deploy virtual machines or configure your existing infrastructure for Ruby on Rails." %}
-
Configuration as a Service
+
{% trans " Configuration as a Service" %}
-
You are in need for a configuration?
With ungleich you have found an experienced team that configure your systems to provide service like DNS, E-Mail, Databases or Webservers.
+
{% trans "You are in need for a configuration?
With ungleich you have found an experienced team that configure your systems to provide service like DNS, E-Mail, Databases or Webservers." %}
diff --git a/ungleich_page/templates/ungleich_page/includes/_services.html b/ungleich_page/templates/ungleich_page/includes/_services.html
index 39f5c7cc..928a0132 100644
--- a/ungleich_page/templates/ungleich_page/includes/_services.html
+++ b/ungleich_page/templates/ungleich_page/includes/_services.html
@@ -1,12 +1,13 @@
{% load static %}
+{% load i18n %}
-
our services
-
We support our clients in all areas of Unix infrastructure.
- Our top notch configuration management is refreshingly simple and reliable.
+
{% trans "our services" %}
+
{% trans "We support our clients in all areas of Unix infrastructure.
+ Our top notch configuration management is refreshingly simple and reliable." %}
@@ -14,9 +15,9 @@
-
Hosting
+
{% trans "Hosting" %}
-
Ruby on Rails. Java hosting, Django hosting, we make it everything run smooth and safe.
+
{% trans "Ruby on Rails. Java hosting, Django hosting, we make it everything run smooth and safe." %}
@@ -24,9 +25,9 @@
-
Configuration as a Service
+
{% trans "Configuration as a Service" %}
-
Ruby on Rails, Django, Java, Webserver, Mailserver, any infrastructure that needs to configured, we provide comprehensive solutions. Amazon, rackspace or bare metal servers, we configure for you.
+
{% trans "Ruby on Rails, Django, Java, Webserver, Mailserver, any infrastructure that needs to configured, we provide comprehensive solutions. Amazon, rackspace or bare metal servers, we configure for you." %}
@@ -34,10 +35,10 @@
-
Linux System Engineering
+
{% trans "Linux System Engineering" %}
-
Let your developers develop! We take care of your system administration. Gentoo, Archlinux, Debian, Ubuntu, and many more.
+
{% trans "Let your developers develop! We take care of your system administration. Gentoo, Archlinux, Debian, Ubuntu, and many more." %}
diff --git a/ungleich_page/templates/ungleich_page/includes/_team.html b/ungleich_page/templates/ungleich_page/includes/_team.html
index 5339793f..a9a32c74 100644
--- a/ungleich_page/templates/ungleich_page/includes/_team.html
+++ b/ungleich_page/templates/ungleich_page/includes/_team.html
@@ -1,11 +1,12 @@
{% load static %}
+{% load i18n %}
-
Why ungleich?*
- What our customers say
+ {% trans "Why ungleich?*" %}
+ {% trans "What our customers say" %}
@@ -25,6 +26,7 @@
+ {% blocktrans %}
"ungleich helped us getting started with our internal
infrastructure, hosted on physical servers in a
co-location data centre in Zurich. From planning the
@@ -37,6 +39,7 @@
a high availability infrastructure setup enabling our
engineers to work more efficiently and comfortable
than before."
+ {% endblocktrans %}
- Luciano Franceschina, CTO at Teralytics
@@ -45,12 +48,14 @@
+ {% blocktrans %}
"Thanks to ungleich team, who has designed and
configured our company's Linux infrastructure, our
systems are very easy to maintain. Their innovative
configuration management system cdist helped us
significantly not only in cost but also in time
saving, which is crucial for IT companies like ours."
+ {% endblocktrans %}
- Beat Seeliger , CTO at Panter AG
@@ -59,6 +64,7 @@
+ {% blocktrans %}
"ungleich provided an excellent service in designing
our system architecture and created secure and stable
appliance. For us it is important to have an enduring
@@ -70,10 +76,13 @@
high-skilled and very reliable. I would definitely
recommend them to any companies with high demand in
solid infrastructures."
+ {% endblocktrans %}
+ {% blocktrans %}
- Sebastian Plattner,
Teamleader Development Cyber Security Products at RUAG
+ {% endblocktrans %}
@@ -83,6 +92,6 @@
-
*ungleich means not equal to (≠) U+2260.
+ {% blocktrans %}*ungleich means not equal to (≠) U+2260.{% endblocktrans %}
\ No newline at end of file
diff --git a/ungleich_page/templates/ungleich_page/landing.html b/ungleich_page/templates/ungleich_page/landing.html
index f2578fc3..79ec4338 100644
--- a/ungleich_page/templates/ungleich_page/landing.html
+++ b/ungleich_page/templates/ungleich_page/landing.html
@@ -127,202 +127,23 @@
-
-
-
-
-
-
-
-
-
1.Grant us access to your system(s)
-
Follow the simple steps below
-
-
- Copy our public ssh key to ~root/.ssh/authorized_key
-
- Ensure the permissions are restrictive on the keyfile and directory
-
(chmod 0644 ~root/.ssh/authorized_key; chmod 0755 ~root/.ssh)
-
- Add "PermitRootLogin without-password" to /etc/ssh/sshd_config and restart your ssh server
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
2.Select the Configuration
-
Choose one or more of the available configurations.
-
-
Our first release supports configuring your systems with Django Hosting
- as well as Ruby on Rails Hosting.
-
- We plan to offer various configurations ranging from Webservers like
- Apache ,
- nginx
to database systems like
- PostgreSQL or
- MongoDB.
-
-
We are constantly enhancing our configuration portfolio,
- but in case you have a specific wish - do not hesitate to contact us for
- a development quote.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
3.Configure!
-
Press the configure button.
-
-
Press the configure button and we will verify that access
- to your system work and ensure it is configured as chosen.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Project Name
-
Lorem ipsum dolor sit amet consectetur.
-
-
Start Bootstrap's Agency theme is based on Golden, a free PSD website template built by Mathavan Jaya. Golden is a modern and clean one page web template that was made exclusively for Best PSD Freebies. This template has a great portfolio, timeline, and meet your team sections that can be easily modified to fit your needs.
-
You can download the PSD template in this portfolio sample item at FreebiesXpress.com.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Project Name
-
Lorem ipsum dolor sit amet consectetur.
-
-
Escape is a free PSD web template built by Mathavan Jaya. Escape is a one page web template that was designed with agencies in mind. This template is ideal for those looking for a simple one page solution to describe your business and offer your services.
-
You can download the PSD template in this portfolio sample item at FreebiesXpress.com.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Project Name
-
Lorem ipsum dolor sit amet consectetur.
-
-
Dreams is a free PSD web template built by Mathavan Jaya. Dreams
- is a modern one page web template designed for almost any purpose. It’s a
- beautiful template that’s designed with the Bootstrap framework in
- mind.
You can download the PSD template in this portfolio sample
- item at FreebiesXpress.com.
-
-
-
-
-
-
+
-
-
-
+
@@ -333,7 +154,7 @@
-
+
diff --git a/ungleich_page/urls.py b/ungleich_page/urls.py
index 2176973d..c0ce1feb 100644
--- a/ungleich_page/urls.py
+++ b/ungleich_page/urls.py
@@ -5,5 +5,5 @@ from django.utils.translation import ugettext_lazy as _
urlpatterns = [
url(_(r'contact/?$'), ContactView.as_view(), name='contact'),
- url(_(r''), LandingView.as_view(), name='landing'),
+ url(r'', LandingView.as_view(), name='landing'),
]
diff --git a/ungleich_page/views.py b/ungleich_page/views.py
index 1974e22d..e5a99d8d 100644
--- a/ungleich_page/views.py
+++ b/ungleich_page/views.py
@@ -3,18 +3,25 @@ from django.contrib import messages
from django.views.generic.edit import FormView
from django.utils.translation import ugettext_lazy as _
from django.core.urlresolvers import reverse_lazy
-from django.views.generic import TemplateView
+from django.views.generic import View
+from django.shortcuts import render
+
from utils.forms import ContactUsForm
-class LandingView(TemplateView):
+class LandingView(View):
template_name = "ungleich_page/landing.html"
+ form_class = ContactUsForm
+
+ def get(self, request, *args, **kwargs):
+ form = self.form_class()
+ return render(request, self.template_name, {'form': form})
class ContactView(FormView):
- template_name = 'ungleich_page/contact.html'
+ template_name = 'ungleich_page/landing.html'
form_class = ContactUsForm
- success_url = reverse_lazy('digitalglarus:contact')
+ success_url = reverse_lazy('ungleich_page:landing')
success_message = _('Message Successfully Sent')
def form_valid(self, form):