diff --git a/datacenterlight/locale/de/LC_MESSAGES/django.mo b/datacenterlight/locale/de/LC_MESSAGES/django.mo index dafd8879..a9ce890d 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 4b76eb49..4daea92f 100644 --- a/datacenterlight/locale/de/LC_MESSAGES/django.po +++ b/datacenterlight/locale/de/LC_MESSAGES/django.po @@ -8,7 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-07 02:09+0530\n" +<<<<<<< HEAD +"POT-Creation-Date: 2017-06-09 16:08-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -30,11 +31,11 @@ msgstr "E-Mail-Adresse" msgid "Request Beta Access" msgstr "Beantrage Beta-Zugang" -#: templates/datacenterlight/beta_success.html:9 +#: templates/datacenterlight/beta_success.html:10 msgid "Request Sent" msgstr "Anfrage verschickt" -#: templates/datacenterlight/beta_success.html:12 +#: templates/datacenterlight/beta_success.html:13 msgid "" "Thank you for your subscription! You will receive a confirmation mail from " "our team" @@ -75,6 +76,9 @@ msgstr "" msgid "Thank you!" msgstr "Vielen Dank!" +<<<<<<< HEAD +#: templates/datacenterlight/home.html:15 +======= #: templates/datacenterlight/index.html:62 #: templates/datacenterlight/index.html:160 #: templates/datacenterlight/index.html:383 @@ -123,73 +127,66 @@ msgid "Contact" msgstr "Kontakt" #: templates/datacenterlight/index.html:127 +>>>>>>> 05883952264ad1b5650deaf05bb92cc3937c62fa msgid "Finally, an affordable VM hosting in Switzerland!" msgstr "Endlich: bezahlbares VM Hosting in der Schweiz" -#: templates/datacenterlight/index.html:131 +#: templates/datacenterlight/home.html:19 msgid "What is it?" msgstr "Was ist es?" -#: templates/datacenterlight/index.html:134 +#: templates/datacenterlight/home.html:22 msgid "I want it!" msgstr "Das will ich haben!" -#: templates/datacenterlight/index.html:166 +#: templates/datacenterlight/home.html:46 +#: templates/datacenterlight/includes/_footer.html:14 +#: templates/datacenterlight/includes/_navbar.html:26 +msgid "What is it" +msgstr "Was ist es?" + +#: templates/datacenterlight/home.html:49 +msgid "Our data center" +msgstr "Unser Datacenter" + +#: templates/datacenterlight/home.html:56 msgid "" "Reuses existing factory halls instead of building a new expensive building." -msgstr "Verwendet ehemalige Fabrikhallen anstatt ein neues, teures Gebäude zu errichten.
" +msgstr "" +"Verwendet ehemalige Fabrikhallen anstatt ein neues, teures Gebäude zu " +"errichten.
" -#: templates/datacenterlight/index.html:171 +#: templates/datacenterlight/home.html:61 msgid "Only wants you to pay for what you actually need.\\u2028" -msgstr "Möchte, dass du nur bezahlst, was du auch wirklich brauchst: Wähle deine Ressourcen individuell aus!
" +msgstr "" +"Möchte, dass du nur bezahlst, was du auch wirklich brauchst: Wähle deine " +"Ressourcen individuell aus!
" -#: templates/datacenterlight/index.html:175 +#: templates/datacenterlight/home.html:65 msgid "" "Is creative, using a modern and alternative design for a data center in " "order to make it more sustainable and affordable at the same time.\\u2028" -msgstr "Ist kreativ, indem es sich ein modernes und alternatives Layout zu Nutze macht um Nachhaltigkeit zu fördern und somit erschwingliche Preise bieten zu können.
" +msgstr "" +"Ist kreativ, indem es sich ein modernes und alternatives Layout zu Nutze " +"macht um Nachhaltigkeit zu fördern und somit erschwingliche Preise bieten zu " +"können.
" -#: templates/datacenterlight/index.html:179 +#: templates/datacenterlight/home.html:69 msgid "" "Cuts down the costs for you by using FOSS (Free Open Source Software) " "exclusively, wherefore we can save money from paying licenses." -msgstr "Sorgt dafür, dass unnötige Kosten erspart werden, indem es ausschliesslich mit FOSS (Free Open Source Software) arbeitet und wir daher auf Lizenzgebühren verzichten können.
" - -#: templates/datacenterlight/index.html:183 -msgid "" -"Is located in Glarus, Switzerland where your data is under strict privacy." -msgstr "Befindet sich in Glarus, in der Schweiz, wo deine Daten unter striktem Schutz stehen." - -#: templates/datacenterlight/index.html:187 -msgid "Has qualified workers on site who take care of the hardware.\\u2028" -msgstr "Hat qualifizierte Mitarbeiter vor Ort, die sich um die Hardware kümmern." - -#: templates/datacenterlight/index.html:191 -msgid "" -"Renounces active cooling by taking an advantage of the isolation of our " -"tight factory walls." -msgstr "Verzichtet auf aktive Kühlung, indem es sich die Isolation unserer ehemaligen Fabrikhalle zu Nutze macht." - -#: templates/datacenterlight/index.html:214 -#: templates/datacenterlight/index.html:165 -msgid "Reuse existing factory halls intead of building an expensive building." msgstr "" -"Nachhaltigkeit: Wiederverwendung ehemaliger Fabrikhallen an Stelle der " -"Errichtung eines neuen Gebäudes" +"Sorgt dafür, dass unnötige Kosten erspart werden, indem es ausschliesslich " +"mit FOSS (Free Open Source Software) arbeitet und wir daher auf " +"Lizenzgebühren verzichten können.
" -#: templates/datacenterlight/index.html:168 -msgid "Being creative, using modern and alternative design for a datacenter." -msgstr "" -"Kreativität: Verwendung eines modernen und alternativen Designs für unser " -"Datencenter" +#: templates/datacenterlight/home.html:89 +#: templates/datacenterlight/includes/_footer.html:17 +#: templates/datacenterlight/includes/_navbar.html:29 +msgid "Scale out" +msgstr "Skalierung" -#: templates/datacenterlight/index.html:170 -msgid "Being open: Using FOSS exclusively, we can save money for licenses." -msgstr "" -"Offene Verfahrensweise: Die Benutzung eines eigenen Frameworks, FOSS, " -"erspart Lizenzgebühren" - -#: templates/datacenterlight/index.html:192 +#: templates/datacenterlight/home.html:92 msgid "" "We don't use special hardware. We use commodity hardware: we buy computers " "that you buy. Just many more and put them in a cozy home for computers " @@ -199,7 +196,13 @@ msgstr "" "erschwingliche Systeme. Bei grösserer Auslastung werden mehr Standard " "komponenten hinzugekauft und skalieren so das Datencenter." -#: templates/datacenterlight/index.html:218 +#: templates/datacenterlight/home.html:115 +#: templates/datacenterlight/includes/_footer.html:20 +#: templates/datacenterlight/includes/_navbar.html:32 +msgid "Reliable and light" +msgstr "Zuverlässig und leicht" + +#: templates/datacenterlight/home.html:118 msgid "" "Our VMs are located in Switzerland, with reliable power supply and fast " "internet connection. Our VM costs less thanks to our featherlight " @@ -209,6 +212,13 @@ msgstr "" "Energieversorgung sowie schneller Internetverbindung ausgestattet. Unser " "Angebot ist aufgrund unserer leichten Infrastruktur überaus kostengünstig." +<<<<<<< HEAD +#: templates/datacenterlight/home.html:136 +#: templates/datacenterlight/order.html:9 +#: templates/datacenterlight/pricing.html:9 +msgid "We are cutting down the costs significantly!" +msgstr "Wir sorgen dafür, dass die Kosten für Sie signifikant abnehmen" +======= #: templates/datacenterlight/index.html:236 #: templates/datacenterlight/order.html:143 #: templates/datacenterlight/pricing.html:168 @@ -216,15 +226,82 @@ msgid "Simple and affordable: Try our virtual machine with featherlight price." msgstr "" "Einfach und bezahlbar: Teste nun unsere virtuellen Maschinen mit " "federleichten Preisen." +>>>>>>> 05883952264ad1b5650deaf05bb92cc3937c62fa -#: templates/datacenterlight/index.html:260 -msgid "More Info" -msgstr "Weitere Informationen" - -#: templates/datacenterlight/index.html:237 +#: templates/datacenterlight/home.html:137 msgid "Affordable VM hosting based in Switzerland" msgstr "Bezahlbares VM Hosting in der Schweiz" +<<<<<<< HEAD +#: templates/datacenterlight/home.html:144 +#: templates/datacenterlight/order.html:22 +#: templates/datacenterlight/pricing.html:22 +msgid "VM hosting" +msgstr "VM Hosting" + +#: templates/datacenterlight/home.html:151 +msgid "Based in Switzerland" +msgstr "Standort des Datacenters ist in der Schweiz" + +#: templates/datacenterlight/home.html:160 +msgid "10 GB Storage (SSD)" +msgstr "10 GB Storage (SSD)" + +#: templates/datacenterlight/home.html:163 +#: templates/datacenterlight/order.html:74 +#: templates/datacenterlight/pricing.html:76 +msgid "Order Now!" +msgstr "Bestelle jetzt!" + +#: templates/datacenterlight/home.html:186 +msgid "Switzerland " +msgstr "Schweiz" + +#: templates/datacenterlight/home.html:203 +msgid "Questions?" +msgstr "Fragen?" + +#: templates/datacenterlight/home.html:203 +msgid "Contact us!" +msgstr "Kontaktiere uns!" + +#: templates/datacenterlight/includes/_footer.html:10 +msgid "Home" +msgstr "Home" + +#: templates/datacenterlight/includes/_footer.html:23 +msgid "Pricing" +msgstr "Preise" + +#: templates/datacenterlight/includes/_footer.html:27 +#: templates/datacenterlight/includes/_navbar.html:38 +msgid "Contact" +msgstr "Kontakt" + +#: templates/datacenterlight/includes/_navbar.html:35 +msgid "Order VM" +msgstr "VM bestellen" + +#: templates/datacenterlight/order.html:30 +#: templates/datacenterlight/pricing.html:30 +msgid "Hosted in Switzerland" +msgstr "Standort des Datacenters ist in der Schweiz" + +#: templates/datacenterlight/order.html:47 +#: templates/datacenterlight/pricing.html:47 +msgid "GB Storage (SSD)" +msgstr "GB Storage (SSD)" + +#: templates/datacenterlight/order.html:84 +#: templates/datacenterlight/pricing.html:83 +msgid "Simple and affordable: Try our virtual machine with featherlight price." +msgstr "" +"Einfach und bezahlbar: Testen Sie unsere virtuellen Maschinen mit " +"federleichten Preisen" + +#: templates/datacenterlight/order.html:87 +#: templates/datacenterlight/pricing.html:86 +======= #: templates/datacenterlight/index.html:248 #: templates/datacenterlight/order.html:81 #: templates/datacenterlight/pricing.html:119 @@ -305,6 +382,7 @@ msgstr "Wir sorgen dafür, dass die Kosten für Sie signifikant abnehmen" #: templates/datacenterlight/order.html:146 #: templates/datacenterlight/pricing.html:171 +>>>>>>> 05883952264ad1b5650deaf05bb92cc3937c62fa msgid "" "Our VMs are hosted in Glarus, Switzerland, and our website is currently " "running in BETA mode. If you want more information that you did not find on " @@ -320,12 +398,50 @@ msgstr "" "uns unter support@datacenterlight.ch. Unser Team wird sich umgehend um dein " "Anliegen kümmern!" +<<<<<<< HEAD +#: templates/datacenterlight/success.html:8 +======= #: templates/datacenterlight/success.html:62 +>>>>>>> 05883952264ad1b5650deaf05bb92cc3937c62fa msgid "Thank you for order! Our team will contact you via email" msgstr "" "Vielen Dank für die Bestellung. Unser Team setzt sich sobald wie möglich mit " "Ihnen via E-Mail in Verbindung." +<<<<<<< HEAD +#: templates/datacenterlight/success.html:10 +msgid "as soon as possible!" +msgstr "" + +#~ msgid "" +#~ "Reuse existing factory halls intead of building an expensive building." +#~ msgstr "" +#~ "Nachhaltigkeit: Wiederverwendung ehemaliger Fabrikhallen an Stelle der " +#~ "Errichtung eines neuen Gebäudes" + +#~ msgid "" +#~ "Being creative, using modern and alternative design for a datacenter." +#~ msgstr "" +#~ "Kreativität: Verwendung eines modernen und alternativen Designs für unser " +#~ "Datencenter" + +#~ msgid "Being open: Using FOSS exclusively, we can save money for licenses." +#~ msgstr "" +#~ "Offene Verfahrensweise: Die Benutzung eines eigenen Frameworks, FOSS, " +#~ "erspart Lizenzgebühren" + +#~ msgid "More Info" +#~ msgstr "Weitere Informationen" + +#~ msgid "Want to know more? Subscribe to our newsletter!" +#~ msgstr "Willst du mehr wissen? Abonniere unseren Newsletter!" + +#~ msgid "I want to have it!" +#~ msgstr "Das möchte ich haben!" + +#~ msgid "Buy VM" +#~ msgstr "VM Kaufen" +======= #: templates/datacenterlight/success.html:64 msgid "as soon as possible!" msgstr "" @@ -335,6 +451,7 @@ msgstr "" #~ msgid "10 GB Storage (SSD)" #~ msgstr "10 GB Storage (SSD)" +>>>>>>> 05883952264ad1b5650deaf05bb92cc3937c62fa #~ msgid "Request Newsletter" #~ msgstr "Newsletter abonnieren" diff --git a/datacenterlight/static/datacenterlight/css/landing-page.css b/datacenterlight/static/datacenterlight/css/landing-page.css index 3e0e6121..350d54e1 100755 --- a/datacenterlight/static/datacenterlight/css/landing-page.css +++ b/datacenterlight/static/datacenterlight/css/landing-page.css @@ -7,14 +7,6 @@ font-family: 'Lato-Regular'; src: url('../fonts/Lato/Lato-Regular.ttf'); } -@font-face { - font-family: 'Lato-Black'; - src: url('../fonts/Lato/Lato-Black.ttf'); -} -@font-face { - font-family: 'Lato-Light'; - src: url('../fonts/Lato/Lato-Light.ttf'); -} body, html { width: 100%; @@ -263,7 +255,6 @@ h6 { margin: 0; font-weight: 400; font-size: 6em; - font-family: 'Lato-Black'; } .intro-divider { @@ -274,7 +265,7 @@ h6 { .intro-message > h3 { font-weight: 300; - font-family: 'Lato-Light'; + } .intro-pricing{ @@ -331,7 +322,6 @@ h6 { margin-bottom: 25px; } .split-section .split-text .split-title h2{ - font-family: 'Lato-Black'; font-size: 50px; line-height: 50px; padding-bottom: 25px; @@ -352,6 +342,12 @@ h6 { width: 90%; margin-left: auto; } +.split-section.right .split-description.title p{ + font-size: 27px; + margin-bottom: 10px; + text-align: left; + +} .split-section.right .split-text { text-align: right; } @@ -392,10 +388,10 @@ h6 { min-height: 500px; } .split-section.what .split-text .lead { - font-size: 18px; + font-size: 19px; color: #3a3a3a; - margin-bottom: 0; - line-height: 25px; + margin-bottom: 5px; + line-height: 29px; } .split-section.what .fa-li.fa-lg{ font-size: 17px; @@ -423,10 +419,8 @@ h6 { } .pricing-section .card .title{ padding: 15px 40px; - font-family: 'Lato-Black'; } .pricing-section .card .title h3{ - font-family: 'Lato-Black'; } .pricing-section .card .price{ background: #5A74AF; @@ -451,7 +445,6 @@ h6 { text-align: left; } .pricing-section .text .section-heading{ - font-family: 'Lato-Black'; font-size: 50px; line-height: 50px; padding-bottom: 25px; @@ -478,7 +471,6 @@ h6 { padding: 70px 0; } .request-section .title h2{ - font-family: 'Lato-Black'; font-size: 45px; margin: 0; color: #fff; @@ -519,7 +511,6 @@ h6 { position: relative; } .full-contact-section{ - padding-top: 90px; background-image: -ms-linear-gradient(right, #29427A 50%, #4F6699 100%); background-image: -moz-linear-gradient(right, #29427A 50%, #4F6699 100%); background-image: -o-linear-gradient(right, #29427A 50%, #4F6699 100%); @@ -554,7 +545,6 @@ h6 { .contact-section .card .subtitle h3{ font-size: 30px; margin-bottom: 23px; - font-family: 'Lato-Black'; } .contact-section .card .social a:hover{ text-decoration: none; @@ -565,7 +555,6 @@ h6 { max-width: 468px; } .contact-section .title h2{ - font-family: 'Lato-Black'; font-size: 65px; margin: 0; color: #fff; @@ -643,10 +632,8 @@ h6 { } .price-calc-section .card .title{ padding: 15px 40px; - font-family: 'Lato-Black'; } .price-calc-section .card .title h3{ - font-family: 'Lato-Black'; } .price-calc-section .card .price{ background: #5A74AF; @@ -907,8 +894,7 @@ h6 { margin-top: 20px; } .price-calc-section .text .section-heading { - font-family: 'Lato-Black'; - font-size: 35px; + font-size: 35px; line-height: 35px; padding-bottom: 15px; text-align: center; @@ -973,7 +959,6 @@ h6 { .section-heading { margin-bottom: 30px; - font-family: 'Lato-Black'; } .section-heading-spacer { diff --git a/datacenterlight/static/datacenterlight/js/main.js b/datacenterlight/static/datacenterlight/js/main.js index 57a802b3..26688e8e 100644 --- a/datacenterlight/static/datacenterlight/js/main.js +++ b/datacenterlight/static/datacenterlight/js/main.js @@ -138,59 +138,3 @@ })(jQuery); -// (function($){ -// 'use strict'; // Start of use strict - - - -// $(document).ready(function(){ -// verifiedUrl(); -// init_options_interested(); -// init_nav(); -// change_values(); -// }); - -// function verifiedUrl(){ -// if(window.location.href.indexOf('#success') > -1){ -// form_success(); -// } -// } - -// function init_options_interested(){ -// $('.row-vms').click(function(){ -// $('.row-vms').removeClass('row-vms__active'); -// $(this).addClass('row-vms__active'); -// var number = $('.row-vms__active input').val(); -// var price = $('.row-vms__active input').data('price'); -// _calculate(number, price); -// }); -// } - -// function init_nav(){ - -// $('.nav-local').click(function(){ -// $('html, body').animate({ -// scrollTop: $('#'+$(this).data('href')).offset().top -// }); -// }); - -// } - -// function change_values(){ -// $('.number-vms').keyup(function () { -// var number = $(this).val(); -// var price = $(this).data('price'); -// _calculate(number, price); -// }); - -// } -// function form_success(){ -// $('#sucessModal').modal('show'); -// } -// function _calculate(numbers, price){ -// $('#valueTotal').text(numbers*price*31); -// } - - -// })(jQuery); // End of use strict - diff --git a/datacenterlight/templates/datacenterlight/base.html b/datacenterlight/templates/datacenterlight/base.html index 3b43ff9c..06fcd804 100644 --- a/datacenterlight/templates/datacenterlight/base.html +++ b/datacenterlight/templates/datacenterlight/base.html @@ -13,7 +13,6 @@ Data Center Light - {% block title %}VM hosting made in Switzerland{% endblock %} - @@ -35,9 +34,77 @@ - - {% block body %} - {% endblock %} - + + + + {% include "datacenterlight/includes/_navbar.html" %} + + + {% block content %} + {% endblock %} + + {% include "datacenterlight/includes/_footer.html" %} + + + + + + + + + + + + + + + + + + + + diff --git a/datacenterlight/templates/datacenterlight/beta.html b/datacenterlight/templates/datacenterlight/beta.html deleted file mode 100644 index 0de80cd2..00000000 --- a/datacenterlight/templates/datacenterlight/beta.html +++ /dev/null @@ -1,107 +0,0 @@ -{% load staticfiles i18n%} - - - - - - - - landings - - - - - - - - - -
-
-
-

