feat: add schedule configuration
This commit is contained in:
		| @@ -0,0 +1,22 @@ | |||||||
|  | /* Основной контейнер */ | ||||||
|  | .container { | ||||||
|  |   display: flex; | ||||||
|  |   flex-wrap: wrap; | ||||||
|  |   gap: 16px; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .container > * { | ||||||
|  |   flex: 1 1 calc(50% - 16px); | ||||||
|  |   min-width: 0; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .container > :first-child:nth-last-child(1), | ||||||
|  | .container > :first-child:nth-last-child(1) ~ * { | ||||||
|  |   flex: 1 1 100%; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | @media (max-width: 1500px) { | ||||||
|  |   .container > * { | ||||||
|  |     flex: 1 1 100%; | ||||||
|  |   } | ||||||
|  | } | ||||||
| @@ -0,0 +1,8 @@ | |||||||
|  | <div> | ||||||
|  |   <h2 style="margin: 15px;">Конфигурация расписания</h2> | ||||||
|  |  | ||||||
|  |   <div class="container"> | ||||||
|  |       <app-cron-update-schedule></app-cron-update-schedule> | ||||||
|  |       <app-skip-update-schedule></app-skip-update-schedule> | ||||||
|  |   </div> | ||||||
|  | </div> | ||||||
| @@ -0,0 +1,16 @@ | |||||||
|  | import { Component } from '@angular/core'; | ||||||
|  | import {CronUpdateScheduleComponent} from "@component/admin/cron-update-schedule/cron-update-schedule.component"; | ||||||
|  | import {SkipUpdateScheduleComponent} from "@component/admin/skip-update-schedule/skip-update-schedule.component"; | ||||||
|  |  | ||||||
|  | @Component({ | ||||||
|  |   selector: 'app-schedule-configuration', | ||||||
|  |   imports: [ | ||||||
|  |     CronUpdateScheduleComponent, | ||||||
|  |     SkipUpdateScheduleComponent | ||||||
|  |   ], | ||||||
|  |   templateUrl: './schedule-configuration.component.html', | ||||||
|  |   styleUrl: './schedule-configuration.component.css' | ||||||
|  | }) | ||||||
|  | export class ScheduleConfigurationComponent { | ||||||
|  |  | ||||||
|  | } | ||||||
		Reference in New Issue
	
	Block a user