diff --git a/datacenterlight/locale/de/LC_MESSAGES/django.mo b/datacenterlight/locale/de/LC_MESSAGES/django.mo index 10bfb438..8f4d30cd 100644 Binary files a/datacenterlight/locale/de/LC_MESSAGES/django.mo and b/datacenterlight/locale/de/LC_MESSAGES/django.mo differ diff --git a/datacenterlight/locale/de/LC_MESSAGES/django.po b/datacenterlight/locale/de/LC_MESSAGES/django.po index b8a8d37c..45629dab 100644 --- a/datacenterlight/locale/de/LC_MESSAGES/django.po +++ b/datacenterlight/locale/de/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-20 11:12-0500\n" +"POT-Creation-Date: 2017-05-23 17:26-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,6 +18,20 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: templates/datacenterlight/beta_access.html:21 +msgid "Request Beta Access" +msgstr "Beantrage Beta-Zugang" + +#: templates/datacenterlight/beta_success.html:9 +#, fuzzy +#| msgid "Request Beta Access" +msgid "Request Sent" +msgstr "Anfrage verschickt" + +#: templates/datacenterlight/beta_success.html:12 +msgid "Thank you, we will contact you as soon as possible" +msgstr "Vielen Dank, wir werden Sie sobald als möglich kontaktieren." + #: templates/datacenterlight/emails/request_access_confirmation.html:99 #: templates/datacenterlight/emails/request_access_confirmation.txt:99 msgid "Thank you for your request." @@ -52,27 +66,35 @@ msgid "Thank you!" msgstr "Vielen Dank!" #: templates/datacenterlight/index.html:62 +#: templates/datacenterlight/pricing.html:62 msgid "What is it" msgstr "Was ist es?" #: templates/datacenterlight/index.html:65 #: templates/datacenterlight/index.html:171 -#: templates/datacenterlight/index.html:362 +#: templates/datacenterlight/index.html:331 +#: templates/datacenterlight/pricing.html:65 +#: templates/datacenterlight/pricing.html:188 msgid "Scale out" msgstr "Skalierung" #: templates/datacenterlight/index.html:68 #: templates/datacenterlight/index.html:197 -#: templates/datacenterlight/index.html:365 +#: templates/datacenterlight/index.html:334 +#: templates/datacenterlight/pricing.html:68 +#: templates/datacenterlight/pricing.html:191 msgid "Reliable and light" msgstr "Zuverlässig und leicht" #: templates/datacenterlight/index.html:71 +#: templates/datacenterlight/pricing.html:71 msgid "Buy VM" msgstr "VM Kaufen" #: templates/datacenterlight/index.html:74 -#: templates/datacenterlight/index.html:372 +#: templates/datacenterlight/index.html:341 +#: templates/datacenterlight/pricing.html:74 +#: templates/datacenterlight/pricing.html:198 msgid "Contact" msgstr "Kontakt" @@ -89,7 +111,8 @@ msgid "I want it!" msgstr "Das will ich haben!" #: templates/datacenterlight/index.html:142 -#: templates/datacenterlight/index.html:359 +#: templates/datacenterlight/index.html:328 +#: templates/datacenterlight/pricing.html:185 msgid "How it works" msgstr "Wie es funktioniert" @@ -132,6 +155,7 @@ msgstr "" "Angebot ist aufgrund unserer leichten Infrastruktur überaus kostengünstig." #: templates/datacenterlight/index.html:218 +#: templates/datacenterlight/pricing.html:101 msgid "We are cutting down the costs significantly!" msgstr "Wir sorgen dafür, dass die Kosten für Sie signifikant abnehmen" @@ -143,60 +167,70 @@ msgstr "Bezahlbares VM Hosting in der Schweiz" msgid "More Info" msgstr "Weitere Informationen" -#: templates/datacenterlight/index.html:226 +#: templates/datacenterlight/index.html:227 +#: templates/datacenterlight/pricing.html:114 msgid "VM hosting" msgstr "" -#: templates/datacenterlight/index.html:233 +#: templates/datacenterlight/index.html:234 msgid "Based in Switzerland" msgstr "Standort des Datacenters ist in der Schweiz" -#: templates/datacenterlight/index.html:242 -msgid "15 GiB storage(SSD)" -msgstr "" +#: templates/datacenterlight/index.html:243 +msgid "15 GB Storage (SSD)" +msgstr "15 GB Storage (SSD)" -#: templates/datacenterlight/index.html:245 -msgid "Buy Now!" -msgstr "Kaufe jetzt!" +#: templates/datacenterlight/index.html:246 +#: templates/datacenterlight/pricing.html:156 +msgid "Order Now!" +msgstr "Bestelle jetzt!" -#: templates/datacenterlight/index.html:259 -msgid "I want to try!" -msgstr "Das möchte ich haben" - -#: templates/datacenterlight/index.html:281 -msgid "Request Beta Access" -msgstr "Beantrage Beta-Zugang" +#: templates/datacenterlight/index.html:262 +msgid "Want to know more? Subscribe to our newsletter!" +msgstr "Willst du mehr wissen? Abonniere unseren Newsletter!" #: templates/datacenterlight/index.html:289 -#, fuzzy -#| msgid "Request Beta Access" -msgid "Request Sent" -msgstr "Anfrage verschickt" - -#: templates/datacenterlight/index.html:292 -msgid "Thank you, we will contact you as soon as possible" -msgstr "Vielen Dank, wir werden Sie sobald als möglich kontaktieren." - -#: templates/datacenterlight/index.html:320 msgid "Switzerland " msgstr "Schweiz" -#: templates/datacenterlight/index.html:337 +#: templates/datacenterlight/index.html:306 msgid "Questions?" msgstr "Fragen?" -#: templates/datacenterlight/index.html:337 +#: templates/datacenterlight/index.html:306 msgid "Contact us!" msgstr "Kontaktiere uns!" -#: templates/datacenterlight/index.html:355 +#: templates/datacenterlight/index.html:324 +#: templates/datacenterlight/pricing.html:181 msgid "Home" msgstr "Home" -#: templates/datacenterlight/index.html:368 +#: templates/datacenterlight/index.html:337 +#: templates/datacenterlight/pricing.html:194 msgid "Pricing" msgstr "Preise" +#: templates/datacenterlight/pricing.html:122 +#, fuzzy +#| msgid "Based in Switzerland" +msgid "Hosted in Switzerland" +msgstr "Standort des Datacenters ist in der Schweiz" + +#: templates/datacenterlight/pricing.html:136 +msgid "GB Storage (SSD)" +msgstr "GB Storage (SSD)" + +#: templates/datacenterlight/pricing.html:163 +msgid "Simple and affordable: Try our virtual machine with featherlight price." +msgstr "" + +#~ msgid "Buy Now!" +#~ msgstr "Kaufe jetzt!" + +#~ msgid "I want to try!" +#~ msgstr "Das möchte ich haben" + #~ msgid "How it works:" #~ msgstr "Warum können wir diese Leistung so günstig anbieten:" diff --git a/datacenterlight/static/datacenterlight/css/landing-page.css b/datacenterlight/static/datacenterlight/css/landing-page.css index 33e563ba..064003b4 100755 --- a/datacenterlight/static/datacenterlight/css/landing-page.css +++ b/datacenterlight/static/datacenterlight/css/landing-page.css @@ -123,7 +123,6 @@ h6 { } .navbar-transparent .navbar-nav>li>a { color: #fff; - font-size: 17px; cursor: pointer; } .navbar-transparent .navbar-nav>li>a:hover { @@ -139,6 +138,12 @@ h6 { .navbar-right { margin-right: 0px; } +.navbar-default .btn-link { + color: #fff; +} +.navbar-default .btn-link:hover { + color: #fff !important; +} .intro-header { height: 100vh; text-align: center; @@ -344,6 +349,13 @@ h6 { box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); padding-bottom: 40px; border-radius: 7px; + position: relative; +} +.pricing-section .card .img-beta{ + position: absolute; + top: 5px; + width: 60px; + left: 3px; } .pricing-section .card .title{ padding: 15px 40px; @@ -403,7 +415,7 @@ h6 { } .request-section .title h2{ font-family: 'Montserrat-Bold'; - font-size: 65px; + font-size: 45px; margin: 0; color: #fff; padding-bottom: 25px; @@ -551,6 +563,13 @@ h6 { text-align: center; /* margin-right: auto; */ max-width: 400px; + position: relative; +} +.price-calc-section .card .img-beta{ + position: absolute; + top: 5px; + width: 60px; + left: 3px; } .price-calc-section .card .title{ padding: 15px 40px; diff --git a/datacenterlight/static/datacenterlight/js/main.js b/datacenterlight/static/datacenterlight/js/main.js index 525dce45..0b131dc4 100644 --- a/datacenterlight/static/datacenterlight/js/main.js +++ b/datacenterlight/static/datacenterlight/js/main.js @@ -9,17 +9,23 @@ 'cpu': { 'id': 'coreValue', 'value': 1, - 'limit': 48 + 'min':1, + 'max': 48, + 'interval': 1 }, 'ram': { 'id': 'ramValue', 'value': 1, - 'limit': 200 + 'min':1, + 'max': 200, + 'interval': 1 }, 'storage': { 'id': 'storageValue', - 'value': 1, - 'limit': 500 + 'value': 10, + 'min': 10, + 'max': 500, + 'interval': 10 } } $(window).load(function(){ @@ -87,15 +93,15 @@ $('.fa-minus-circle.left').click(function(event){ var data = $(this).data('minus'); - if(cardPricing[data].value > 1){ + if(cardPricing[data].value > cardPricing[data].min){ cardPricing[data].value --; } _fetchPricing(); }); $('.fa-plus-circle.right').click(function(event){ var data = $(this).data('plus'); - if(cardPricing[data].value < cardPricing[data].limit){ - cardPricing[data].value ++; + if(cardPricing[data].value < cardPricing[data].max){ + cardPricing[data].value = cardPricing[data].value + cardPricing[data].interval; } _fetchPricing(); }); @@ -110,6 +116,7 @@ function _calcPricing(){ var total = (cardPricing['cpu'].value * 5) + (2* cardPricing['ram'].value) + (0.6* cardPricing['storage'].value) + total = parseFloat(total.toFixed(2)); $("#total").text(total); $('input[name=total]').val(total); diff --git a/datacenterlight/templates/datacenterlight/index.html b/datacenterlight/templates/datacenterlight/index.html index 531bd235..caa83eab 100755 --- a/datacenterlight/templates/datacenterlight/index.html +++ b/datacenterlight/templates/datacenterlight/index.html @@ -227,25 +227,27 @@

{% trans "VM hosting" %}

- 15CHF/month + 15 CHF/month

{% trans "Based in Switzerland" %}

-

1 core,

+

1 Core,

-

2 GiB RAM,

+

2 GB RAM,

-

{% trans "15 GiB storage(SSD)" %}

+

{% trans "15 GB Storage (SSD)" %}

{% trans "Order Now!" %} + + @@ -257,7 +259,7 @@
-

{% trans "I want to try!" %}

+

{% trans "Want to know more? Subscribe to our newsletter!" %}

diff --git a/datacenterlight/templates/datacenterlight/pricing.html b/datacenterlight/templates/datacenterlight/pricing.html index 812a45ca..03742516 100644 --- a/datacenterlight/templates/datacenterlight/pricing.html +++ b/datacenterlight/templates/datacenterlight/pricing.html @@ -105,6 +105,7 @@
+
{% csrf_token %} @@ -122,7 +123,7 @@
- 1 core + 1 Core
@@ -132,14 +133,13 @@
- 15{% trans "GiB storage(SSD)" %} + 15{% trans "GB Storage (SSD)" %}