Replaced the CDN fontawesome version with a local one.

This commit is contained in:
Alex Tselegidis 2020-08-15 18:55:35 +03:00
parent e2c0c1cc79
commit 6cbb13dc2d
7 changed files with 23 additions and 12 deletions

View file

@ -14,7 +14,7 @@
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/cookieconsent/cookieconsent.min.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/frontend.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
<script src="https://kit.fontawesome.com/bdcbd8a000.js" crossorigin="anonymous"></script>
<script src="<?= asset_url('assets/ext/fontawesome/js/all.min.js') ?>"></script>
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">

View file

@ -9,7 +9,7 @@
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/bootstrap/css/bootstrap.min.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/frontend.css') ?>">
<script src="https://kit.fontawesome.com/bdcbd8a000.js" crossorigin="anonymous"></script>
<script src="<?= asset_url('assets/ext/fontawesome/js/all.min.js') ?>"></script>
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">

View file

@ -22,7 +22,7 @@
<script src="<?= asset_url('assets/ext/datejs/date.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/trumbowyg/trumbowyg.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/select2/select2.min.js') ?>"></script>
<script src="https://kit.fontawesome.com/bdcbd8a000.js" crossorigin="anonymous"></script>
<script src="<?= asset_url('assets/ext/fontawesome/js/all.min.js') ?>"></script>
<script>
// Global JavaScript Variables - Used in all backend pages.

View file

@ -12,7 +12,7 @@
<script src="<?= asset_url('assets/ext/jquery/jquery.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
<script src="https://kit.fontawesome.com/bdcbd8a000.js" crossorigin="anonymous"></script>
<script src="<?= asset_url('assets/ext/fontawesome/js/all.min.js') ?>"></script>
<script>
var EALang = <?= json_encode($this->lang->language) ?>;

5
assets/ext/fontawesome/js/all.min.js vendored Normal file

File diff suppressed because one or more lines are too long

17
package-lock.json generated
View file

@ -9,6 +9,11 @@
"integrity": "sha512-AoeIEJn8vt+d/6+PXDRPaksYhnlbMIiejioBZvvMQsOjW/JYK6k/0dKnvvP3EhK5GfMBWDPtrxRtegWdAcdq9Q==",
"dev": true
},
"@fortawesome/fontawesome-free": {
"version": "5.14.0",
"resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-5.14.0.tgz",
"integrity": "sha512-OfdMsF+ZQgdKHP9jUbmDcRrP0eX90XXrsXIdyjLbkmSBzmMXPABB8eobUJtivaupucYaByz6WNe1PI1JuYm3qA=="
},
"abbrev": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
@ -2554,9 +2559,9 @@
"dev": true
},
"jquery": {
"version": "3.4.1",
"resolved": "https://registry.npmjs.org/jquery/-/jquery-3.4.1.tgz",
"integrity": "sha512-36+AdBzCL+y6qjw5Tx7HgzeGCzC81MDDgaUP8ld2zhx58HdqXGoBd+tHdrBMiyjGQs0Hxs/MLZTu/eHNJJuWPw=="
"version": "3.5.1",
"resolved": "https://registry.npmjs.org/jquery/-/jquery-3.5.1.tgz",
"integrity": "sha512-XwIBPqcMn57FxfT+Go5pzySnm4KWkT1Tv7gjrpT1srtf8Weynl6R273VJ5GjkRb51IzMp5nbaPjJXMWeju2MKg=="
},
"jquery-ui": {
"version": "1.12.1",
@ -2821,9 +2826,9 @@
}
},
"lodash": {
"version": "4.17.15",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
"integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",
"version": "4.17.20",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
"integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==",
"dev": true
},
"lodash._reinterpolate": {

View file

@ -24,11 +24,12 @@
"node": ">=12"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^5.14.0",
"bootstrap": "^4.5.0",
"cookieconsent": "^3.1.1",
"datejs": "0.0.2",
"fullcalendar": "^3.10.1",
"jquery": "^3.4.1",
"jquery": "^3.5.1",
"jquery-ui": "^1.12.0",
"moment": "^2.25.3",
"moment-timezone": "^0.5.28",