use local font-awesome.min.css with npm

This commit is contained in:
Son NK 2020-02-04 16:13:25 +07:00
parent c908b6631d
commit 754dcfc343
3 changed files with 7 additions and 1 deletions

View file

@ -4,6 +4,11 @@
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
"font-awesome": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz",
"integrity": "sha1-j6jPBBGhoxr9B7BtKQK7n8gVoTM="
},
"notie": { "notie": {
"version": "4.3.1", "version": "4.3.1",
"resolved": "https://registry.npmjs.org/notie/-/notie-4.3.1.tgz", "resolved": "https://registry.npmjs.org/notie/-/notie-4.3.1.tgz",

View file

@ -16,6 +16,7 @@
}, },
"homepage": "https://github.com/simple-login/app#readme", "homepage": "https://github.com/simple-login/app#readme",
"dependencies": { "dependencies": {
"font-awesome": "^4.7.0",
"notie": "^4.3.1" "notie": "^4.3.1"
} }
} }

View file

@ -22,7 +22,7 @@
{% block title %}{% endblock %} | SimpleLogin {% block title %}{% endblock %} | SimpleLogin
</title> </title>
<link rel="stylesheet" href="/static/vendor/font-awesome.min.css"> <link rel="stylesheet" href="{{ url_for('static', filename='node_modules/font-awesome/css/font-awesome.css')}}">
<!-- Dashboard Core --> <!-- Dashboard Core -->
<link href="/static/assets/css/dashboard.css" rel="stylesheet"/> <link href="/static/assets/css/dashboard.css" rel="stylesheet"/>