mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.6 KiB
36 lines
1.6 KiB
<form [formGroup]="synchronizeForm.form" (submit)="synchronizeSchema()">
|
|
<sqx-modal-dialog (close)="emitComplete()" large="true">
|
|
<ng-container title>
|
|
Export Schema
|
|
</ng-container>
|
|
|
|
<ng-container content>
|
|
<sqx-json-editor [noBorder]="true" formControlName="json"></sqx-json-editor>
|
|
</ng-container>
|
|
|
|
<ng-container footer *ngIf="schema.canSynchronize">
|
|
<div class="row align-items-center">
|
|
<div class="col">
|
|
<div class="form-inline">
|
|
<div class="form-check pr-4">
|
|
<input class="form-check-input" type="checkbox" id="fieldsDelete" formControlName="fieldsDelete" />
|
|
<label class="form-check-label" for="fieldsDelete">
|
|
Delete fields
|
|
</label>
|
|
</div>
|
|
|
|
<div class="form-check">
|
|
<input class="form-check-input" type="checkbox" id="fieldsRecreate" formControlName="fieldsRecreate" />
|
|
<label class="form-check-label" for="fieldsRecreate">
|
|
Recreate fields
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-auto">
|
|
<button type="submit" class="btn btn-success" [disabled]="synchronizeForm.submitted | async">Synchronize</button>
|
|
</div>
|
|
</div>
|
|
</ng-container>
|
|
</sqx-modal-dialog>
|
|
</form>
|