clean up tgrec
This commit is contained in:
parent
b16b3810cc
commit
9d3c285947
2 changed files with 18 additions and 9 deletions
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue