removed sekizai

This commit is contained in:
Arvind Tiwari 2018-01-17 18:04:11 +05:30
parent a374421963
commit b5cc0d4d1f
2 changed files with 40 additions and 74 deletions

View file

@ -13,22 +13,15 @@
<title>Data Center Light - {% block title %}VM hosting made in Switzerland{% endblock %}</title> <title>Data Center Light - {% block title %}VM hosting made in Switzerland{% endblock %}</title>
<!-- Vendor CSS --> <!-- Vendor CSS -->
{% addtoblock "vendor_css" %} <!-- Bootstrap Core CSS -->
<!-- Bootstrap Core CSS --> <link href="{% static 'datacenterlight/css/bootstrap.min.css' %}" rel="stylesheet">
<link href="{% static 'datacenterlight/css/bootstrap.min.css' %}" rel="stylesheet"> <!-- Icon Fonts -->
<!-- Icon Fonts --> <link href="{% static 'datacenterlight/font-awesome/css/font-awesome.min.css' %}" rel="stylesheet" type="text/css">
<link href="{% static 'datacenterlight/font-awesome/css/font-awesome.min.css' %}" rel="stylesheet" type="text/css">
{% endaddtoblock "vendor_css" %}
<!-- Custom CSS --> <!-- Custom CSS -->
{% addtoblock "custom_css" %} <link href="{% static 'datacenterlight/css/common.css' %}" rel="stylesheet">
<link href="{% static 'datacenterlight/css/common.css' %}" rel="stylesheet"> <link href="{% static 'datacenterlight/css/landing-page.css' %}" rel="stylesheet">
<link href="{% static 'datacenterlight/css/landing-page.css' %}" rel="stylesheet"> {% block css_extra %}
{% block css_extra %} {% endblock css_extra %}
{% endblock css_extra %}
{% endaddtoblock "custom_css" %}
{% render_block "vendor_css" %}
{% render_block "custom_css" postprocessor "compressor.contrib.sekizai.compress" %}
<!-- External Fonts --> <!-- External Fonts -->
<link href="//fonts.googleapis.com/css?family=Lato:300,400,600,700" rel="stylesheet" type="text/css"> <link href="//fonts.googleapis.com/css?family=Lato:300,400,600,700" rel="stylesheet" type="text/css">
@ -58,22 +51,14 @@
{% include "datacenterlight/includes/_footer.html" %} {% include "datacenterlight/includes/_footer.html" %}
{% addtoblock "vendor_js" %} <!-- jQuery -->
<!-- jQuery --> <script src="{% static 'datacenterlight/js/jquery.js' %}"></script>
<script src="{% static 'datacenterlight/js/jquery.js' %}"></script> <!-- Bootstrap Core JavaScript -->
<!-- Bootstrap Core JavaScript --> <script src="{% static 'datacenterlight/js/bootstrap.min.js' %}"></script>
<script src="{% static 'datacenterlight/js/bootstrap.min.js' %}"></script>
{% endaddtoblock "vendor_js" %}
{% render_block "vendor_js" %}
<script src="//cdnjs.cloudflare.com/ajax/libs/1000hz-bootstrap-validator/0.11.9/validator.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/1000hz-bootstrap-validator/0.11.9/validator.min.js"></script>
{% addtoblock "custom_js" %} <script src="{% static 'datacenterlight/js/main.js' %}"></script>
<script src="{% static 'datacenterlight/js/main.js' %}"></script>
{% endaddtoblock "custom_js" %}
{% render_block "custom_js" postprocessor "compressor.contrib.sekizai.compress" %}
</body> </body>
</html> </html>

View file

