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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -3,6 +3,7 @@
"name": "pipicar.brand_models", "name": "pipicar.brand_models",
"type": "crud", "type": "crud",
"title": "Модели автомобилей", "title": "Модели автомобилей",
"withHeader": false,
"data": { "data": {
"table": "pipi_brand_models", "table": "pipi_brand_models",
"pk": "id", "pk": "id",
@ -101,6 +102,7 @@
"ui": { "ui": {
"grid": { "grid": {
"title": "Тарифы", "title": "Тарифы",
"component": "App.components.Grid",
"cols": [ "cols": [
{ {
"name": "id", "name": "id",
@ -128,6 +130,7 @@
"forms": { "forms": {
"add": { "add": {
"title": "Добавить тариф", "title": "Добавить тариф",
"component": "App.components.Show",
"form": { "form": {
"rows": [ "rows": [
{ {
@ -179,6 +182,7 @@
}, },
"edit": { "edit": {
"title": "Редактировать тариф", "title": "Редактировать тариф",
"component": "App.components.Show",
"form": { "form": {
"rows": [ "rows": [
{ {
@ -237,7 +241,7 @@
"ui": { "ui": {
"grid": { "grid": {
"title": "Модели автомобилей", "title": "Модели автомобилей",
"template": "app.base.crud.grid", "component": "App.components.Grid",
"cols": [ "cols": [
{ {
"name": "brand_id", "name": "brand_id",
@ -282,6 +286,7 @@
"add": { "add": {
"title": "Добавление модели", "title": "Добавление модели",
"template": "app.base.crud.form", "template": "app.base.crud.form",
"component": "App.components.Show",
"form": { "form": {
"submits": "struct:crud.form.edit.submits", "submits": "struct:crud.form.edit.submits",
"rows": [ "rows": [
@ -378,8 +383,9 @@
} }
}, },
"edit": { "edit": {
"title": "Редактирование модель", "title": "Редактирование модели",
"template": "app.base.crud.form", "template": "app.base.crud.form",
"component": "App.components.Show",
"form": { "form": {
"rows": [ "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); -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); box-shadow: 1px -2px 17px -5px rgba(179, 179, 179, 0.76);
border: none; border: none;
margin: 10px;
.card-body{ .card-body{
padding: 20px; padding: 20px;
} }
@ -41,3 +42,13 @@
.bi.bi-caret-left-fill::before { .bi.bi-caret-left-fill::before {
vertical-align: -0.2em; 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{ textarea.form-control, textarea{
height: auto; 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; z-index: 1002;
background-color: white; background-color: white;
transition: .3s all ease; transition: .3s all ease;
box-shadow: $box-shadow; box-shadow: 1px -2px 17px -5px rgba(179, 179, 179, 0.76);
.nav-container { .nav-container {
display: flex; display: flex;
flex-wrap: inherit; flex-wrap: inherit;