<?php
$this->title="Главный блок на главной";
/*
$newsDataProvider = new \yii\data\ActiveDataProvider(
    [
        "query"=>\app\models\base\NewsTopic::find()->where(['active'=>1])->orderBy(["order"=>SORT_ASC]),
        "pagination" => false
    ]
);
*/
?>
<div class="table-responsive-sm custom-range-badge">
<div class="col-md-3">
<div class="card card-primary">
<div class="card-header">
<h3 class="card-title">Loading state</h3>
</div>
<div class="card-body">
The body of the card
</div>
<div class="overlay">
<i class="fas fa-2x fa-sync-alt fa-spin"></i>
</div>
</div>
</div>

</div>
<?php
//print_r($newsDataProvider->getModels());
