Add Chart.js to bootstrap skin

This commit is contained in:
Kyle Johnson 2014-10-31 20:24:09 +00:00
parent 896b258ad0
commit a4fbde9e3f
2 changed files with 14 additions and 1 deletions

View File

@ -27,6 +27,7 @@ function xhtmlHeaders( $file, $title )
$bootstrapCssFile = getSkinFile( 'css/bootstrap.css' );
$bootstrapJsFile = getSkinFile( 'js/bootstrap.min.js' );
$chartJsFile = getSkinFile( 'js/Chart.min.js' );
$basename = basename( $file, '.php' );
$viewCssFile = getSkinFile( 'views/css/'.$basename.'.css' );
@ -66,7 +67,8 @@ function xhtmlHeaders( $file, $title )
<?php
}
?>
<script type="text/javascript" src="<?= bootstrapJsFile ?>"></script>
<script type="text/javascript" src="<?= $bootstrapJsFile ?>"></script>
<script type="text/javascript" src="<?= $chartJsFile ?>"></script>
<script type="text/javascript" src="tools/mootools/mootools-core.js"></script>
<script type="text/javascript" src="tools/mootools/mootools-more.js"></script>
<script type="text/javascript" src="js/mootools.ext.js"></script>

11
web/skins/bootstrap/js/Chart.min.js vendored Normal file

File diff suppressed because one or more lines are too long