Browse Source

use npm version of font-awesome

experimental
Paweł Jedwabny 4 years ago
parent
commit
b707024a21
3 changed files with 4 additions and 1 deletions
  1. +1
    -1
      index.php
  2. +1
    -0
      package.json
  3. +2
    -0
      src/index.js

+ 1
- 1
index.php View File

@@ -61,7 +61,7 @@ ob_start();
<meta name="robots" content="NOINDEX, NOARCHIVE">
<script type='text/javascript' src='dist/index.js'></script>
<?php
$csses = array('dist/styles.css', 'vendor/bower-asset/gentelella/build/css/custom.css','vendor/bower-asset/gentelella/vendors/font-awesome/css/font-awesome.min.css');
$csses = array('dist/styles.css', 'vendor/bower-asset/gentelella/build/css/custom.css');
foreach($csses as $css)
print('<link href="'.$css.'" rel="stylesheet" type="text/css">');
?>


+ 1
- 0
package.json View File

@@ -43,6 +43,7 @@
"bluebird": "^3.5.0",
"bootstrap": "^3.3.7",
"chart.js": "^2.7.0",
"font-awesome": "^4.7.0",
"jquery": "^2.x.x",
"jquery-ui": "^1.12.1",
"select2": "^4.0.3"


+ 2
- 0
src/index.js View File

@@ -16,6 +16,8 @@ import 'script-loader!../libs/HistoryKeeper/History.js';
import 'script-loader!../libs/jquery.clonePosition.js';
import Chart from 'chart.js';

import 'font-awesome/css/font-awesome.css';

window.Chart = Chart;

import Epesi from './epesi';


Loading…
Cancel
Save