lp1839341 Port Org Setting Editor UI
[evergreen-equinox.git] / Open-ILS / src / eg2 / src / app / staff / admin / local / org-unit-settings / org-unit-setting-json-dialog.component.html
1 <ng-template #dialogContent>
2   <div class="modal-header bg-info">
3     <h4 class="modal-title" *ngIf="isExport" i18n>Export</h4>
4     <h4 class="modal-title" *ngIf="!isExport" i18n>Import</h4>
5     <button type="button" class="close"
6       i18n-aria-label aria-label="Close" (click)="close()">
7       <span aria-hidden="true">&times;</span>
8     </button>
9   </div>
10   <div class="modal-body">
11     <div class="row">
12       <div class="col-md-12">
13         <span *ngIf="isExport" i18n>
14           Copy this to your clipboard and save it to a file to export the settings.
15         </span>
16         <span *ngIf="!isExport" i18n>
17           Paste in your exported settings.
18         </span>
19       </div>
20     </div>
21     <div class="row mt-3">
22       <div class="col-md-12">
23         <textarea class="form-control" [(ngModel)]="jsonData" rows="4"></textarea>
24       </div>
25     </div>
26     <div class="row mt-3" *ngIf="!isExport">
27       <div class="col-md-3">
28         <button class="btn btn-outline-dark" i18n (click)="update()">Submit</button>
29       </div>
30     </div>
31   </div>
32 </ng-template>