39 lines
1.2 KiB
PHP
39 lines
1.2 KiB
PHP
<?php
|
|
|
|
use yii\helpers\Url;
|
|
|
|
/** @var yii\web\View $this */
|
|
|
|
$this->title = 'banki.shop test';
|
|
?>
|
|
<div class="site-index">
|
|
|
|
<div class="jumbotron text-center bg-transparent mt-5 mb-5">
|
|
<h1 class="display-2">Dashboard</h1>
|
|
|
|
<p><a class="btn btn-lg btn-success w-100" href="https://www.yiiframework.com">Get started with Yii</a></p>
|
|
</div>
|
|
|
|
<div class="d-flex flex-row justify-content-around gap-3">
|
|
<div class="card card-body">
|
|
<h1 class="card-title display-6 mb-4">List parameters</h1>
|
|
<div class="card-text">
|
|
<p>
|
|
This page has most functionality: list, edit, add image, etc..
|
|
</p>
|
|
<a class="btn btn-lg btn-success w-100" href="/list">Go to page</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card card-body">
|
|
<h1 class="card-title display-6 mb-4">List parameters in JSON</h1>
|
|
<div class="card-text">
|
|
<a class="btn btn-lg btn-success w-100 mb-2" href=<?= Url::to([ "api/list" ]) ?>>Go to page</a>
|
|
<a class="btn btn-lg btn-success w-100" href=<?= Url::to([ "open-api/index" ]) ?>>OpenAPI schema</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|