Initial commit,修正
This commit is contained in:
Executable
+33
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
use yii\helpers\Html;
|
||||
use yii\bootstrap\ActiveForm;
|
||||
use yii\helpers\Url;
|
||||
use yii\widgets\LinkPager;
|
||||
|
||||
$this->title = '系统入口界面';
|
||||
|
||||
?>
|
||||
<div class="wrapper wrapper-content">
|
||||
<div class="row">
|
||||
<?php foreach($navs as $nav){?>
|
||||
<?php $entries = $nav['entries'];?>
|
||||
<div class="col-sm-12">
|
||||
<div class="ibox float-e-margins">
|
||||
<div class="ibox-title">
|
||||
<a href="<?php echo Url::toRoute('index/index');?>" target=""><span class="label label-warning pull-right">主界面</span></a>
|
||||
<h5><?php echo $nav['name'];?></h5>
|
||||
</div>
|
||||
<div class="ibox-content">
|
||||
<?php foreach($entries as $item){?>
|
||||
<a class="btn btn-<?= trim(Html::encode($item['class']))?>" href="<?= trim(Html::encode($item['url']))?>" data-toggle="tooltip" data-placement="top" data-title="<?= trim(Html::encode($item['title']))?>" trigger="hover|focus|click"><i class="<?= trim(Html::encode($item['icon'])) ?>"></i> <?= trim(Html::encode($item['name'])) ?></a>
|
||||
<?php }?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
</div>
|
||||
</div>
|
||||
<?=Html::jsFile('@web/js/welcome.min.js?v=1.0.0')?>
|
||||
Reference in New Issue
Block a user