From b15bae49406af363488f5e4167db18c85fa227aa Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 8 Jun 2017 21:55:35 +0200 Subject: [PATCH 1/2] Add template base.html --- .../templates/datacenterlight/base.html | 43 +++++++++++ .../templates/datacenterlight/order.html | 73 +++++-------------- .../templates/datacenterlight/success.html | 61 +++------------- 3 files changed, 71 insertions(+), 106 deletions(-) create mode 100644 datacenterlight/templates/datacenterlight/base.html diff --git a/datacenterlight/templates/datacenterlight/base.html b/datacenterlight/templates/datacenterlight/base.html new file mode 100644 index 00000000..3b43ff9c --- /dev/null +++ b/datacenterlight/templates/datacenterlight/base.html @@ -0,0 +1,43 @@ +{% load staticfiles i18n%} +{% get_current_language as LANGUAGE_CODE %} + + + + + + + + + + + + Data Center Light - + {% block title %}VM hosting made in Switzerland{% endblock %} + + + + + + + + + + + + + + + + + + + + + {% block body %} + + {% endblock %} + + diff --git a/datacenterlight/templates/datacenterlight/order.html b/datacenterlight/templates/datacenterlight/order.html index d20bd897..05d8f651 100644 --- a/datacenterlight/templates/datacenterlight/order.html +++ b/datacenterlight/templates/datacenterlight/order.html @@ -1,45 +1,6 @@ -{% load staticfiles i18n%} -{% get_current_language as LANGUAGE_CODE %} - - +{% extends "base.html" %} - - - - - - - - - datacenterlight.ch - Featherlight Swiss VM - - - - - - - - - - - - - - - - - - - - - - - - - +{% block body %}