Remove CDN and use local files

master
Perflyst 5 years ago
parent c44ad4432c
commit 8a53c9b7c5
No known key found for this signature in database
GPG Key ID: B0D9C8E56E999F68
  1. 5
      _static/bootstrap/bootstrap.min.css
  2. 7
      _static/bootstrap/bootstrap.min.js
  3. 6
      _static/jquery/jquery.min.js
  4. 6
      contrib/fr/overrides/layout.html
  5. 6
      templates/layout.html

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -7,7 +7,7 @@
{% block title %} {% block title %}
<title>Donner au {{_cfg("your-name")}}</title> <title>Donner au {{_cfg("your-name")}}</title>
{% endblock %} {% endblock %}
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" /> <link rel="stylesheet" href="{{root}}/static/bootstrap/bootstrap.min.css" />
{% block styles %}{% endblock %} {% block styles %}{% endblock %}
</head> </head>
<body> <body>
@ -17,8 +17,8 @@
{% endblock %} {% endblock %}
</div> </div>
{% endblock %} {% endblock %}
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="{{root}}/static/jquery/jquery.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> <script src="{{root}}/static/bootstrap/bootstrap.min.js"></script>
{% block scripts %}{% endblock %} {% block scripts %}{% endblock %}
</body> </body>
</html> </html>

@ -7,7 +7,7 @@
{% block title %} {% block title %}
<title>Donate to {{_cfg("your-name")}}</title> <title>Donate to {{_cfg("your-name")}}</title>
{% endblock %} {% endblock %}
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" /> <link rel="stylesheet" href="{{root}}/static/bootstrap/bootstrap.min.css" />
{% block styles %}{% endblock %} {% block styles %}{% endblock %}
</head> </head>
<body> <body>
@ -17,8 +17,8 @@
{% endblock %} {% endblock %}
</div> </div>
{% endblock %} {% endblock %}
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="{{root}}/static/jquery/jquery.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> <script src="{{root}}/static/bootstrap/bootstrap.min.js"></script>
{% block scripts %}{% endblock %} {% block scripts %}{% endblock %}
</body> </body>
</html> </html>

Loading…
Cancel
Save