Bổ sung các tính năng điều khiển engine

This commit is contained in:
2023-09-21 14:46:52 +07:00
parent d8fe80034e
commit 6ae14302fd
18 changed files with 570 additions and 44 deletions

View File

@@ -42,11 +42,13 @@ use yii\widgets\ActiveForm;
</a>
</li>
<?php if (Yii::$app->params['type'] === "BiFace") { ?>
<li>
<a href="<?php echo yii\helpers\Url::to(['/config/reset']); ?>" onclick="common.resetForm(this);return false;">
<i class="fa fa-refresh"></i> <?php echo Yii::t("app", "RESET_THIET_BI"); ?>
</a>
</li>
<?php if (Yii::$app->user->identity->username == "admin") { ?>
<li>
<a href="<?php echo yii\helpers\Url::to(['/config/reset']); ?>" onclick="common.resetForm(this);return false;">
<i class="fa fa-refresh"></i> <?php echo Yii::t("app", "RESET_THIET_BI"); ?>
</a>
</li>
<?php } ?>
<li class="<?php if (Yii::$app->controller->id == "list-management") echo "active"; ?>">
<a href="<?php echo yii\helpers\Url::to(['/list-management']); ?>">
<i class="fa fa-list"></i> <?php echo Yii::t("app", "QUAN_LY_MAU"); ?>