Your affordable Swiss VM

-
-
-
-
-

Are you looking for a secure and affordable VM in the midst of the Swiss mountains?

-

While there are many offers in Switzerland for secure hosting, we haven't found any that is affordable. So we decided we will built one in the Glarus mountains.

-

Right now we are in a preparing the tech stack and talking to infrastructure providers to find the optimal location.

-

Our objective is to launch this offer starting in 2017. Are you curious how it works? Be one of the first to try it and request access to our beta program.

-
-
-
-
-
-

Beta Program

-
-

I am interested in running

-
- {% for vm in vms %} -
-
- -
-
number of VMs ({{vm.ssd}} GB SSD, {{vm.ram}} GB RAM, {{vm.cpu}} CPU) - {{vm.price}}chf / day
-
- {% endfor %} -

At a monthly total of 0chf per day

-
- -
- - -
-
- - -
-
-
-

Notice: this is no an order - you don't have to pay anything, it just helps us to setup the right infrastructure

-
- {% csrf_token %} -
- -
-
-
-
- -
- - - - - - - - \ No newline at end of file diff --git a/datacenterlight/templates/datacenterlight/beta_access.html b/datacenterlight/templates/datacenterlight/beta_access.html index c7a2f14e..7a694611 100644 --- a/datacenterlight/templates/datacenterlight/beta_access.html +++ b/datacenterlight/templates/datacenterlight/beta_access.html @@ -24,4 +24,4 @@ $('#beta_access').ajaxForm({ target: '#beta_access_form', success: function(response) { } }); - + \ No newline at end of file diff --git a/datacenterlight/templates/datacenterlight/beta_success.html b/datacenterlight/templates/datacenterlight/beta_success.html index 70695d07..327198e7 100644 --- a/datacenterlight/templates/datacenterlight/beta_success.html +++ b/datacenterlight/templates/datacenterlight/beta_success.html @@ -1,3 +1,4 @@ + {% load i18n %} - - - - - - - - - - - - - - - - - diff --git a/datacenterlight/templates/datacenterlight/error404.html b/datacenterlight/templates/datacenterlight/error404.html deleted file mode 100644 index dc819a9d..00000000 --- a/datacenterlight/templates/datacenterlight/error404.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - Rails Hosting.ch - Ruby on Rails as easy as possible | Page not found - - - - - - - - - - - - - - - - - - - - - -
-
-
-

 

