nim_style

pull/6/head
nimtaurel 2025-03-26 11:33:45 +05:00
parent f790777bdb
commit 63b17c0c4c
13 changed files with 69 additions and 13 deletions

View File

@ -3,6 +3,7 @@
"name": "pipicar.auto_brands",
"type": "crud",
"title": "Марки Автомобилей",
"withHeader": false,
"data": {
"table": "pipi_auto_brands",
"pk": "id",
@ -21,7 +22,7 @@
"ui": {
"grid": {
"title": "Марки Автомобилей",
"template": "app.base.crud.grid",
"component": "App.components.Grid",
"cols": [
{
"name": "name",
@ -58,6 +59,7 @@
"add": {
"title": "Добавление марки",
"template": "app.base.crud.form",
"component": "App.components.Show",
"form": {
"submits": "struct:crud.form.edit.submits",
"rows": [
@ -78,6 +80,7 @@
"edit": {
"title": "Редактирование марки",
"template": "app.base.crud.form",
"component": "App.components.Show",
"form": {
"rows": [
{

View File

@ -3,6 +3,7 @@
"name": "pipicar.auto_calendar",
"type": "crud",
"title": "Календарь Автомобилей",
"withHeader": false,
"data": {
"table": "pipi_auto_calendar",
"pk": "id",
@ -21,7 +22,7 @@
"ui": {
"grid": {
"title": "Цвета Автомобилей",
"template": "app.base.crud.grid",
"component": "App.components.Grid",
"cols": [
{
"name": "name",
@ -58,6 +59,7 @@
"add": {
"title": "Добавление цвета",
"template": "app.base.crud.form",
"component": "App.components.Show",
"form": {
"submits": "struct:crud.form.edit.submits",
"rows": [
@ -78,6 +80,7 @@
"edit": {
"title": "Редактирование цвета",
"template": "app.base.crud.form",
"component": "App.components.Show",
"form": {
"rows": [
{

View File

@ -3,6 +3,7 @@
"name": "pipicar.auto_classes",
"type": "crud",
"title": "Классы автомобилей",
"withHeader": false,
"data": {
"table": "pipi_auto_classes",
"pk": "id",
@ -21,7 +22,7 @@
"ui": {
"grid": {
"title": "Классы автомобилей",
"template": "app.base.crud.grid",
"component": "App.components.Grid",
"cols": [
{
"name": "name",
@ -58,6 +59,7 @@
"add": {
"title": "Добавление класса",
"template": "app.base.crud.form",
"component": "App.components.Show",
"form": {
"submits": "struct:crud.form.edit.submits",
"rows": [
@ -78,6 +80,7 @@
"edit": {
"title": "Редактирование класса",
"template": "app.base.crud.form",
"component": "App.components.Show",
"form": {
"rows": [
{

View File

@ -3,6 +3,7 @@
"name": "pipicar.auto_colors",
"type": "crud",
"title": "Цвета Автомобилей",
"withHeader": false,
"data": {
"table": "pipi_auto_colors",
"pk": "id",
@ -21,7 +22,7 @@
"ui": {
"grid": {
"title": "Цвета Автомобилей",
"template": "app.base.crud.grid",
"component": "App.components.Grid",
"cols": [
{
"name": "name",
@ -58,6 +59,7 @@
"add": {
"title": "Добавление цвета",
"template": "app.base.crud.form",
"component": "App.components.Show",
"form": {
"submits": "struct:crud.form.edit.submits",
"rows": [
@ -78,6 +80,7 @@
"edit": {
"title": "Редактирование цвета",
"template": "app.base.crud.form",
"component": "App.components.Show",
"form": {
"rows": [
{

View File

@ -3,6 +3,7 @@
"name": "pipicar.auto_equipment",
"type": "crud",
"title": "Комплектация Автомобилей",
"withHeader": false,
"data": {
"table": "pipi_auto_equipment",
"pk": "id",
@ -21,7 +22,7 @@
"ui": {
"grid": {
"title": "Комплектация Автомобилей",
"template": "app.base.crud.grid",
"component": "App.components.Grid",
"cols": [
{
"name": "name",
@ -58,6 +59,7 @@
"add": {
"title": "Добавление комплектации",
"template": "app.base.crud.form",
"component": "App.components.Show",
"form": {
"submits": "struct:crud.form.edit.submits",
"rows": [
@ -78,6 +80,7 @@
"edit": {
"title": "Редактирование комплектации",
"template": "app.base.crud.form",
"component": "App.components.Show",
"form": {
"rows": [
{

View File

@ -3,6 +3,7 @@
"name": "pipicar.auto_colors",
"type": "crud",
"title": "Цвета Автомобилей",
"withHeader": false,
"data": {
"table": "pipi_auto_colors",
"pk": "id",
@ -21,7 +22,7 @@
"ui": {
"grid": {
"title": "Цвета Автомобилей",
"template": "app.base.crud.grid",
"component": "App.components.Grid",
"cols": [
{
"name": "name",
@ -58,6 +59,7 @@
"add": {
"title": "Добавление цвета",
"template": "app.base.crud.form",
"component": "App.components.Show",
"form": {
"submits": "struct:crud.form.edit.submits",
"rows": [
@ -78,6 +80,7 @@
"edit": {
"title": "Редактирование цвета",
"template": "app.base.crud.form",
"component": "App.components.Show",
"form": {
"rows": [
{

View File

@ -3,6 +3,7 @@
"name": "pipicar.auto_types",
"type": "crud",
"title": "Типы Автомобилей",
"withHeader": false,
"data": {
"table": "pipi_auto_types",
"pk": "id",
@ -21,7 +22,7 @@
"ui": {
"grid": {
"title": "Типы Автомобилей",
"template": "app.base.crud.grid",
"component": "App.components.Grid",
"cols": [
{
"name": "name",
@ -58,6 +59,7 @@
"add": {
"title": "Добавление типа",
"template": "app.base.crud.form",
"component": "App.components.Show",
"form": {
"submits": "struct:crud.form.edit.submits",
"rows": [
@ -78,6 +80,7 @@
"edit": {
"title": "Редактирование типа",
"template": "app.base.crud.form",
"component": "App.components.Show",
"form": {
"rows": [
{

View File

@ -3,6 +3,7 @@
"name": "pipicar.brand_models",
"type": "crud",
"title": "Модели автомобилей",
"withHeader": false,
"data": {
"table": "pipi_brand_models",
"pk": "id",
@ -101,6 +102,7 @@
"ui": {
"grid": {
"title": "Тарифы",
"component": "App.components.Grid",
"cols": [
{
"name": "id",
@ -128,6 +130,7 @@
"forms": {
"add": {
"title": "Добавить тариф",
"component": "App.components.Show",
"form": {
"rows": [
{
@ -179,6 +182,7 @@
},
"edit": {
"title": "Редактировать тариф",
"component": "App.components.Show",
"form": {
"rows": [
{
@ -237,7 +241,7 @@
"ui": {
"grid": {
"title": "Модели автомобилей",
"template": "app.base.crud.grid",
"component": "App.components.Grid",
"cols": [
{
"name": "brand_id",
@ -282,6 +286,7 @@
"add": {
"title": "Добавление модели",
"template": "app.base.crud.form",
"component": "App.components.Show",
"form": {
"submits": "struct:crud.form.edit.submits",
"rows": [
@ -378,8 +383,9 @@
}
},
"edit": {
"title": "Редактирование модель",
"title": "Редактирование модели",
"template": "app.base.crud.form",
"component": "App.components.Show",
"form": {
"rows": [
{

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -10,6 +10,7 @@
-moz-box-shadow: 1px -2px 17px -5px rgba(179, 179, 179, 0.76);
box-shadow: 1px -2px 17px -5px rgba(179, 179, 179, 0.76);
border: none;
margin: 10px;
.card-body{
padding: 20px;
}
@ -41,3 +42,13 @@
.bi.bi-caret-left-fill::before {
vertical-align: -0.2em;
}
iframe {
border: none!important;
border-radius: 25px!important;
box-shadow: 1px -2px 17px -5px rgba(179, 179, 179, 0.76);
padding: 10px 30px 30px!important;
}
.table-container.subcrud-table {
box-shadow: none;
}

View File

@ -33,3 +33,21 @@
textarea.form-control, textarea{
height: auto;
}
.form-check-input:checked {
background-color: $primary-color;
border-color: $primary-color;
}
.form-check-input:focus {
border-color: $primary-color;
outline: 0;
box-shadow: 0 0 0 0.25rem rgba(1, 147, 199, 0.3);
}
.form-switch .form-check-input:focus:not(:checked) {
--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgb(1, 147, 199)' fill-opacity='0.5'/%3e%3c/svg%3e");
}
.form-switch .form-check-input:focus:checked {
--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='white'/%3e%3c/svg%3e");
}

View File

@ -9,7 +9,7 @@
z-index: 1002;
background-color: white;
transition: .3s all ease;
box-shadow: $box-shadow;
box-shadow: 1px -2px 17px -5px rgba(179, 179, 179, 0.76);
.nav-container {
display: flex;
flex-wrap: inherit;