Skip to content
Permalink
Browse files

Small cleanup

  • Loading branch information...
Thoulah committed Jun 12, 2019
1 parent bbbe737 commit 317c376d4d459defb225d0dfd790405c21a451a8
Showing with 92 additions and 30 deletions.
  1. +1 −1 composer.json
  2. +86 −22 composer.lock
  3. +5 −7 mister42/views/site/php.php
@@ -30,7 +30,7 @@
"kop/yii2-scroll-pager": "^2.0",
"mpdf/mpdf": "^8.0",
"mpdf/qrcode": "^1.0",
"thoulah/yii2-fontawesome-inline": "dev-master",
"thoulah/yii2-fontawesome-inline": "1.1.x-dev",
"voku/simple_html_dom": "^4.5",
"zenorocha/clipboardjs": "^2.0"
},

Some generated files are not rendered by default. Learn more.

@@ -24,14 +24,12 @@
foreach ($this->context->module->extensions as $data) :
echo Html::beginTag('div', ['class' => 'row']);
echo Html::tag('div', $data['name'], ['class' => 'col']);
echo Html::beginTag('div', ['class' => 'col-auto text-nowrap']);
foreach ($data['alias'] as $alias => $path) :
echo Html::tag('div',
Html::tag('div', $alias, ['class' => 'col w-50 text-right']).
Html::tag('div', str_replace(realpath(Yii::getAlias('@vendor')).'/', '', $path), ['class' => 'col w-50'])
, ['class' => 'row']);
endforeach;
echo Html::beginTag('div', ['class' => 'col text-left']);
foreach (array_keys($data['alias']) as $alias)
echo Html::tag('div', $alias, ['class' => 'text-nowrap']);
echo Html::endTag('div');
echo Html::tag('div', $data['version'], ['class' => 'col text-right']);
echo Html::endTag('div');
endforeach;

0 comments on commit 317c376

Please sign in to comment.
You can’t perform that action at this time.