]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Стилизация таблицы origin/feature_smirnov_erp-405_stop_list_in_cogorts
authorfomichev <vladimir.fomichev@erp-flowers.ru>
Mon, 5 May 2025 09:06:54 +0000 (12:06 +0300)
committerfomichev <vladimir.fomichev@erp-flowers.ru>
Mon, 5 May 2025 09:06:54 +0000 (12:06 +0300)
erp24/views/users-message-management/index.php

index 8a268eecf8da437338a24277437979ce692302da..9919fff3036f173d7c245ff24c77d85a032e163e 100644 (file)
@@ -348,8 +348,9 @@ $this->registerCss('
                             ['/crud/kogort-stop-list/create'], ['class' => 'btn btn-success', 'target' => '_blank']) ?>
                     </div>
                 </div>
-                <table id="stopListTable">
-                    <thead>
+                <div class="table-responsive">
+                    <table class="table table-striped" id="stopListTable">
+                        <thead>
                         <tr>
                             <th></th>
                             <th>Телефон</th>
@@ -359,9 +360,9 @@ $this->registerCss('
                             <th>Обновлено кем</th>
                             <th>Создано кем</th>
                         </tr>
-                    </thead>
-                    <tbody>
-                        <?php foreach($userStopList as $userStop): ?>
+                        </thead>
+                        <tbody>
+                        <?php foreach ($userStopList as $userStop): ?>
                             <tr>
                                 <td>
                                     <?= Html::a('<svg aria-hidden="true" style="display:inline-block;font-size:inherit;height:1em;overflow:visible;vertical-align:-.125em;width:1.125em" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M573 241C518 136 411 64 288 64S58 136 3 241a32 32 0 000 30c55 105 162 177 285 177s230-72 285-177a32 32 0 000-30zM288 400a144 144 0 11144-144 144 144 0 01-144 144zm0-240a95 95 0 00-25 4 48 48 0 01-67 67 96 96 0 1092-71z"></path></svg>',
@@ -379,8 +380,9 @@ $this->registerCss('
                                 <td><?= $userStop->createdBy->name ?? '-' ?></td>
                             </tr>
                         <?php endforeach; ?>
-                    </tbody>
-                </table>
+                        </tbody>
+                    </table>
+                </div>
             </div>
         </div>
     </div>