Skip to content

Commit

Permalink
Minor bugs fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
deadmantfa committed Oct 9, 2021
1 parent 157d3ba commit 57b8165
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions backend/views/layouts/left.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@

<?php
echo Html::a(
Html::img(
Url::to('@web/img/yii3_sign_color.svg'),
[
Html::img(
Url::to('@web/img/yii3_sign_color.svg'),
[
'alt' => 'App',
'class' => 'brand-image img-circle elevation-3 ' . $setting->get('theme|.brand-image', Yii::$app->user->id),
]
) .
) .
Html::tag(
'span',
Yii::$app->name,
Expand All @@ -42,26 +42,26 @@
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
<div class="image">
<?= Html::img(
Yii::$app->user->identity->profile->getAvatarUrl(160),
[
Yii::$app->user->identity->profile->getAvatarUrl(160),
[
'class' => 'img-circle elevation-2',
'alt' => Yii::$app->user->identity->username,
]
) ?>
) ?>
</div>
<div class="info">
<div class="col">
<?= Html::a(
Yii::$app->user->identity->profile->name,
['/user/settings/profile'],
['data-method' => 'post', 'class' => 'd-block']
) ?>
Yii::$app->user->identity->profile->name,
['/user/settings/profile'],
['data-method' => 'post', 'class' => 'd-block']
) ?>
</div>
</div>
</div>
<nav class="mt-2">
<?= dmstr\adminlte\widgets\Menu::widget(
[
[
'options' => [
'class' => 'nav nav-pills nav-sidebar flex-column ' .
$setting->get('theme|.nav-sidebar', Yii::$app->user->id),
Expand Down Expand Up @@ -107,7 +107,7 @@
],
],
]
) ?>
) ?>
</nav>
<div style="position: absolute;bottom: 0;">
<a href="#" class="text-muted">Web Notification</a>
Expand Down

0 comments on commit 57b8165

Please sign in to comment.