19 lines
926 B
HTML
19 lines
926 B
HTML
<app-section-card [title]="'builder.preview' | translate">
|
|
<div class="editor-actions">
|
|
<app-button variant="primary" (click)="preview()">{{ 'builder.livePreview' | translate }}</app-button>
|
|
<app-button variant="secondary" (click)="refreshExport()">{{ 'builder.exportBootstrap' | translate }}</app-button>
|
|
<app-button variant="secondary" (click)="importDraft()">{{ 'builder.importBootstrap' | translate }}</app-button>
|
|
</div>
|
|
@if (importError()) {
|
|
<p class="editor-error">{{ importError()! | translate }}</p>
|
|
}
|
|
<label>
|
|
<span>{{ 'builder.exportedBootstrap' | translate }}</span>
|
|
<textarea rows="10" [ngModel]="exportValue()" (ngModelChange)="exportValue.set($event)"></textarea>
|
|
</label>
|
|
<label>
|
|
<span>{{ 'builder.importSource' | translate }}</span>
|
|
<textarea rows="10" [ngModel]="importValue()" (ngModelChange)="importValue.set($event)"></textarea>
|
|
</label>
|
|
</app-section-card>
|