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"> |
|||
<ng-container title> |
|||
Export Schema |
|||
</ng-container> |
|||
|
|||
<ng-container content> |
|||
<sqx-json-editor disabled [ngModel]="export"></sqx-json-editor> |
|||
</ng-container> |
|||
</sqx-modal-dialog> |
|||
<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 formControlName="json"></sqx-json-editor> |
|||
</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 '_mixins'; |
|||
@import '_mixins'; |
|||
|
|||
.json { |
|||
min-height: 500px; |
|||
} |
|||
Loading…
Reference in new issue