@@ -16,52 +16,50 @@ <h1>Submit Transaction</h1>
1616 < div ngbDropdown class ="d-inline-block ">
1717 < button type ="button " class ="action " id ="dropdownMenu1 " ngbDropdownToggle > {{selectedTransactionName}}</ button >
1818 < div class ="dropdown-menu " aria-labelledby ="dropdownMenu1 ">
19- < button class ="dropdown-item action " *ngFor ="let transaction of transactionTypes " (click) ="onTransactionSelect(transaction) "> {{transaction.getName()}}</ button >
19+ < button class ="dropdown-item action " *ngFor ="let transaction of transactionTypes "
20+ (click) ="onTransactionSelect(transaction) "> {{transaction.getName()}}
21+ </ button >
2022 </ div >
2123 </ div >
2224 </ div >
2325 </ div >
2426 < section class ="resource-container ">
2527 < section class ="resource-component ">
26- < div >
27- < p class ="resource-preview-text "> JSON Data Preview</ p >
28- </ div >
29- < div class ="resource-bound ">
30- < codemirror [(ngModel)] ="resourceDefinition " [config] ="codeConfig " (ngModelChange) ="onDefinitionChanged() " width ="100% " height ="100% ">
31- </ codemirror >
32- < div class ="resource-error-text " ng-if ="defitionError!=null ">
33- < p > {{defitionError}}</ p >
28+ < div >
29+ < p class ="resource-preview-text "> JSON Data Preview</ p >
30+ </ div >
31+ < div class ="resource-bound ">
32+ < codemirror [(ngModel)] ="resourceDefinition " [config] ="codeConfig " (ngModelChange) ="onDefinitionChanged() "
33+ width ="100% " height ="100% ">
34+ </ codemirror >
35+ < div class ="resource-error-text " ng-if ="defitionError!=null ">
36+ < p > {{defitionError}}</ p >
37+ </ div >
3438 </ div >
35- </ div >
3639 </ section >
3740 </ section >
3841 </ section >
3942 < footer >
40- < p class ="footer-text "> Just need quick test data? < button type ="button " class ="icon " (click) ="generateTransactionDeclaration() "> < u > Generate Random Data</ u > </ button > </ p >
41- < button type ="button " class ="secondary " (click) ="activeModal.close(); ">
42- < span > Cancel</ span >
43- </ button >
44- < button type ="button " class ="primary " (click) ="submitTransaction() " [disabled] ="defitionError!=null || submitInProgress ">
45- < div *ngIf ="!submitInProgress ">
46- < span > Submit</ span >
47- </ div >
48- < div class ="transaction-footer-cta ">
49- < button type ="button " class ="secondary " (click) ="activeModal.dismiss(); ">
50- < span > Cancel</ span >
51- </ button >
52- < button type ="button " class ="primary " (click) ="submitTransaction() " [disabled] ="defitionError!=null || submitInProgress ">
53- < div *ngIf ="!submitInProgress ">
54- < span > Submit</ span >
55- </ div >
56- < div *ngIf ="submitInProgress " class ="ibm-spinner-indeterminate small loop ">
57- < div class ="loader ">
58- < svg class ="circular " viewBox ="25 25 50 50 ">
59- < circle class ="circle-path " cx ="50 " cy ="50 " r ="20 "/>
60- </ svg >
61- </ div >
62- </ div >
63- </ button >
64- </ div >
65- </ div >
43+ < p class ="footer-text "> Just need quick test data?
44+ < button type ="button " class ="icon " (click) ="generateTransactionDeclaration() "> < u > Generate Random Data</ u > </ button >
45+ </ p >
46+ < div class ="transaction-footer-cta ">
47+ < button type ="button " class ="secondary " (click) ="activeModal.dismiss(); ">
48+ < span > Cancel</ span >
49+ </ button >
50+ < button type ="button " class ="primary " (click) ="submitTransaction() "
51+ [disabled] ="defitionError!=null || submitInProgress ">
52+ < div *ngIf ="!submitInProgress ">
53+ < span > Submit</ span >
54+ </ div >
55+ < div *ngIf ="submitInProgress " class ="ibm-spinner-indeterminate small loop ">
56+ < div class ="loader ">
57+ < svg class ="circular " viewBox ="25 25 50 50 ">
58+ < circle class ="circle-path " cx ="50 " cy ="50 " r ="20 "/>
59+ </ svg >
60+ </ div >
61+ </ div >
62+ </ button >
63+ </ div >
6664 </ footer >
6765</ div >
0 commit comments