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,
"requires": true,
"dependencies": {
"font-awesome": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz",
"integrity": "sha1-j6jPBBGhoxr9B7BtKQK7n8gVoTM="
},
"notie": {
"version": "4.3.1",
"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",
"dependencies": {
"font-awesome": "^4.7.0",
"notie": "^4.3.1"
}
}

View File

@ -22,7 +22,7 @@
{% block title %}{% endblock %} | SimpleLogin
</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 -->
<link href="/static/assets/css/dashboard.css" rel="stylesheet"/>