From c938af51a5f2369651b960c5691ef75031354b61 Mon Sep 17 00:00:00 2001 From: PCoder Date: Mon, 17 Jul 2017 03:16:23 +0530 Subject: [PATCH 1/5] Added font-weight-> 300 to .split-section .split-text .lead in dcl landing-page.css --- datacenterlight/static/datacenterlight/css/landing-page.css | 1 + 1 file changed, 1 insertion(+) diff --git a/datacenterlight/static/datacenterlight/css/landing-page.css b/datacenterlight/static/datacenterlight/css/landing-page.css index 42b9ed70..fe07e9f5 100755 --- a/datacenterlight/static/datacenterlight/css/landing-page.css +++ b/datacenterlight/static/datacenterlight/css/landing-page.css @@ -322,6 +322,7 @@ h6 { .split-section .split-text .lead{ font-size: 21px; color: #3a3a3a; + font-weight: 300 !important; } .split-section .split-text .split-title{ position: relative; From af46927b9d83019e9632f664b4ed7b1283a54f9f Mon Sep 17 00:00:00 2001 From: PCoder Date: Tue, 18 Jul 2017 01:35:33 +0530 Subject: [PATCH 2/5] Changed the font weight of the lead text to 300 --- .../static/datacenterlight/css/landing-page.css | 5 +++++ datacenterlight/templates/datacenterlight/index.html | 2 +- .../templates/datacenterlight/whydatacenterlight.html | 8 ++++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/datacenterlight/static/datacenterlight/css/landing-page.css b/datacenterlight/static/datacenterlight/css/landing-page.css index fe07e9f5..14eaef9d 100755 --- a/datacenterlight/static/datacenterlight/css/landing-page.css +++ b/datacenterlight/static/datacenterlight/css/landing-page.css @@ -324,6 +324,11 @@ h6 { color: #3a3a3a; font-weight: 300 !important; } + +.new-lead { + font-weight: 300 !important; +} + .split-section .split-text .split-title{ position: relative; margin-bottom: 25px; diff --git a/datacenterlight/templates/datacenterlight/index.html b/datacenterlight/templates/datacenterlight/index.html index f37faf08..548d8305 100755 --- a/datacenterlight/templates/datacenterlight/index.html +++ b/datacenterlight/templates/datacenterlight/index.html @@ -130,7 +130,7 @@

{% trans "Simple and affordable: Try our virtual machine with featherlight price." %}

-

{% trans "Affordable VM hosting based in Switzerland" %}

+

{% trans "Affordable VM hosting based in Switzerland" %}

diff --git a/datacenterlight/templates/datacenterlight/whydatacenterlight.html b/datacenterlight/templates/datacenterlight/whydatacenterlight.html index 3cd10074..948a51b2 100644 --- a/datacenterlight/templates/datacenterlight/whydatacenterlight.html +++ b/datacenterlight/templates/datacenterlight/whydatacenterlight.html @@ -88,7 +88,7 @@

{% trans "We believe in giving back to the FOSS community." %}

-

{% blocktrans %}Data Center Light is the child of free and open source software (FOSS) movement.
We grew up with it, live by it, and believe in it.
The more we work on our data center,
the more we contribute back to the FOSS community.{% endblocktrans %}

+

{% blocktrans %}Data Center Light is the child of free and open source software (FOSS) movement.
We grew up with it, live by it, and believe in it.
The more we work on our data center,
the more we contribute back to the FOSS community.{% endblocktrans %}

@@ -104,7 +104,7 @@

{% trans "We bring the future to you." %}

-

{% blocktrans %} Data Center Light uses the most modern technologies out there.
+

{% blocktrans %} Data Center Light uses the most modern technologies out there.
Your VM needs only IPv6. Data Center Light provides
transparent two-way IPv6/IPv4 translation. {% endblocktrans %}

@@ -119,7 +119,7 @@
-

{% blocktrans %} No more spinning metal plates! Data Center Light uses only SSDs. We keep things faster and lighter. {% endblocktrans %}

+

{% blocktrans %} No more spinning metal plates! Data Center Light uses only SSDs. We keep things faster and lighter. {% endblocktrans %}

@@ -136,7 +136,7 @@

{% trans "Starting from only 15CHF per month. Try now." %}

-

{% trans "Actions speak louder than words. Let's do it, try our VM now." %}

+

{% trans "Actions speak louder than words. Let's do it, try our VM now." %}

From bc10cf5e4157f1f65e6c9cc1ff6e4d223570b21e Mon Sep 17 00:00:00 2001 From: PCoder Date: Wed, 19 Jul 2017 02:44:40 +0530 Subject: [PATCH 3/5] Set font size to 21px to all new-lead elements --- datacenterlight/static/datacenterlight/css/landing-page.css | 1 + 1 file changed, 1 insertion(+) diff --git a/datacenterlight/static/datacenterlight/css/landing-page.css b/datacenterlight/static/datacenterlight/css/landing-page.css index 14eaef9d..6775bd09 100755 --- a/datacenterlight/static/datacenterlight/css/landing-page.css +++ b/datacenterlight/static/datacenterlight/css/landing-page.css @@ -327,6 +327,7 @@ h6 { .new-lead { font-weight: 300 !important; + font-size: 21px !important; } .split-section .split-text .split-title{ From 50f7227b10cce806dc485084eee6688cfd78bdd6 Mon Sep 17 00:00:00 2001 From: Polycarp Okock Date: Thu, 20 Jul 2017 15:00:14 +0300 Subject: [PATCH 4/5] Updated Order_detail Added the tag to load the Card holder name entered from the billing address --- datacenterlight/templates/datacenterlight/order_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datacenterlight/templates/datacenterlight/order_detail.html b/datacenterlight/templates/datacenterlight/order_detail.html index 4b8862df..8b1180bb 100644 --- a/datacenterlight/templates/datacenterlight/order_detail.html +++ b/datacenterlight/templates/datacenterlight/order_detail.html @@ -35,7 +35,7 @@

{% trans "Billed To:"%}

{% with request.session.billing_address_data as billing_address %} - {{request.session.user.name}}
{{billing_address|get_value_from_dict:'street_address'}}, {{billing_address|get_value_from_dict:'postal_code'}}
+ {{billing_address|get_value_from_dict:'cardholder_name'}}
{{billing_address|get_value_from_dict:'street_address'}}, {{billing_address|get_value_from_dict:'postal_code'}}
{{billing_address|get_value_from_dict:'city'}}, {{billing_address|get_value_from_dict:'country'}}. {% endwith %}
From 7a8154a907b74c1dbc7b0bfdd9b8becce5f9020c Mon Sep 17 00:00:00 2001 From: Polycarp Okock Date: Thu, 20 Jul 2017 15:02:59 +0300 Subject: [PATCH 5/5] Updated Views Added the cardholder_name as one of the fields retrieved from the Payment page --- datacenterlight/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/datacenterlight/views.py b/datacenterlight/views.py index ea7ca3ef..6b0e0d7e 100644 --- a/datacenterlight/views.py +++ b/datacenterlight/views.py @@ -343,6 +343,7 @@ class PaymentOrderView(FormView): if billing_address_data: form_kwargs.update({ 'initial': { + 'cardholder_name': billing_address_data['cardholder_name'], 'street_address': billing_address_data['street_address'], 'city': billing_address_data['city'], 'postal_code': billing_address_data['postal_code'],