Complete incidents functionality #97
2 changed files with 18 additions and 9 deletions
|
@ -28,7 +28,7 @@
|
||||||
/>
|
/>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="twoRow">
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
<mat-label>Frequency</mat-label
|
<mat-label>Frequency</mat-label
|
||||||
><input
|
><input
|
||||||
|
@ -38,8 +38,6 @@
|
||||||
formControlName="frequency"
|
formControlName="frequency"
|
||||||
/>
|
/>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
<mat-label>Weight</mat-label
|
<mat-label>Weight</mat-label
|
||||||
><input matInput name="weight" type="text" formControlName="weight" />
|
><input matInput name="weight" type="text" formControlName="weight" />
|
||||||
|
@ -95,12 +93,10 @@
|
||||||
</mat-autocomplete>
|
</mat-autocomplete>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="alert">
|
||||||
<mat-label>Alert</mat-label>
|
<mat-checkbox name="alert" formControlName="alert">Alert</mat-checkbox>
|
||||||
<mat-checkbox name="alert" formControlName="alert" />
|
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="alert">
|
||||||
Rules:
|
|
||||||
<alert-rule-builder [rules]="tg.alert_config" />
|
<alert-rule-builder [rules]="tg.alert_config" />
|
||||||
</div>
|
</div>
|
||||||
<button class="sbButton" type="submit">Save</button>
|
<button class="sbButton" type="submit">Save</button>
|
||||||
|
|
|
@ -1,9 +1,22 @@
|
||||||
mat-form-field {
|
form div {
|
||||||
width: 30rem;
|
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 {
|
.tgRecord {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-flow: column;
|
||||||
|
width: 31rem;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue