admin theme to ms

This commit is contained in:
2024-12-23 14:16:00 +03:00
parent 483fe35561
commit 219ca30608
11 changed files with 206 additions and 37 deletions

View File

@@ -24,8 +24,9 @@ $table->columns([
}
]);
$table->beforePrint(function () {
$btn = PrimaryBtn::create("Добавить модуль", "/admin/module_shop/module/create", width: '200px')->fetch();
$btn .= PrimaryBtn::create("Добавить ядро", "/admin/module_shop/kernel/create", '200px')->fetch();
$btn = PrimaryBtn::create("Добавить модуль", "/admin/module_shop/module/create", width: '250px')->fetch();
$btn .= PrimaryBtn::create("Добавить ядро", "/admin/module_shop/kernel/create", '250px')->fetch();
$btn .= PrimaryBtn::create("Добавить тему админ-панели", "/admin/module_shop/admin_theme/create", '250px')->fetch();
return $btn;
});
$table->addAction(ViewActionColumn::class);