init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
41
template/tpl/ajax/info_rs.tpl
Normal file
41
template/tpl/ajax/info_rs.tpl
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading"><h2 class="panel-title">Rundschau</h2></div>
|
||||
<div class="panel-body">
|
||||
<div><canvas id="ctx1" height="200"></canvas></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Chart JS
|
||||
<script src="https://oss.maxcdn.com/chart.js/1.0.1-beta.4/Chart.min.js "></script>
|
||||
-->
|
||||
<script src="lib/js/Chart.min.js "></script>
|
||||
|
||||
<!-- Main Script -->
|
||||
<script src="lib/js/jquery-ui.min.js"></script>
|
||||
<script src="lib/js/global.js"></script>
|
||||
{literal}
|
||||
<script>
|
||||
var data = {
|
||||
labels: {/literal}{$kws}{literal},
|
||||
datasets: [
|
||||
{
|
||||
label: 'kg ges. / KW.',
|
||||
fill: false,
|
||||
borderColor: "rgba(151,187,205,1)",
|
||||
borderCapStyle: 'butt',
|
||||
pointBorderColor:"rgba(240,6,6,1.00)",
|
||||
pointBackgroundColor: "#fff",
|
||||
data: {/literal}{$data}{literal}
|
||||
}
|
||||
]
|
||||
}
|
||||
var myNewChart = new Chart(ctx1 ,{
|
||||
type: "line",
|
||||
data: data,
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
Loading…
Add table
Add a link
Reference in a new issue