themes add and some fix

This commit is contained in:
2025-01-19 20:50:25 +03:00
parent 219ca30608
commit a943b960ad
200 changed files with 796 additions and 106 deletions

0
kernel/templates/controllers/app_controller_template Normal file → Executable file
View File

View File

0
kernel/templates/manifests/manifest_template Normal file → Executable file
View File

0
kernel/templates/models/forms/create_form_template Normal file → Executable file
View File

0
kernel/templates/models/model_template Normal file → Executable file
View File

0
kernel/templates/module_files/app_module_file_template Normal file → Executable file
View File

View File

0
kernel/templates/routs/app_routs_template Normal file → Executable file
View File

0
kernel/templates/routs/kernel_routs_template Normal file → Executable file
View File

0
kernel/templates/services/service_template Normal file → Executable file
View File

0
kernel/templates/views/form_template Normal file → Executable file
View File

10
kernel/templates/views/index_template Normal file → Executable file
View File

@ -51,6 +51,16 @@ $table = new \Itguild\Tables\ListJsonTable(json_encode(
]
));
// Пример фильтра
$table->columns([
'title' => [
'filter' => [
'class' => \Itguild\Tables\Filter\InputTextFilter::class,
'value' => $get['title'] ?? ''
]
],
]
$table->beforePrint(function () {
return IconBtnCreateWidget::create(['url' => '/admin/{slug}/create'])->run();
});

0
kernel/templates/views/view_template Normal file → Executable file
View File