Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Dec 26, 2019
1 parent decc759 commit 6a3fcf8
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions src/widgets/views/matching.php
Expand Up @@ -19,14 +19,28 @@
{
background: silver;
}
.sx-matching-table td, .sx-matching-table th {
padding: .25rem;
font-size: 11px;
white-space: nowrap;
max-width: 200px;
min-width: 50px;
overflow: hidden;
}
.sx-matching-table select {
height: 27px;
padding: 2px;
}
CSS
);
?>
<? if ($widget->model->getCsvColumnsData()) : ?>
<? $all = $widget->model->getCsvColumnsData() ;?>
<? $firstRow = $all[0] ;?>
<?= \yii\helpers\Html::beginTag('div', $widget->options); ?>
<table class="table table-striped table-bordered sx-table" style="background: white;">
<table class="table table-striped table-bordered sx-table sx-matching-table" style="background: white;">
<thead>
<tr>
<th>Соответствие данных</th>
Expand Down Expand Up @@ -74,7 +88,9 @@
<b><?= $key; ?></b>
</td>
<? foreach($row as $value) : ?>
<td>
<td title="<?= \skeeks\cms\helpers\StringHelper::substr(
\Yii::$app->formatter->format($value, 'text'), 0, 150
); ?>">
<?= \skeeks\cms\helpers\StringHelper::substr(
\Yii::$app->formatter->format($value, 'text'), 0, 150
); ?>
Expand All @@ -100,7 +116,9 @@
<b><?= $from; ?></b>
</td>
<? foreach($row as $value) : ?>
<td>
<td title="<?= \skeeks\cms\helpers\StringHelper::substr(
\Yii::$app->formatter->format($value, 'text'), 0, 150
); ?>">
<?= \skeeks\cms\helpers\StringHelper::substr(
\Yii::$app->formatter->format($value, 'text'), 0, 150
); ?>
Expand Down

0 comments on commit 6a3fcf8

Please sign in to comment.