Example #1
0
	<div class="row-fluid">
		<?php 
echo BlockContent::widget(['title' => 'ChartJS - Line', 'content' => $chartsLine, 'footer' => 'Use: <b>ChartJS</b> - <a href="http://www.chartjs.org/docs/" target="_blank">More example and doc</a>', 'options' => ['class' => 'col-md-12'], 'headerOptions' => [], 'contentOptions' => [], 'footerOptions' => []]);
?>
	</div>

	<div class="row-fluid">
		<?php 
echo BlockContent::widget(['title' => 'ChartJS - Bar', 'content' => $chartsBar, 'footer' => 'Use: <b>ChartJS</b> - <a href="http://www.chartjs.org/docs/" target="_blank">More example and doc</a>', 'options' => ['class' => 'col-md-6 padding success'], 'headerOptions' => [], 'contentOptions' => [], 'footerOptions' => []]);
?>
		<?php 
echo BlockContent::widget(['title' => 'ChartJS - Radar', 'content' => $chartsRadar, 'footer' => 'Use: <b>ChartJS</b> - <a href="http://www.chartjs.org/docs/" target="_blank">More example and doc</a>', 'options' => ['class' => 'col-md-6 padding danger'], 'headerOptions' => [], 'contentOptions' => [], 'footerOptions' => []]);
?>
	</div>


	<div class="row-fluid">
		<?php 
echo BlockContent::widget(['title' => 'ChartJS - Polar Area', 'content' => $chartsPolarArea, 'footer' => 'Use: <b>ChartJS</b> - <a href="http://www.chartjs.org/docs/" target="_blank">More example and doc</a>', 'options' => ['class' => 'col-md-4 padding warning'], 'headerOptions' => [], 'contentOptions' => [], 'footerOptions' => []]);
?>
		<?php 
echo BlockContent::widget(['title' => 'ChartJS - Pie', 'content' => $chartsPie, 'footer' => 'Use: <b>ChartJS</b> - <a href="http://www.chartjs.org/docs/" target="_blank">More example and doc</a>', 'options' => ['class' => 'col-md-4'], 'headerOptions' => [], 'contentOptions' => [], 'footerOptions' => []]);
?>
		<?php 
echo BlockContent::widget(['title' => 'ChartJS - Doughnut', 'content' => $chartsDoughnut, 'footer' => 'Use: <b>ChartJS</b> - <a href="http://www.chartjs.org/docs/" target="_blank">More example and doc</a>', 'options' => ['class' => 'col-md-4'], 'headerOptions' => [], 'contentOptions' => [], 'footerOptions' => []]);
?>
	</div>

</div>
Example #2
0
	<div class="row-fluid">
		<?php 
echo BlockContent::widget(['title' => 'Title block 4', 'content' => 'Content block', 'footer' => 'Footer block', 'options' => ['class' => 'col-md-4 warning padding'], 'headerOptions' => [], 'contentOptions' => [], 'footerOptions' => []]);
?>
		<?php 
echo BlockContent::widget(['title' => 'Title block 5', 'content' => 'Content block', 'footer' => 'Footer block', 'options' => ['class' => 'col-md-4 padding'], 'headerOptions' => [], 'contentOptions' => [], 'footerOptions' => []]);
?>
		<?php 
echo BlockContent::widget(['title' => 'Title block 6', 'content' => 'Content block', 'footer' => 'Footer block', 'options' => ['class' => 'col-md-4'], 'headerOptions' => [], 'contentOptions' => [], 'footerOptions' => []]);
?>
	</div>


	<div class="row-fluid">
		<?php 
echo BlockContent::widget(['title' => 'Title block 7', 'content' => 'Content block', 'footer' => 'Footer block', 'options' => ['class' => 'col-md-3 padding'], 'headerOptions' => [], 'contentOptions' => [], 'footerOptions' => []]);
?>
		<?php 
echo BlockContent::widget(['title' => 'Title block 8', 'content' => 'Content block', 'footer' => 'Footer block', 'options' => ['class' => 'col-md-3 padding'], 'headerOptions' => [], 'contentOptions' => [], 'footerOptions' => []]);
?>
		<?php 
echo BlockContent::widget(['title' => 'Title block 9', 'content' => 'Content block', 'footer' => 'Footer block', 'options' => ['class' => 'col-md-3 info padding'], 'headerOptions' => [], 'contentOptions' => [], 'footerOptions' => []]);
?>
		<?php 
echo BlockContent::widget(['title' => 'Title block 10', 'content' => 'Content block', 'footer' => 'Footer block', 'options' => ['class' => 'col-md-3 inverse'], 'headerOptions' => [], 'contentOptions' => [], 'footerOptions' => []]);
?>
	</div>

</div>