-

404

-

- "Sorry, we could not find the page you are looking for!" -

-
-
-
- - - - - - - - - - diff --git a/datacenterlight/templates/datacenterlight/home.html b/datacenterlight/templates/datacenterlight/home.html new file mode 100755 index 00000000..eb2decd2 --- /dev/null +++ b/datacenterlight/templates/datacenterlight/home.html @@ -0,0 +1,212 @@ +{% extends "datacenterlight/base.html" %} +{% load staticfiles i18n%} +{% get_current_language as LANGUAGE_CODE %} + +{% block content %} + +
+
+ +
+
+ +
+

DataCenterLight

+

{% trans "Finally, an affordable VM hosting in Switzerland!" %}

+
+ +
+
+
+ +
+ + +
+ + + +
+ +
+
+
+ +
+
+
+
+

{% trans "What is it" %}

+
+
+

{% trans "Our data center" %}

+ +
+
+
    +
  • + +

    {% trans "Reuses existing factory halls instead of building a new expensive building." %} +

    +
  • +
  • + +

    {% trans "Only wants you to pay for what you actually need.
" %}

    +
  • +
  • + +

    {% trans "Is creative, using a modern and alternative design for a data center in order to make it more sustainable and affordable at the same time.
" %}

    +
  • +
  • + +

    {% trans "Cuts down the costs for you by using FOSS (Free Open Source Software) exclusively, wherefore we can save money from paying licenses." %}

    +
  • +
+ +
+
+
+
+
+ + +
+ +
+ +
+
+
+
+
+

{% trans "Scale out" %}

+
+
+

{% trans "We don't use special hardware. We use commodity hardware: we buy computers that you buy. Just many more and put them in a cozy home for computers called data center." %}

+ +
+
+
+
+ +
+
+
+ + +
+
+ +
+
+
+ +
+
+
+
+

{% trans "Reliable and light" %}

+
+
+

{% trans "Our VMs are located in Switzerland, with reliable power supply and fast internet connection. Our VM costs less thanks to our featherlight infrastructure." %}

+ +
+
+
+
+
+ + +
+ + +
+ +
+ +
+
+

{% trans "We are cutting down the costs significantly!" %}

+

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

+
+ +
+
+
+
+

{% trans "VM hosting" %}

+
+
+ 15 CHF/month +
+
+
+

{% trans "Based in Switzerland" %}

+
+
+

1 Core,

+
+
+

2 GB RAM,

+
+
+

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

+
+
+ {% trans "Order Now!" %} +
+ +
+ +
+
+
+ +
+
+
+
+
+ +
+
+
+

ungleich GmbH

+
+
+

info@datacenterlight.ch

+

In der Au 7, Schwanden 8762

+

{% trans "Switzerland " %}

+
+ +
+
+
+
+

{% trans "Questions?" %} {% trans "Contact us!" %}

+
+
+
+ +
+
+ +
+{% endblock %} diff --git a/datacenterlight/templates/datacenterlight/includes/_footer.html b/datacenterlight/templates/datacenterlight/includes/_footer.html new file mode 100644 index 00000000..5d94624d --- /dev/null +++ b/datacenterlight/templates/datacenterlight/includes/_footer.html @@ -0,0 +1,53 @@ + {% load staticfiles i18n%} +{% get_current_language as LANGUAGE_CODE %} + diff --git a/datacenterlight/templates/datacenterlight/includes/_head.html b/datacenterlight/templates/datacenterlight/includes/_head.html new file mode 100644 index 00000000..e69de29b diff --git a/datacenterlight/templates/datacenterlight/includes/_navbar.html b/datacenterlight/templates/datacenterlight/includes/_navbar.html new file mode 100644 index 00000000..a8939080 --- /dev/null +++ b/datacenterlight/templates/datacenterlight/includes/_navbar.html @@ -0,0 +1,83 @@ +{% load staticfiles i18n%} +{% get_current_language as LANGUAGE_CODE %} + \ No newline at end of file diff --git a/datacenterlight/templates/datacenterlight/index.html b/datacenterlight/templates/datacenterlight/index.html deleted file mode 100755 index 8175edd0..00000000 --- a/datacenterlight/templates/datacenterlight/index.html +++ /dev/null @@ -1,483 +0,0 @@ -{% load staticfiles i18n%} -{% get_current_language as LANGUAGE_CODE %} - - - - - - - - - - - - datacenterlight.ch - Featherlight Swiss VM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
- -
-

DataCenterLight

-

{% trans "Finally, an affordable VM hosting in Switzerland!" %}

-
- -
-
-
- -
-
-
- - -
- - - -
- -
-
-
- -
-
-
-
-

{% trans "What is it" %}

-
-
-
    -
  • - -

    {% trans "Reuses existing factory halls instead of building a new expensive building." %} -

    -
  • -
  • - -

    {% trans "Only wants you to pay for what you actually need.
" %}

    -
  • -
  • - -

    {% trans "Is creative, using a modern and alternative design for a data center in order to make it more sustainable and affordable at the same time.
" %}

    -
  • -
  • - -

    {% trans "Cuts down the costs for you by using FOSS (Free Open Source Software) exclusively, wherefore we can save money from paying licenses." %}

    -
  • -
  • - -

    {% trans "Is located in Glarus, Switzerland where your data is under strict privacy." %}

    -
  • -
  • - -

    {% trans "Has qualified workers on site who take care of the hardware.
" %}

    -
  • -
  • - -

    {% trans "Renounces active cooling by taking an advantage of the isolation of our tight factory walls." %}

    -
  • -
- -
-
-
-
-
- - -
- -
- -
-
-
-
-
-

{% trans "Scale out" %}

-
-
-

{% trans "We don't use special hardware. We use commodity hardware: we buy computers that you buy. Just many more and put them in a cozy home for computers called data center." %}

- -
-
-
-
- -
-
-
- - -
-
- -
-
-
- -
-
-
-
-

{% trans "Reliable and light" %}

-
-
-

{% trans "Our VMs are located in Switzerland, with reliable power supply and fast internet connection. Our VM costs less thanks to our featherlight infrastructure." %}

- -
-
-
-
-
- - -
- - -
- -
- -
-
-

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

-

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

- {% trans "More Info" %} -
- -
-
-
- -
-
- {% csrf_token %} -
-

{% trans "VM hosting" %}

-
-
- 15 - CHF/{% trans "month" %} -
-
-
-

{% trans "Hosted in Switzerland" %}

-
-
- - - Core - -
-
- - - GB RAM - -
-
- - - {% trans "GB Storage (SSD)" %} - -
-
- - -
- - -
- - -
-
- - -
-
- -
-
-
-
-
-
-
- -
-
-
- -
- - - - -
-
-
-
- -
-
-
-

ungleich GmbH

-
-
-

info@datacenterlight.ch

-

In der Au 7, Schwanden 8762

-

{% trans "Switzerland " %}

-
- -
-
-
-
-

{% trans "Questions?" %} {% trans "Contact us!" %}

-
-
-
- -
-
- -
- - - - - - - - - - - - - - - - - - - - - diff --git a/datacenterlight/templates/datacenterlight/landing.html b/datacenterlight/templates/datacenterlight/landing.html deleted file mode 100644 index 0a23be9e..00000000 --- a/datacenterlight/templates/datacenterlight/landing.html +++ /dev/null @@ -1,86 +0,0 @@ -{% load staticfiles i18n%} - - - - - - - - landings - - - - - - - - - -
-
-
-

Swiss 2 GB VM for 0.5 CHF per day

-
-
-
-
-
-

Details about the offer..
  • 2 GB RAM
  • 1 CPU
  • 10 GB Dus

I am interested in running

-
-
-
- - -
-
- number of VMs -
- -
- -
-
-

Interested in other offers? Checkout our beta program offers!

-
- -
-
-
- - - - - - - - \ No newline at end of file diff --git a/datacenterlight/templates/datacenterlight/login.html b/datacenterlight/templates/datacenterlight/login.html deleted file mode 100755 index 3a00b83e..00000000 --- a/datacenterlight/templates/datacenterlight/login.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - - - - - Rails Hosting.ch - Ruby on Rails as easy as possible - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
 
- -
-

Log In

-
-
- - -
-
- - -
- - -

-
    - -
 
-
-
-
- - - - - - - - - - - - - - - - - - - diff --git a/datacenterlight/templates/datacenterlight/order.html b/datacenterlight/templates/datacenterlight/order.html index 4f833990..f6caff6a 100644 --- a/datacenterlight/templates/datacenterlight/order.html +++ b/datacenterlight/templates/datacenterlight/order.html @@ -1,67 +1,8 @@ {% extends "datacenterlight/base.html" %} {% load staticfiles i18n %} -{% block body %} +{% block content %} - -
@@ -149,94 +90,6 @@
- - - - - - - - - - - - - - - - {% endblock %} diff --git a/datacenterlight/templates/datacenterlight/pricing.html b/datacenterlight/templates/datacenterlight/pricing.html index 54c7f950..3016dc3a 100644 --- a/datacenterlight/templates/datacenterlight/pricing.html +++ b/datacenterlight/templates/datacenterlight/pricing.html @@ -1,105 +1,8 @@ +{% extends "datacenterlight/base.html" %} {% load staticfiles i18n%} {% get_current_language as LANGUAGE_CODE %} - - - - - - - - - - - datacenterlight.ch - Featherlight Swiss VM - - - - - - - - - - - - - - - - - - - - - - - - - - - - +{% block content %}
@@ -157,14 +60,14 @@
-
+ - - - - - - - - - - - - - - - - - - + diff --git a/datacenterlight/templates/datacenterlight/signup.html b/datacenterlight/templates/datacenterlight/signup.html deleted file mode 100755 index b7dc3239..00000000 --- a/datacenterlight/templates/datacenterlight/signup.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - - - - - Rails Hosting.ch - Ruby on Rails as easy as possible - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
 
-
-

Sign up

-
-
- -
-
- -
-
- -
-
- -
 
-
-

 

-
- - -

-
    - -
-
-
-
- -
- - -
- - - - - - - - - - - - - - diff --git a/datacenterlight/templates/datacenterlight/success.html b/datacenterlight/templates/datacenterlight/success.html index aad3936a..4cbee12a 100644 --- a/datacenterlight/templates/datacenterlight/success.html +++ b/datacenterlight/templates/datacenterlight/success.html @@ -1,61 +1,7 @@ {% extends "datacenterlight/base.html" %} {% load staticfiles i18n %} -{% block body %} +{% block content %} - -
@@ -91,5 +37,4 @@ -{% endblock %} - +{% endblock %} \ No newline at end of file diff --git a/datacenterlight/views.py b/datacenterlight/views.py index d23c4231..8463d6a0 100644 --- a/datacenterlight/views.py +++ b/datacenterlight/views.py @@ -236,7 +236,7 @@ class BetaProgramView(CreateView): class IndexView(CreateView): - template_name = "datacenterlight/index.html" + template_name = "datacenterlight/home.html" model = BetaAccess form_class = BetaAccessForm success_url = "/datacenterlight#requestform" diff --git a/hosting/static/hosting/css/commons.css b/hosting/static/hosting/css/commons.css index 15020543..78bfd827 100644 --- a/hosting/static/hosting/css/commons.css +++ b/hosting/static/hosting/css/commons.css @@ -1,9 +1,12 @@ .dashboard-container { padding-top:70px; padding-bottom: 70px; + width: 90%; + margin: 0 auto; + max-width: 768px; } .content-dashboard{ - height: 100vh; + min-height: 100vh; width: 80%; margin: 0 auto; max-width: 1120px; diff --git a/hosting/static/hosting/css/landing-page.css b/hosting/static/hosting/css/landing-page.css index d8812ec7..dd25715f 100644 --- a/hosting/static/hosting/css/landing-page.css +++ b/hosting/static/hosting/css/landing-page.css @@ -10,7 +10,6 @@ src: url('../fonts/Lato/Lato-Regular.ttf'); } @font-face { - font-family: 'Lato-Black'; src: url('../fonts/Lato/Lato-Black.ttf'); } @font-face { @@ -241,7 +240,6 @@ h6 { } .auth-container .auth-title h2{ color: #fff; - font-family: 'Lato-Black'; font-size: 44px; text-align: center; width: 425px; @@ -280,7 +278,6 @@ h6 { font-size: 20px; border-radius: 3px 3px 0px 0px; margin: 0 auto; - font-family: 'Lato-Black'; } .auth-box .form{ padding: 20px; diff --git a/hosting/static/hosting/css/owl.carousel.min.css b/hosting/static/hosting/css/owl.carousel.min.css new file mode 100755 index 00000000..1ece042a --- /dev/null +++ b/hosting/static/hosting/css/owl.carousel.min.css @@ -0,0 +1,6 @@ +/** + * Owl Carousel v2.2.1 + * Copyright 2013-2017 David Deutsch + * Licensed under () + */ +.owl-carousel,.owl-carousel .owl-item{-webkit-tap-highlight-color:transparent;position:relative}.owl-carousel{display:none;width:100%;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y;-moz-backface-visibility:hidden}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0,0,0)}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}.owl-carousel .owl-item{min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-touch-callout:none}.owl-carousel .owl-item img{display:block;width:100%}.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled{display:none}.no-js .owl-carousel,.owl-carousel.owl-loaded{display:block}.owl-carousel .owl-dot,.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel.owl-refresh .owl-item{visibility:hidden}.owl-carousel.owl-drag .owl-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-grab{cursor:move;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.owl-carousel .animated{animation-duration:1s;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{animation-name:fadeOut}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{transition:height .5s ease-in-out}.owl-carousel .owl-item .owl-lazy{opacity:0;transition:opacity .4s ease}.owl-carousel .owl-item img.owl-lazy{transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;transition:transform .1s ease}.owl-carousel .owl-video-play-icon:hover{-ms-transform:scale(1.3,1.3);transform:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;background-size:contain;transition:opacity .4s ease}.owl-carousel .owl-video-frame{position:relative;z-index:1;height:100%;width:100%} \ No newline at end of file diff --git a/hosting/static/hosting/css/owl.theme.default.min.css b/hosting/static/hosting/css/owl.theme.default.min.css new file mode 100755 index 00000000..59836030 --- /dev/null +++ b/hosting/static/hosting/css/owl.theme.default.min.css @@ -0,0 +1,6 @@ +/** + * Owl Carousel v2.2.1 + * Copyright 2013-2017 David Deutsch + * Licensed under () + */ +.owl-theme .owl-dots,.owl-theme .owl-nav{text-align:center;-webkit-tap-highlight-color:transparent}.owl-theme .owl-nav{margin-top:10px}.owl-theme .owl-nav [class*=owl-]{color:#FFF;font-size:14px;margin:5px;padding:4px 7px;background:#D6D6D6;display:inline-block;cursor:pointer;border-radius:3px}.owl-theme .owl-nav [class*=owl-]:hover{background:#869791;color:#FFF;text-decoration:none}.owl-theme .owl-nav .disabled{opacity:.5;cursor:default}.owl-theme .owl-nav.disabled+.owl-dots{margin-top:10px}.owl-theme .owl-dots .owl-dot{display:inline-block;zoom:1}.owl-theme .owl-dots .owl-dot span{width:10px;height:10px;margin:5px 7px;background:#D6D6D6;display:block;-webkit-backface-visibility:visible;transition:opacity .2s ease;border-radius:30px}.owl-theme .owl-dots .owl-dot.active span,.owl-theme .owl-dots .owl-dot:hover span{background:#869791} \ No newline at end of file diff --git a/hosting/static/hosting/css/virtual-machine.css b/hosting/static/hosting/css/virtual-machine.css index aaf5c6aa..e043879d 100644 --- a/hosting/static/hosting/css/virtual-machine.css +++ b/hosting/static/hosting/css/virtual-machine.css @@ -57,6 +57,124 @@ .virtual-machine-container .box-setting .label-success{ padding-top: 4px; } +.virtual-machine-container .form-ssh textarea{ + height: 150px !important +} + +/*Create VM Styles*/ +.parent-container{ + overflow-x: hidden; + overflow-y: hidden; +} +.parent-container ::-webkit-scrollbar { + display: none; +} +.container-os{ + overflow: auto; + padding: 0px 0px; + min-width: 300px; + width: auto; + max-width: 800px; + min-height: 150px; +} +.container-os .owl-next{ + position: absolute; + right: -12px; + top: 6px; + color: gray !important; + background: transparent !important; + font-size: 54px !important; +} +.container-os .owl-prev{ + position: absolute; + left: -12px; + top: 6px; + color: gray !important; + background: transparent !important; + font-size: 54px !important; +} +.container-os .owl-dots{ + display: none; +} + +.container-os .os-circle{ + width: 120px; + height: 120px; + display: flex; + margin: 0 auto; + justify-content: center; + align-items: center; + background: #f7f7f7; + border-radius: 50%; + cursor: pointer; + text-align: center; + min-width: 120px; + border: 4px solid #b9b9b9; + transition: all .1s ease-in; +} +.step-title{ + margin-bottom: 25px; +} + +.container-os.config .config-box{ + width: 115px; + height: 115px; + display: flex; + margin: 0 auto; + flex-direction: column; + justify-content: center; + align-items: center; + background: #f7f7f7; + /* border-radius: 50%; */ + cursor: pointer; + text-align: center; + min-width: 115px; + border-radius: 7px; + border: 4px solid #b9b9b9; + transition: all .1s ease-in; +} +.container-os .os-circle.active{ + border: 6px solid #2dc32d; + min-width: 135px; + width: 135px; + height: 135px; +} +.container-os .os-circle.active .text{ + font-size: 20px; + line-height: 20px; +} +.container-os.config .config-box.active{ + border: 6px solid #5cb85c; + min-width: 125px; + width: 125px; + height: 125px; +} +.container-os.config .config-box span{ + font-size: 14px; +} +.container-os.config .config-box.active span{ + font-size: 16px; +} +.container-os .os-circle .text{ + font-size: 16px; + width: 50%; + line-height: 16px; +} + +.container-button{ + text-align: right; + display: none; +} +.container-button .btn{ + font-size: 17px; + width: 150px; + margin-top: 5px; + +} + +.container-button .price{ + font-size: 18px; +} @media (max-width: 990px) { .virtual-machine-container .tabs-left { @@ -73,6 +191,38 @@ display:block; } } +@media (max-width: 768px) { + .container-button{ + text-align: center; + } + .step-title{ + text-align: center; + } + .dashboard-title{ + text-align: center; + } + .container-os .os-circle{ + width: 105px; + height: 105px; + min-width: 105px; + } + .container-os .os-circle .text{ + font-size: 14px; + line-height: 15px; + } + + .container-os .owl-next { + right: 20px; + top: 20px; + font-size: 40px !important; + } + .container-os .owl-prev{ + position: absolute; + left: 20px; + top: 20px; + font-size: 40px !important; + } +} @media (max-width: 420px) { .btn-create-vm { float: left !important; diff --git a/hosting/static/hosting/fonts/Montserrat/Montserrat-Black.ttf b/hosting/static/hosting/fonts/Montserrat/Montserrat-Black.ttf deleted file mode 100755 index bf5443c5..00000000 Binary files a/hosting/static/hosting/fonts/Montserrat/Montserrat-Black.ttf and /dev/null differ diff --git a/hosting/static/hosting/fonts/Montserrat/Montserrat-BlackItalic.ttf b/hosting/static/hosting/fonts/Montserrat/Montserrat-BlackItalic.ttf deleted file mode 100755 index 3eee3a76..00000000 Binary files a/hosting/static/hosting/fonts/Montserrat/Montserrat-BlackItalic.ttf and /dev/null differ diff --git a/hosting/static/hosting/fonts/Montserrat/Montserrat-Bold.ttf b/hosting/static/hosting/fonts/Montserrat/Montserrat-Bold.ttf deleted file mode 100755 index 8e9a5f3f..00000000 Binary files a/hosting/static/hosting/fonts/Montserrat/Montserrat-Bold.ttf and /dev/null differ diff --git a/hosting/static/hosting/fonts/Montserrat/Montserrat-BoldItalic.ttf b/hosting/static/hosting/fonts/Montserrat/Montserrat-BoldItalic.ttf deleted file mode 100755 index 2c336300..00000000 Binary files a/hosting/static/hosting/fonts/Montserrat/Montserrat-BoldItalic.ttf and /dev/null differ diff --git a/hosting/static/hosting/fonts/Montserrat/Montserrat-ExtraBold.ttf b/hosting/static/hosting/fonts/Montserrat/Montserrat-ExtraBold.ttf deleted file mode 100755 index 1e3692d6..00000000 Binary files a/hosting/static/hosting/fonts/Montserrat/Montserrat-ExtraBold.ttf and /dev/null differ diff --git a/hosting/static/hosting/fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf b/hosting/static/hosting/fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf deleted file mode 100755 index 5f6c3824..00000000 Binary files a/hosting/static/hosting/fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf and /dev/null differ diff --git a/hosting/static/hosting/fonts/Montserrat/Montserrat-ExtraLight.ttf b/hosting/static/hosting/fonts/Montserrat/Montserrat-ExtraLight.ttf deleted file mode 100755 index 7490dc73..00000000 Binary files a/hosting/static/hosting/fonts/Montserrat/Montserrat-ExtraLight.ttf and /dev/null differ diff --git a/hosting/static/hosting/fonts/Montserrat/Montserrat-ExtraLightItalic.ttf b/hosting/static/hosting/fonts/Montserrat/Montserrat-ExtraLightItalic.ttf deleted file mode 100755 index 24e13547..00000000 Binary files a/hosting/static/hosting/fonts/Montserrat/Montserrat-ExtraLightItalic.ttf and /dev/null differ diff --git a/hosting/static/hosting/fonts/Montserrat/Montserrat-Italic.ttf b/hosting/static/hosting/fonts/Montserrat/Montserrat-Italic.ttf deleted file mode 100755 index c5a36e58..00000000 Binary files a/hosting/static/hosting/fonts/Montserrat/Montserrat-Italic.ttf and /dev/null differ diff --git a/hosting/static/hosting/fonts/Montserrat/Montserrat-Light.ttf b/hosting/static/hosting/fonts/Montserrat/Montserrat-Light.ttf deleted file mode 100755 index e66dc5bf..00000000 Binary files a/hosting/static/hosting/fonts/Montserrat/Montserrat-Light.ttf and /dev/null differ diff --git a/hosting/static/hosting/fonts/Montserrat/Montserrat-LightItalic.ttf b/hosting/static/hosting/fonts/Montserrat/Montserrat-LightItalic.ttf deleted file mode 100755 index b78b8b73..00000000 Binary files a/hosting/static/hosting/fonts/Montserrat/Montserrat-LightItalic.ttf and /dev/null differ diff --git a/hosting/static/hosting/fonts/Montserrat/Montserrat-Medium.ttf b/hosting/static/hosting/fonts/Montserrat/Montserrat-Medium.ttf deleted file mode 100755 index 88d70b89..00000000 Binary files a/hosting/static/hosting/fonts/Montserrat/Montserrat-Medium.ttf and /dev/null differ diff --git a/hosting/static/hosting/fonts/Montserrat/Montserrat-MediumItalic.ttf b/hosting/static/hosting/fonts/Montserrat/Montserrat-MediumItalic.ttf deleted file mode 100755 index 225fd18f..00000000 Binary files a/hosting/static/hosting/fonts/Montserrat/Montserrat-MediumItalic.ttf and /dev/null differ diff --git a/hosting/static/hosting/fonts/Montserrat/Montserrat-Regular.ttf b/hosting/static/hosting/fonts/Montserrat/Montserrat-Regular.ttf deleted file mode 100755 index 626355a2..00000000 Binary files a/hosting/static/hosting/fonts/Montserrat/Montserrat-Regular.ttf and /dev/null differ diff --git a/hosting/static/hosting/fonts/Montserrat/Montserrat-SemiBold.ttf b/hosting/static/hosting/fonts/Montserrat/Montserrat-SemiBold.ttf deleted file mode 100755 index 61570450..00000000 Binary files a/hosting/static/hosting/fonts/Montserrat/Montserrat-SemiBold.ttf and /dev/null differ diff --git a/hosting/static/hosting/fonts/Montserrat/Montserrat-SemiBoldItalic.ttf b/hosting/static/hosting/fonts/Montserrat/Montserrat-SemiBoldItalic.ttf deleted file mode 100755 index c6dd9773..00000000 Binary files a/hosting/static/hosting/fonts/Montserrat/Montserrat-SemiBoldItalic.ttf and /dev/null differ diff --git a/hosting/static/hosting/fonts/Montserrat/Montserrat-Thin.ttf b/hosting/static/hosting/fonts/Montserrat/Montserrat-Thin.ttf deleted file mode 100755 index dc16a022..00000000 Binary files a/hosting/static/hosting/fonts/Montserrat/Montserrat-Thin.ttf and /dev/null differ diff --git a/hosting/static/hosting/fonts/Montserrat/Montserrat-ThinItalic.ttf b/hosting/static/hosting/fonts/Montserrat/Montserrat-ThinItalic.ttf deleted file mode 100755 index b9e12f4a..00000000 Binary files a/hosting/static/hosting/fonts/Montserrat/Montserrat-ThinItalic.ttf and /dev/null differ diff --git a/hosting/static/hosting/fonts/Montserrat/OFL.txt b/hosting/static/hosting/fonts/Montserrat/OFL.txt deleted file mode 100755 index 90ed8151..00000000 --- a/hosting/static/hosting/fonts/Montserrat/OFL.txt +++ /dev/null @@ -1,92 +0,0 @@ -Copyright 2011 The Montserrat Project Authors (julieta.ulanovsky@gmail.com) -This Font Software is licensed under the SIL Open Font License, Version 1.1. -This license is copied below, and is also available with a FAQ at: -http://scripts.sil.org/OFL - - ------------------------------------------------------------ -SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ------------------------------------------------------------ - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font creation -efforts of academic and linguistic communities, and to provide a free and -open framework in which fonts may be shared and improved in partnership -with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply -to any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software components as -distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, deleting, -or substituting -- in part or in whole -- any of the components of the -Original Version, by changing formats or by porting the Font Software to a -new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, modify, -redistribute, and sell modified and unmodified copies of the Font -Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, -in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the corresponding -Copyright Holder. This restriction only applies to the primary font name as -presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created -using the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/hosting/static/hosting/js/createvm.js b/hosting/static/hosting/js/createvm.js new file mode 100644 index 00000000..ca7891ea --- /dev/null +++ b/hosting/static/hosting/js/createvm.js @@ -0,0 +1,89 @@ +(function($){ + "use strict"; // Start of use strict + + + $(window).load(function(){ + + + }); + + $(document).ready(function(){ + _initOs(); + _ifOverflow(); + + }); + + $(window).resize(function(){ + + _ifOverflow(); + + }); + + + + function _initOs(){ + + + $('.os-circle').click(function(event){ + $('.os-circle').removeClass('active'); + $(this).addClass('active'); + + var idTemplate = $(this).data('id'); + $('input[name=vm_template_id]').val(idTemplate); + }); + $('.config-box').click(function(event){ + $('.config-box').removeClass('active'); + $(this).addClass('active'); + var idConfig = $(this).data('id'); + var price = $(this).data('price'); + $('input[name=configuration]').val(idConfig); + $('.container-button').fadeIn(); + $('#priceValue').text(price); + }); + + $('.owl-carousel').owlCarousel({ + items:4, + nav: true, + margin:30, + responsiveClass:true, + navText: ['', ''], + responsive:{ + 0:{ + items:1, + nav:true + }, + 600:{ + items:2, + nav:true + }, + 768:{ + items:3, + nav:true + }, + 990:{ + items:4, + nav:true + } + } + }); + } + function _ifOverflow(){ + + var dcContainer= document.getElementById('dcContainer'); + var containerOs= document.getElementById('containerOs'); + console.log('d-c', dcContainer.offsetWidth-20); + console.log('d-os', containerOs.scrollWidth); + + if(dcContainer.offsetWidth-20 < containerOs.scrollWidth){ + console.log('oooVerrflowwww'); + } + + + + } + + + +})(jQuery); + + diff --git a/hosting/static/hosting/js/vendor/owl.carousel.min.js b/hosting/static/hosting/js/vendor/owl.carousel.min.js new file mode 100755 index 00000000..9b9566f4 --- /dev/null +++ b/hosting/static/hosting/js/vendor/owl.carousel.min.js @@ -0,0 +1,7 @@ +/** + * Owl Carousel v2.2.1 + * Copyright 2013-2017 David Deutsch + * Licensed under () + */ +!function(a,b,c,d){function e(b,c){this.settings=null,this.options=a.extend({},e.Defaults,c),this.$element=a(b),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},a.each(["onResize","onThrottledResize"],a.proxy(function(b,c){this._handlers[c]=a.proxy(this[c],this)},this)),a.each(e.Plugins,a.proxy(function(a,b){this._plugins[a.charAt(0).toLowerCase()+a.slice(1)]=new b(this)},this)),a.each(e.Workers,a.proxy(function(b,c){this._pipe.push({filter:c.filter,run:a.proxy(c.run,this)})},this)),this.setup(),this.initialize()}e.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:b,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},e.Width={Default:"default",Inner:"inner",Outer:"outer"},e.Type={Event:"event",State:"state"},e.Plugins={},e.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(a){a.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(a){var b=this.settings.margin||"",c=!this.settings.autoWidth,d=this.settings.rtl,e={width:"auto","margin-left":d?b:"","margin-right":d?"":b};!c&&this.$stage.children().css(e),a.css=e}},{filter:["width","items","settings"],run:function(a){var b=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,c=null,d=this._items.length,e=!this.settings.autoWidth,f=[];for(a.items={merge:!1,width:b};d--;)c=this._mergers[d],c=this.settings.mergeFit&&Math.min(c,this.settings.items)||c,a.items.merge=c>1||a.items.merge,f[d]=e?b*c:this._items[d].width();this._widths=f}},{filter:["items","settings"],run:function(){var b=[],c=this._items,d=this.settings,e=Math.max(2*d.items,4),f=2*Math.ceil(c.length/2),g=d.loop&&c.length?d.rewind?e:Math.max(e,f):0,h="",i="";for(g/=2;g--;)b.push(this.normalize(b.length/2,!0)),h+=c[b[b.length-1]][0].outerHTML,b.push(this.normalize(c.length-1-(b.length-1)/2,!0)),i=c[b[b.length-1]][0].outerHTML+i;this._clones=b,a(h).addClass("cloned").appendTo(this.$stage),a(i).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var a=this.settings.rtl?1:-1,b=this._clones.length+this._items.length,c=-1,d=0,e=0,f=[];++c",h)||this.op(b,"<",g)&&this.op(b,">",h))&&i.push(c);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+i.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],e.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var b,c,e;b=this.$element.find("img"),c=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:d,e=this.$element.children(c).width(),b.length&&e<=0&&this.preloadAutoWidthImages(b)}this.$element.addClass(this.options.loadingClass),this.$stage=a("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('
'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},e.prototype.setup=function(){var b=this.viewport(),c=this.options.responsive,d=-1,e=null;c?(a.each(c,function(a){a<=b&&a>d&&(d=Number(a))}),e=a.extend({},this.options,c[d]),"function"==typeof e.stagePadding&&(e.stagePadding=e.stagePadding()),delete e.responsive,e.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+d))):e=a.extend({},this.options),this.trigger("change",{property:{name:"settings",value:e}}),this._breakpoint=d,this.settings=e,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},e.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},e.prototype.prepare=function(b){var c=this.trigger("prepare",{content:b});return c.data||(c.data=a("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(b)),this.trigger("prepared",{content:c.data}),c.data},e.prototype.update=function(){for(var b=0,c=this._pipe.length,d=a.proxy(function(a){return this[a]},this._invalidated),e={};b0)&&this._pipe[b].run(e),b++;this._invalidated={},!this.is("valid")&&this.enter("valid")},e.prototype.width=function(a){switch(a=a||e.Width.Default){case e.Width.Inner:case e.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},e.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},e.prototype.onThrottledResize=function(){b.clearTimeout(this.resizeTimer),this.resizeTimer=b.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},e.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},e.prototype.registerEventHandlers=function(){a.support.transition&&this.$stage.on(a.support.transition.end+".owl.core",a.proxy(this.onTransitionEnd,this)),this.settings.responsive!==!1&&this.on(b,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",a.proxy(this.onDragEnd,this)))},e.prototype.onDragStart=function(b){var d=null;3!==b.which&&(a.support.transform?(d=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),d={x:d[16===d.length?12:4],y:d[16===d.length?13:5]}):(d=this.$stage.position(),d={x:this.settings.rtl?d.left+this.$stage.width()-this.width()+this.settings.margin:d.left,y:d.top}),this.is("animating")&&(a.support.transform?this.animate(d.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===b.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=a(b.target),this._drag.stage.start=d,this._drag.stage.current=d,this._drag.pointer=this.pointer(b),a(c).on("mouseup.owl.core touchend.owl.core",a.proxy(this.onDragEnd,this)),a(c).one("mousemove.owl.core touchmove.owl.core",a.proxy(function(b){var d=this.difference(this._drag.pointer,this.pointer(b));a(c).on("mousemove.owl.core touchmove.owl.core",a.proxy(this.onDragMove,this)),Math.abs(d.x)0^this.settings.rtl?"left":"right";a(c).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==d.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(e.x,0!==d.x?f:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=f,(Math.abs(d.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},e.prototype.closest=function(b,c){var d=-1,e=30,f=this.width(),g=this.coordinates();return this.settings.freeDrag||a.each(g,a.proxy(function(a,h){return"left"===c&&b>h-e&&bh-f-e&&b",g[a+1]||h-f)&&(d="left"===c?a+1:a),d===-1},this)),this.settings.loop||(this.op(b,">",g[this.minimum()])?d=b=this.minimum():this.op(b,"<",g[this.maximum()])&&(d=b=this.maximum())),d},e.prototype.animate=function(b){var c=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),c&&(this.enter("animating"),this.trigger("translate")),a.support.transform3d&&a.support.transition?this.$stage.css({transform:"translate3d("+b+"px,0px,0px)",transition:this.speed()/1e3+"s"}):c?this.$stage.animate({left:b+"px"},this.speed(),this.settings.fallbackEasing,a.proxy(this.onTransitionEnd,this)):this.$stage.css({left:b+"px"})},e.prototype.is=function(a){return this._states.current[a]&&this._states.current[a]>0},e.prototype.current=function(a){if(a===d)return this._current;if(0===this._items.length)return d;if(a=this.normalize(a),this._current!==a){var b=this.trigger("change",{property:{name:"position",value:a}});b.data!==d&&(a=this.normalize(b.data)),this._current=a,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},e.prototype.invalidate=function(b){return"string"===a.type(b)&&(this._invalidated[b]=!0,this.is("valid")&&this.leave("valid")),a.map(this._invalidated,function(a,b){return b})},e.prototype.reset=function(a){a=this.normalize(a),a!==d&&(this._speed=0,this._current=a,this.suppress(["translate","translated"]),this.animate(this.coordinates(a)),this.release(["translate","translated"]))},e.prototype.normalize=function(a,b){var c=this._items.length,e=b?0:this._clones.length;return!this.isNumeric(a)||c<1?a=d:(a<0||a>=c+e)&&(a=((a-e/2)%c+c)%c+e/2),a},e.prototype.relative=function(a){return a-=this._clones.length/2,this.normalize(a,!0)},e.prototype.maximum=function(a){var b,c,d,e=this.settings,f=this._coordinates.length;if(e.loop)f=this._clones.length/2+this._items.length-1;else if(e.autoWidth||e.merge){for(b=this._items.length,c=this._items[--b].width(),d=this.$element.width();b--&&(c+=this._items[b].width()+this.settings.margin,!(c>d)););f=b+1}else f=e.center?this._items.length-1:this._items.length-e.items;return a&&(f-=this._clones.length/2),Math.max(f,0)},e.prototype.minimum=function(a){return a?0:this._clones.length/2},e.prototype.items=function(a){return a===d?this._items.slice():(a=this.normalize(a,!0),this._items[a])},e.prototype.mergers=function(a){return a===d?this._mergers.slice():(a=this.normalize(a,!0),this._mergers[a])},e.prototype.clones=function(b){var c=this._clones.length/2,e=c+this._items.length,f=function(a){return a%2===0?e+a/2:c-(a+1)/2};return b===d?a.map(this._clones,function(a,b){return f(b)}):a.map(this._clones,function(a,c){return a===b?f(c):null})},e.prototype.speed=function(a){return a!==d&&(this._speed=a),this._speed},e.prototype.coordinates=function(b){var c,e=1,f=b-1;return b===d?a.map(this._coordinates,a.proxy(function(a,b){return this.coordinates(b)},this)):(this.settings.center?(this.settings.rtl&&(e=-1,f=b+1),c=this._coordinates[b],c+=(this.width()-c+(this._coordinates[f]||0))/2*e):c=this._coordinates[f]||0,c=Math.ceil(c))},e.prototype.duration=function(a,b,c){return 0===c?0:Math.min(Math.max(Math.abs(b-a),1),6)*Math.abs(c||this.settings.smartSpeed)},e.prototype.to=function(a,b){var c=this.current(),d=null,e=a-this.relative(c),f=(e>0)-(e<0),g=this._items.length,h=this.minimum(),i=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(e)>g/2&&(e+=f*-1*g),a=c+e,d=((a-h)%g+g)%g+h,d!==a&&d-e<=i&&d-e>0&&(c=d-e,a=d,this.reset(c))):this.settings.rewind?(i+=1,a=(a%i+i)%i):a=Math.max(h,Math.min(i,a)),this.speed(this.duration(c,a,b)),this.current(a),this.$element.is(":visible")&&this.update()},e.prototype.next=function(a){a=a||!1,this.to(this.relative(this.current())+1,a)},e.prototype.prev=function(a){a=a||!1,this.to(this.relative(this.current())-1,a)},e.prototype.onTransitionEnd=function(a){if(a!==d&&(a.stopPropagation(),(a.target||a.srcElement||a.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},e.prototype.viewport=function(){var d;return this.options.responsiveBaseElement!==b?d=a(this.options.responsiveBaseElement).width():b.innerWidth?d=b.innerWidth:c.documentElement&&c.documentElement.clientWidth?d=c.documentElement.clientWidth:console.warn("Can not detect viewport width."),d},e.prototype.replace=function(b){this.$stage.empty(),this._items=[],b&&(b=b instanceof jQuery?b:a(b)),this.settings.nestedItemSelector&&(b=b.find("."+this.settings.nestedItemSelector)),b.filter(function(){return 1===this.nodeType}).each(a.proxy(function(a,b){b=this.prepare(b),this.$stage.append(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},e.prototype.add=function(b,c){var e=this.relative(this._current);c=c===d?this._items.length:this.normalize(c,!0),b=b instanceof jQuery?b:a(b),this.trigger("add",{content:b,position:c}),b=this.prepare(b),0===this._items.length||c===this._items.length?(0===this._items.length&&this.$stage.append(b),0!==this._items.length&&this._items[c-1].after(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[c].before(b),this._items.splice(c,0,b),this._mergers.splice(c,0,1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[e]&&this.reset(this._items[e].index()),this.invalidate("items"),this.trigger("added",{content:b,position:c})},e.prototype.remove=function(a){a=this.normalize(a,!0),a!==d&&(this.trigger("remove",{content:this._items[a],position:a}),this._items[a].remove(),this._items.splice(a,1),this._mergers.splice(a,1),this.invalidate("items"),this.trigger("removed",{content:null,position:a}))},e.prototype.preloadAutoWidthImages=function(b){b.each(a.proxy(function(b,c){this.enter("pre-loading"),c=a(c),a(new Image).one("load",a.proxy(function(a){c.attr("src",a.target.src),c.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",c.attr("src")||c.attr("data-src")||c.attr("data-src-retina"))},this))},e.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),a(c).off(".owl.core"),this.settings.responsive!==!1&&(b.clearTimeout(this.resizeTimer),this.off(b,"resize",this._handlers.onThrottledResize));for(var d in this._plugins)this._plugins[d].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},e.prototype.op=function(a,b,c){var d=this.settings.rtl;switch(b){case"<":return d?a>c:a":return d?ac;case">=":return d?a<=c:a>=c;case"<=":return d?a>=c:a<=c}},e.prototype.on=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)},e.prototype.off=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent("on"+b,c)},e.prototype.trigger=function(b,c,d,f,g){var h={item:{count:this._items.length,index:this.current()}},i=a.camelCase(a.grep(["on",b,d],function(a){return a}).join("-").toLowerCase()),j=a.Event([b,"owl",d||"carousel"].join(".").toLowerCase(),a.extend({relatedTarget:this},h,c));return this._supress[b]||(a.each(this._plugins,function(a,b){b.onTrigger&&b.onTrigger(j)}),this.register({type:e.Type.Event,name:b}),this.$element.trigger(j),this.settings&&"function"==typeof this.settings[i]&&this.settings[i].call(this,j)),j},e.prototype.enter=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]===d&&(this._states.current[b]=0),this._states.current[b]++},this))},e.prototype.leave=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]--},this))},e.prototype.register=function(b){if(b.type===e.Type.Event){if(a.event.special[b.name]||(a.event.special[b.name]={}),!a.event.special[b.name].owl){var c=a.event.special[b.name]._default;a.event.special[b.name]._default=function(a){return!c||!c.apply||a.namespace&&a.namespace.indexOf("owl")!==-1?a.namespace&&a.namespace.indexOf("owl")>-1:c.apply(this,arguments)},a.event.special[b.name].owl=!0}}else b.type===e.Type.State&&(this._states.tags[b.name]?this._states.tags[b.name]=this._states.tags[b.name].concat(b.tags):this._states.tags[b.name]=b.tags,this._states.tags[b.name]=a.grep(this._states.tags[b.name],a.proxy(function(c,d){return a.inArray(c,this._states.tags[b.name])===d},this)))},e.prototype.suppress=function(b){a.each(b,a.proxy(function(a,b){this._supress[b]=!0},this))},e.prototype.release=function(b){a.each(b,a.proxy(function(a,b){delete this._supress[b]},this))},e.prototype.pointer=function(a){var c={x:null,y:null};return a=a.originalEvent||a||b.event,a=a.touches&&a.touches.length?a.touches[0]:a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:a,a.pageX?(c.x=a.pageX,c.y=a.pageY):(c.x=a.clientX,c.y=a.clientY),c},e.prototype.isNumeric=function(a){return!isNaN(parseFloat(a))},e.prototype.difference=function(a,b){return{x:a.x-b.x,y:a.y-b.y}},a.fn.owlCarousel=function(b){var c=Array.prototype.slice.call(arguments,1);return this.each(function(){var d=a(this),f=d.data("owl.carousel");f||(f=new e(this,"object"==typeof b&&b),d.data("owl.carousel",f),a.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(b,c){f.register({type:e.Type.Event,name:c}),f.$element.on(c+".owl.carousel.core",a.proxy(function(a){a.namespace&&a.relatedTarget!==this&&(this.suppress([c]),f[c].apply(this,[].slice.call(arguments,1)),this.release([c]))},f))})),"string"==typeof b&&"_"!==b.charAt(0)&&f[b].apply(f,c)})},a.fn.owlCarousel.Constructor=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoRefresh:!0,autoRefreshInterval:500},e.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=b.setInterval(a.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},e.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},e.prototype.destroy=function(){var a,c;b.clearInterval(this._interval);for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoRefresh=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(b){if(b.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(b.property&&"position"==b.property.name||"initialized"==b.type))for(var c=this._core.settings,e=c.center&&Math.ceil(c.items/2)||c.items,f=c.center&&e*-1||0,g=(b.property&&b.property.value!==d?b.property.value:this._core.current())+f,h=this._core.clones().length,i=a.proxy(function(a,b){this.load(b)},this);f++-1||(e.each(a.proxy(function(c,d){var e,f=a(d),g=b.devicePixelRatio>1&&f.attr("data-src-retina")||f.attr("data-src");this._core.trigger("load",{element:f,url:g},"lazy"),f.is("img")?f.one("load.owl.lazy",a.proxy(function(){f.css("opacity",1),this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("src",g):(e=new Image,e.onload=a.proxy(function(){f.css({"background-image":'url("'+g+'")',opacity:"1"}),this._core.trigger("loaded",{element:f,url:g},"lazy")},this),e.src=g)},this)),this._loaded.push(d.get(0)))},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this._core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&"position"==a.property.name&&this.update()},this),"loaded.owl.lazy":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&a.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},e.prototype.update=function(){var b=this._core._current,c=b+this._core.settings.items,d=this._core.$stage.children().toArray().slice(b,c),e=[],f=0;a.each(d,function(b,c){e.push(a(c).height())}),f=Math.max.apply(null,e),this._core.$stage.parent().height(f).addClass(this._core.settings.autoHeightClass)},e.prototype.destroy=function(){var a,b;for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoHeight=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.video&&this.isInFullScreen()&&a.preventDefault()},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"===a.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find(".owl-video");c.length&&(c.css("display","none"),this.fetch(c,a(b.content)))}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",a.proxy(function(a){this.play(a)},this))};e.Defaults={video:!1,videoHeight:!1,videoWidth:!1},e.prototype.fetch=function(a,b){var c=function(){return a.attr("data-vimeo-id")?"vimeo":a.attr("data-vzaar-id")?"vzaar":"youtube"}(),d=a.attr("data-vimeo-id")||a.attr("data-youtube-id")||a.attr("data-vzaar-id"),e=a.attr("data-width")||this._core.settings.videoWidth,f=a.attr("data-height")||this._core.settings.videoHeight,g=a.attr("href");if(!g)throw new Error("Missing video URL.");if(d=g.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),d[3].indexOf("youtu")>-1)c="youtube";else if(d[3].indexOf("vimeo")>-1)c="vimeo";else{if(!(d[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");c="vzaar"}d=d[6],this._videos[g]={type:c,id:d,width:e,height:f},b.attr("data-video",g),this.thumbnail(a,this._videos[g])},e.prototype.thumbnail=function(b,c){var d,e,f,g=c.width&&c.height?'style="width:'+c.width+"px;height:"+c.height+'px;"':"",h=b.find("img"),i="src",j="",k=this._core.settings,l=function(a){e='
',d=k.lazyLoad?'
':'
',b.after(d),b.after(e)};if(b.wrap('
"),this._core.settings.lazyLoad&&(i="data-src",j="owl-lazy"),h.length)return l(h.attr(i)),h.remove(),!1;"youtube"===c.type?(f="//img.youtube.com/vi/"+c.id+"/hqdefault.jpg",l(f)):"vimeo"===c.type?a.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a[0].thumbnail_large,l(f)}}):"vzaar"===c.type&&a.ajax({type:"GET",url:"//vzaar.com/api/videos/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a.framegrab_url,l(f)}})},e.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},e.prototype.play=function(b){var c,d=a(b.target),e=d.closest("."+this._core.settings.itemClass),f=this._videos[e.attr("data-video")],g=f.width||"100%",h=f.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),e=this._core.items(this._core.relative(e.index())),this._core.reset(e.index()),"youtube"===f.type?c='':"vimeo"===f.type?c='':"vzaar"===f.type&&(c=''),a('
'+c+"
").insertAfter(e.find(".owl-video")),this._playing=e.addClass("owl-video-playing"))},e.prototype.isInFullScreen=function(){var b=c.fullscreenElement||c.mozFullScreenElement||c.webkitFullscreenElement;return b&&a(b).parent().hasClass("owl-video-frame")},e.prototype.destroy=function(){var a,b;this._core.$element.off("click.owl.video");for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Video=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this.core=b,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=d,this.next=d,this.handlers={"change.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&(this.previous=this.core.current(),this.next=a.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(a){a.namespace&&(this.swapping="translated"==a.type)},this),"translate.owl.carousel":a.proxy(function(a){a.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){if(1===this.core.settings.items&&a.support.animation&&a.support.transition){this.core.speed(0);var b,c=a.proxy(this.clear,this),d=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,g=this.core.settings.animateOut;this.core.current()!==this.previous&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.one(a.support.animation.end,c).css({left:b+"px"}).addClass("animated owl-animated-out").addClass(g)),f&&e.one(a.support.animation.end,c).addClass("animated owl-animated-in").addClass(f))}},e.prototype.clear=function(b){a(b.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)}, +a.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":a.proxy(function(a){a.namespace&&"settings"===a.property.name?this._core.settings.autoplay?this.play():this.stop():a.namespace&&"position"===a.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":a.proxy(function(a,b,c){a.namespace&&this.play(b,c)},this),"stop.owl.autoplay":a.proxy(function(a){a.namespace&&this.stop()},this),"mouseover.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=a.extend({},e.Defaults,this._core.options)};e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype.play=function(a,b){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},e.prototype._getNextTimeout=function(d,e){return this._timeout&&b.clearTimeout(this._timeout),b.setTimeout(a.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||c.hidden||this._core.next(e||this._core.settings.autoplaySpeed)},this),d||this._core.settings.autoplayTimeout)},e.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},e.prototype.stop=function(){this._core.is("rotating")&&(b.clearTimeout(this._timeout),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},e.prototype.destroy=function(){var a,b;this.stop();for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.autoplay=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(b){this._core=b,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":a.proxy(function(b){b.namespace&&this._core.settings.dotsData&&this._templates.push('
'+a(b.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
")},this),"added.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,0,this._templates.pop())},this),"remove.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,1)},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&this.draw()},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var b,c=this._core.settings;this._controls.$relative=(c.navContainer?a(c.navContainer):a("
").addClass(c.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=a("<"+c.navElement+">").addClass(c.navClass[0]).html(c.navText[0]).prependTo(this._controls.$relative).on("click",a.proxy(function(a){this.prev(c.navSpeed)},this)),this._controls.$next=a("<"+c.navElement+">").addClass(c.navClass[1]).html(c.navText[1]).appendTo(this._controls.$relative).on("click",a.proxy(function(a){this.next(c.navSpeed)},this)),c.dotsData||(this._templates=[a("
").addClass(c.dotClass).append(a("")).prop("outerHTML")]),this._controls.$absolute=(c.dotsContainer?a(c.dotsContainer):a("
").addClass(c.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",a.proxy(function(b){var d=a(b.target).parent().is(this._controls.$absolute)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(d,c.dotsSpeed)},this));for(b in this._overrides)this._core[b]=a.proxy(this[b],this)},e.prototype.destroy=function(){var a,b,c,d;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},e.prototype.update=function(){var a,b,c,d=this._core.clones().length/2,e=d+this._core.items().length,f=this._core.maximum(!0),g=this._core.settings,h=g.center||g.autoWidth||g.dotsData?1:g.dotsEach||g.items;if("page"!==g.slideBy&&(g.slideBy=Math.min(g.slideBy,g.items)),g.dots||"page"==g.slideBy)for(this._pages=[],a=d,b=0,c=0;a=h||0===b){if(this._pages.push({start:Math.min(f,a-d),end:a-d+h-1}),Math.min(f,a-d)===f)break;b=0,++c}b+=this._core.mergers(this._core.relative(a))}},e.prototype.draw=function(){var b,c=this._core.settings,d=this._core.items().length<=c.items,e=this._core.relative(this._core.current()),f=c.loop||c.rewind;this._controls.$relative.toggleClass("disabled",!c.nav||d),c.nav&&(this._controls.$previous.toggleClass("disabled",!f&&e<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!f&&e>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!c.dots||d),c.dots&&(b=this._pages.length-this._controls.$absolute.children().length,c.dotsData&&0!==b?this._controls.$absolute.html(this._templates.join("")):b>0?this._controls.$absolute.append(new Array(b+1).join(this._templates[0])):b<0&&this._controls.$absolute.children().slice(b).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(a.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(b){var c=this._core.settings;b.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:c&&(c.center||c.autoWidth||c.dotsData?1:c.dotsEach||c.items)}},e.prototype.current=function(){var b=this._core.relative(this._core.current());return a.grep(this._pages,a.proxy(function(a,c){return a.start<=b&&a.end>=b},this)).pop()},e.prototype.getPosition=function(b){var c,d,e=this._core.settings;return"page"==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:--c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c},e.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b)},e.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b)},e.prototype.to=function(b,c,d){var e;!d&&this._pages.length?(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c)):a.proxy(this._overrides.to,this._core)(b,c)},a.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(c){this._core=c,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":a.proxy(function(c){c.namespace&&"URLHash"===this._core.settings.startPosition&&a(b).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!c)return;this._hashes[c]=b.content}},this),"changed.owl.carousel":a.proxy(function(c){if(c.namespace&&"position"===c.property.name){var d=this._core.items(this._core.relative(this._core.current())),e=a.map(this._hashes,function(a,b){return a===d?b:null}).join();if(!e||b.location.hash.slice(1)===e)return;b.location.hash=e}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on("hashchange.owl.navigation",a.proxy(function(a){var c=b.location.hash.substring(1),e=this._core.$stage.children(),f=this._hashes[c]&&e.index(this._hashes[c]);f!==d&&f!==this._core.current()&&this._core.to(this._core.relative(f),!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var c,d;a(b).off("hashchange.owl.navigation");for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))"function"!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){function e(b,c){var e=!1,f=b.charAt(0).toUpperCase()+b.slice(1);return a.each((b+" "+h.join(f+" ")+f).split(" "),function(a,b){if(g[b]!==d)return e=!c||b,!1}),e}function f(a){return e(a,!0)}var g=a("").get(0).style,h="Webkit Moz O ms".split(" "),i={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},j={csstransforms:function(){return!!e("transform")},csstransforms3d:function(){return!!e("perspective")},csstransitions:function(){return!!e("transition")},cssanimations:function(){return!!e("animation")}};j.csstransitions()&&(a.support.transition=new String(f("transition")),a.support.transition.end=i.transition.end[a.support.transition]),j.cssanimations()&&(a.support.animation=new String(f("animation")),a.support.animation.end=i.animation.end[a.support.animation]),j.csstransforms()&&(a.support.transform=new String(f("transform")),a.support.transform3d=j.csstransforms3d())}(window.Zepto||window.jQuery,window,document); \ No newline at end of file diff --git a/hosting/templates/hosting/base_short.html b/hosting/templates/hosting/base_short.html index 75122bbb..6a2037f7 100644 --- a/hosting/templates/hosting/base_short.html +++ b/hosting/templates/hosting/base_short.html @@ -29,6 +29,8 @@ + + @@ -126,7 +128,7 @@ {% if request.user.is_authenticated %} -