mirror of https://github.com/Squidex/squidex.git
committed by
GitHub
25 changed files with 218 additions and 37 deletions
@ -1,9 +1,31 @@ |
|||||
<sqx-modal-dialog (close)="emitComplete()" large="true"> |
<form [formGroup]="synchronizeForm.form" (submit)="synchronizeSchema()"> |
||||
<ng-container title> |
<sqx-modal-dialog (close)="emitComplete()" large="true"> |
||||
Export Schema |
<ng-container title> |
||||
</ng-container> |
Export Schema |
||||
|
</ng-container> |
||||
<ng-container content> |
|
||||
<sqx-json-editor disabled [ngModel]="export"></sqx-json-editor> |
<ng-container content> |
||||
</ng-container> |
<sqx-json-editor formControlName="json"></sqx-json-editor> |
||||
</sqx-modal-dialog> |
</ng-container> |
||||
|
|
||||
|
<ng-container footer *ngIf="schema.canSynchronize"> |
||||
|
<div class="float-left 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> |
||||
|
|
||||
|
<button type="submit" class="float-right btn btn-success" [disabled]="synchronizeForm.submitted | async">Synchronize</button> |
||||
|
</ng-container> |
||||
|
</sqx-modal-dialog> |
||||
|
</form> |
||||
@ -1,2 +1,6 @@ |
|||||
@import '_vars'; |
@import '_vars'; |
||||
@import '_mixins'; |
@import '_mixins'; |
||||
|
|
||||
|
.json { |
||||
|
min-height: 500px; |
||||
|
} |
||||
Loading…
Reference in new issue