Vendorize jQuery + FA (with nitpicking)

This commit is contained in:
Aurélien Delobelle 2018-05-14 16:11:25 +02:00
parent 93740066b3
commit 2568bf9b6f
11 changed files with 8 additions and 12 deletions

2
.gitignore vendored
View file

@ -3,7 +3,7 @@
.tox/ .tox/
build/ build/
dist/ dist/
vendor/ /vendor/
venv/ venv/
*~ *~

View file

@ -1,6 +1,5 @@
/** This CSS file was taken from fonts.google.com /**
* * The font "Roboto" and its derivatives are under Apache license, as published
* The font "roboto" and its derivatives are under Apache license, as published
* here: https://www.apache.org/licenses/LICENSE-2.0 * here: https://www.apache.org/licenses/LICENSE-2.0
* The font is by Christian Robertson. Thanks! * The font is by Christian Robertson. Thanks!
*/ */

View file

Before

Width:  |  Height:  |  Size: 434 KiB

After

Width:  |  Height:  |  Size: 434 KiB

View file

@ -16,20 +16,17 @@
{# CSS #} {# CSS #}
<link rel="stylesheet" <link rel="stylesheet"
href="{% static "allauth_ens/fonts/roboto.css" %}"> href="{% static "vendor/font-awesome/4.7.0/css/font-awesome.min.css" %}">
<link rel="stylesheet" <link rel="stylesheet"
href="{% static "font-awesome/css/font-awesome.min.css" %}" href="{% static "allauth_ens/fonts/index.css" %}">
>
<link rel="stylesheet" <link rel="stylesheet"
href="{% static "allauth_ens/screen.css" %}"> href="{% static "allauth_ens/screen.css" %}">
{# JS #} {# JS #}
<script type="text/javascript" <script type="text/javascript"
src="{% static "allauth_ens/jquery-3.2.1.slim.min.js" %}" src="{% static "vendor/jquery/3.2.1/jquery-3.2.1.slim.min.js" %}"></script>
integrity="sha256-k2WSCIexGzOj3Euiig+TlR8gA0EmPjuc79OEeY5L45g=">
</script>
<script type="text/javascript" <script type="text/javascript"
src="{% static "allauth_ens/authens.js" %}"></script> src="{% static "allauth_ens/authens.js" %}"></script>
{% block extra_js %}{% endblock %} {% block extra_js %}{% endblock %}