Complete incidents functionality #97

Merged
amigan merged 27 commits from incidentsEditRecord into trunk 2025-01-05 22:11:47 -05:00
2 changed files with 18 additions and 9 deletions
Showing only changes of commit 9d3c285947 - Show all commits

View file

@ -28,7 +28,7 @@
/>
</mat-form-field>
</div>
<div>
<div class="twoRow">
<mat-form-field>
<mat-label>Frequency</mat-label
><input
@ -38,8 +38,6 @@
formControlName="frequency"
/>
</mat-form-field>
</div>
<div>
<mat-form-field>
<mat-label>Weight</mat-label
><input matInput name="weight" type="text" formControlName="weight" />
@ -95,12 +93,10 @@
</mat-autocomplete>
</mat-form-field>
</div>
<div>
<mat-label>Alert</mat-label>
<mat-checkbox name="alert" formControlName="alert" />
<div class="alert">
<mat-checkbox name="alert" formControlName="alert">Alert</mat-checkbox>
</div>
<div>
Rules:
<div class="alert">
<alert-rule-builder [rules]="tg.alert_config" />
</div>
<button class="sbButton" type="submit">Save</button>

View file

@ -1,9 +1,22 @@
mat-form-field {
form div {
width: 30rem;
flex: 0 0 30rem;
display: flex;
flex-flow: row nowrap;
}
mat-form-field, .alert {
width: 30rem;
margin-right: 5px;
margin-left: 5px;
}
.tgRecord {
display: flex;
flex-flow: column;
width: 31rem;
justify-content: center;
margin-top: 20px;
margin-left: auto;
margin-right: auto;
}