add fingerpint frontend gui
This commit is contained in:
37
frontend/views/fingerprint/index.php
Normal file
37
frontend/views/fingerprint/index.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
use yii\grid\GridView;
|
||||
use yii\helpers\Html;
|
||||
|
||||
?>
|
||||
<h1>Ujjlenyomatok</h1>
|
||||
|
||||
|
||||
<p>
|
||||
<?php
|
||||
echo Html::a("Ujjlenyomat hozzáadása", ['create', 'id_card' => $card->id_card], ['class' => 'btn btn-success']);
|
||||
?>
|
||||
</p>
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
|
||||
echo GridView::widget([
|
||||
'dataProvider' => $dataProvider,
|
||||
'columns' => [
|
||||
[
|
||||
'attribute' => 'fingerprint',
|
||||
'label' => "Ujjlenyomat"
|
||||
],
|
||||
[
|
||||
'attribute' => 'created_at',
|
||||
'label' => "Létrehozva",
|
||||
'format' => 'datetime'
|
||||
],
|
||||
['class' => 'yii\grid\ActionColumn',
|
||||
'template' => '{delete}',
|
||||
]
|
||||
]
|
||||
]);
|
||||
?>
|
||||
Reference in New Issue
Block a user