Remove code.jquery.com and maxcdn.bootstrapcdn.com dependencies
Use local resources instead
This commit is contained in:
parent
2b99ac1670
commit
dca11c1b26
3 changed files with 8 additions and 8 deletions
|
@ -451,10 +451,10 @@ USE_X_FORWARDED_HOST = True
|
||||||
BOOTSTRAP3 = {
|
BOOTSTRAP3 = {
|
||||||
|
|
||||||
# The URL to the jQuery JavaScript file
|
# The URL to the jQuery JavaScript file
|
||||||
'jquery_url': '//code.jquery.com/jquery.min.js',
|
'jquery_url': '%sdatacenterlight/js/jquery-1.11.1.min.js' % STATIC_URL,
|
||||||
|
|
||||||
# The Bootstrap base URL
|
# The Bootstrap base URL
|
||||||
'base_url': '//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/',
|
'base_url': '%sdatacenterlight/bootstrap-3.3.4/' % STATIC_URL,
|
||||||
|
|
||||||
# The complete URL to the Bootstrap CSS file
|
# The complete URL to the Bootstrap CSS file
|
||||||
# (None means derive it from base_url)
|
# (None means derive it from base_url)
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
{% addtoblock "external-css" %}
|
{% addtoblock "external-css" %}
|
||||||
{% bootstrap_css %}
|
{% bootstrap_css %}
|
||||||
|
|
||||||
<link href='//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css' rel="stylesheet" type="text/css">
|
<link href='{% static "digitalglarus/font-awesome/4.1.0/css/font-awesome.min.css" %}' rel="stylesheet" type="text/css">
|
||||||
<link href='//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
|
<link href='//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
|
||||||
<link href='//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800'
|
<link href='//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800'
|
||||||
rel='stylesheet' type='text/css'>
|
rel='stylesheet' type='text/css'>
|
||||||
|
@ -18,8 +18,8 @@
|
||||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
<script src="{% static 'datacenterlight/js/html5shiv-3.7.0.js' %}"></script>
|
||||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
<script src="{% static 'datacenterlight/js/respond-1.4.2.min.js' %}"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
{% endaddtoblock %}
|
{% endaddtoblock %}
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
{% addtoblock "external-css" %}
|
{% addtoblock "external-css" %}
|
||||||
{% bootstrap_css %}
|
{% bootstrap_css %}
|
||||||
|
|
||||||
<link href='//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css' rel="stylesheet" type="text/css">
|
<link href='{% static "digitalglarus/font-awesome/4.1.0/css/font-awesome.min.css" %}' rel="stylesheet" type="text/css">
|
||||||
<link href='//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
|
<link href='//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
|
||||||
<link href='//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800'
|
<link href='//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800'
|
||||||
rel='stylesheet' type='text/css'>
|
rel='stylesheet' type='text/css'>
|
||||||
|
@ -23,8 +23,8 @@
|
||||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
<script src="{% static 'datacenterlight/js/html5shiv-3.7.0.js' %}"></script>
|
||||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
<script src="{% static 'datacenterlight/js/respond-1.4.2.min.js' %}"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
{% endaddtoblock %}
|
{% endaddtoblock %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue