feat: add setup/logging page
This commit is contained in:
39
src/pages/setup/logging/logging.component.html
Normal file
39
src/pages/setup/logging/logging.component.html
Normal file
@ -0,0 +1,39 @@
|
||||
<h1>Настройка логирования</h1>
|
||||
<hr/>
|
||||
<p class="mat-body-2 secondary">
|
||||
Настройте систему логирования как будет удобно для отображения.
|
||||
Можно настроить путь к файлу, имена файлов или вовсе отключить логирование в файл.
|
||||
</p>
|
||||
|
||||
<form [formGroup]="loggingSettings">
|
||||
<p>
|
||||
Введите данные для настройки системы логирования:
|
||||
</p>
|
||||
|
||||
<div style="display:flex; flex-direction: column;">
|
||||
<mat-checkbox
|
||||
matTooltip='Использовать ли запись логов системы в файл'
|
||||
formControlName="enabled"
|
||||
(change)="isEnabledLoggingChange($event.checked)">
|
||||
Включить логирование в файл
|
||||
</mat-checkbox>
|
||||
|
||||
<mat-form-field color="accent">
|
||||
<mat-label>Путь к логам</mat-label>
|
||||
<input matInput
|
||||
matTooltip="Укажите путь к директории в зависимости от вашей системы"
|
||||
formControlName="logPath">
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field color="accent">
|
||||
<mat-label>Название файла</mat-label>
|
||||
<input matInput
|
||||
matTooltip="Укажите название файла, в который будут записаны логи"
|
||||
formControlName="logName">
|
||||
</mat-form-field>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div style="display: flex; justify-content: center;">
|
||||
<button mat-flat-button color="accent" (click)="skipButton()">Пропустить</button>
|
||||
</div>
|
Reference in New Issue
Block a user