Commit 974ecdbc8fd194bac02018bf998ca4fecf3afc88

Authored by Alexey Boroda
1 parent d9e2e7fd

-Am charts ready

Showing 1 changed file with 0 additions and 26 deletions   Show diff stats
backend/views/site/stab.php deleted
1   -<?php
2   - use speixoto\amcharts\AmChartAsset;
3   - use yii\web\View;
4   -
5   - /**
6   - * @var View $this
7   - */
8   -
9   - AmChartAsset::register($this);
10   -
11   - $js = <<<JS
12   - $.ajax({
13   - url: "site/analytics",
14   - type: "GET",
15   - success: function(data) {
16   - console.log(data);
17   - $('#stab').replaceWith(data);
18   - }
19   - });
20   -JS;
21   -
22   - $this->registerJs($js, View::POS_READY);
23   -?>
24   -
25   -<div id="stab"></div>
26   -