@ -1,4 +1,4 @@
{% load staticfiles i18n sekizai_tags %} {% load staticfiles i18n %}
{% get_current_language as LANGUAGE_CODE %} {% get_current_language as LANGUAGE_CODE %}
<!DOCTYPE html> <!DOCTYPE html>
@ -14,23 +14,17 @@
<title>Data Center Light - {% block title %}VM hosting made in Switzerland{% endblock %}</title> <title>Data Center Light - {% block title %}VM hosting made in Switzerland{% endblock %}</title>
<!-- Vendor CSS --> <!-- Vendor CSS -->
{% addtoblock "vendor_css" %} <!-- Bootstrap Core CSS -->
<!-- Bootstrap Core CSS --> <link href="{% static 'datacenterlight/css/bootstrap.min.css' %}" rel="stylesheet">
<link href="{% static 'datacenterlight/css/bootstrap.min.css' %}" rel="stylesheet"> <!-- Icon Fonts -->
<!-- Icon Fonts --> <link href="{% static 'datacenterlight/font-awesome/css/font-awesome.min.css' %}" rel="stylesheet" type="text/css">
<link href="{% static 'datacenterlight/font-awesome/css/font-awesome.min.css' %}" rel="stylesheet" type="text/css"> <link href="//fonts.googleapis.com/css?family=Lato:300,400,600,700" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=Lato:300,400,600,700" rel="stylesheet" type="text/css">
{% endaddtoblock "vendor_css" %}
<!-- Custom CSS -->
{% addtoblock "custom_css" %}
<link href="{% static 'datacenterlight/css/common.css' %}" rel="stylesheet">
<link href="{% static 'datacenterlight/css/hosting.css' %}" rel="stylesheet">
{% block css_extra %}
{% endblock css_extra %}
{% endaddtoblock "custom_css" %}
{% render_block "vendor_css" %} <!-- Custom CSS -->
{% render_block "custom_css" postprocessor "compressor.contrib.sekizai.compress" %} <link href="{% static 'datacenterlight/css/common.css' %}" rel="stylesheet">
<link href="{% static 'datacenterlight/css/hosting.css' %}" rel="stylesheet">
{% block css_extra %}
{% endblock css_extra %}
<!-- External Fonts --> <!-- External Fonts -->
<link href="//fonts.googleapis.com/css?family=Lato:300,400,600,700" rel="stylesheet" type="text/css"> <link href="//fonts.googleapis.com/css?family=Lato:300,400,600,700" rel="stylesheet" type="text/css">
@ -76,43 +70,30 @@
<!-- Moment --> <!-- Moment -->
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script> <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment-with-locales.js"></script> <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment-with-locales.js"></script>
{% addtoblock "vendor_js" %} <!-- jQuery -->
<!-- jQuery --> <script src="{% static 'hosting/js/jquery.js' %}"></script>
<script src="{% static 'hosting/js/jquery.js' %}"></script> <!-- Bootstrap Core JavaScript -->
<!-- Bootstrap Core JavaScript --> <script src="{% static 'hosting/js/bootstrap.min.js' %}"></script>
<script src="{% static 'hosting/js/bootstrap.min.js' %}"></script>
{% endaddtoblock "vendor_js" %}
{% render_block "vendor_js" %}
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.16.0/jquery.validate.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.16.0/jquery.validate.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/1000hz-bootstrap-validator/0.11.9/validator.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/1000hz-bootstrap-validator/0.11.9/validator.min.js"></script>
{% addtoblock "custom_js" %} <!-- Create Virtual Machine Javascript -->
<!-- Create Virtual Machine Javascript --> <script src="{% static 'hosting/js/createvm.js' %}"></script>
<script src="{% static 'hosting/js/createvm.js' %}"></script> <!-- Init JavaScript -->
<!-- Init JavaScript --> <script src="{% static 'hosting/js/initial.js' %}"></script>
<script src="{% static 'hosting/js/initial.js' %}"></script> {% block js_extra %}
{% block js_extra %} {% comment %}
{% comment %} this block is above some files, because on stripe error scripts below the stripe
this block is above some files, because on stripe error scripts below the stripe script are not properly executed.
script are not properly executed. {% endcomment %}
{% endcomment %} {% endblock js_extra %}
{% endblock js_extra %}
{% endaddtoblock "custom_js" %}
{% render_block "custom_js" postprocessor "compressor.contrib.sekizai.compress" %}
<!-- Stripe Lib --> <!-- Stripe Lib -->
<script src="https://js.stripe.com/v3/"></script> <script src="https://js.stripe.com/v3/"></script>
<script src="https://js.stripe.com/v2/"></script> <script src="https://js.stripe.com/v2/"></script>
{% addtoblock "payment_js" %} <!-- Proccess payment lib -->
<!-- Proccess payment lib --> <script type="text/javascript" src="{% static 'hosting/js/payment.js' %}"></script>
<script type="text/javascript" src="{% static 'hosting/js/payment.js' %}"></script>
{% endaddtoblock "payment_js" %}
{% render_block "payment_js" postprocessor "compressor.contrib.sekizai.compress" %}
</body> </body>
</html> </html>