Add Chart.js to bootstrap skin
This commit is contained in:
parent
896b258ad0
commit
a4fbde9e3f
|
@ -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>
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue