Compare commits

..

No commits in common. "8b7172f8abf551cdb472b08a42097db952e565da" and "1f39c6f8f9c13c2ca1a43d55312dea3eccff0b13" have entirely different histories.

2 changed files with 45 additions and 86 deletions

View file

@ -17,7 +17,6 @@ var Buffer = require('buffer/').Buffer;
templateUrl: './invoice.component.html', templateUrl: './invoice.component.html',
styleUrls: ['./invoice.component.css'] styleUrls: ['./invoice.component.css']
}) })
export class InvoiceComponent implements OnInit { export class InvoiceComponent implements OnInit {
faCheck = faCheck; faCheck = faCheck;
faHourglass = faHourglass; faHourglass = faHourglass;

View file

@ -170,31 +170,17 @@
</div> </div>
</mat-tab> </mat-tab>
<mat-tab label="WooCommerce"> <mat-tab label="WooCommerce">
<div >
<div *ngIf="wooOwner == ''"> <div *ngIf="wooOwner == ''">
<button mat-raised-button color="primary" (click)="generateWooToken()"> <button mat-raised-button color="primary" (click)="generateWooToken()">
Generate Token Generate Token
</button> </button>
</div> </div>
<table *ngIf="wooOwner != ''"> <table *ngIf="wooOwner != ''">
<tbody>
<tr> <tr>
<td class="heading" style="width: 100%;">Owner:</td> <td class="heading">Owner:</td>
</tr> </tr>
<tr> <tr>
<td> <td class="small">{{wooOwner}}</td>
<div>
<textarea disabled
style="border: none;
outline: none;
min-height: 150px;
width: 94%;"
cdkTextareaAutosize
cdkAutosizeMinRows="1"
cdkAutosizeMaxRows="3">{{wooOwner}}
</textarea>
</div>
</td>
<td class="urlCopyBtn"> <td class="urlCopyBtn">
<a (click)='copyWooOwner()' > <a (click)='copyWooOwner()' >
<fa-icon [icon]="faCopy" <fa-icon [icon]="faCopy"
@ -204,22 +190,10 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="heading" style="width: 60%;">Token:</td> <td class="heading">Token:</td>
</tr> </tr>
<tr> <tr>
<td> <td class="small">{{wooToken}}</td>
<div>
<textarea disabled
style="border: none;
outline: none;
min-height: 150px;
width: 94%;"
cdkTextareaAutosize
cdkAutosizeMinRows="1"
cdkAutosizeMaxRows="3">{{wooToken}}
</textarea>
</div>
</td>
<td class="urlCopyBtn"> <td class="urlCopyBtn">
<a (click)='copyWooToken()' > <a (click)='copyWooToken()' >
<fa-icon [icon]="faCopy" <fa-icon [icon]="faCopy"
@ -229,24 +203,11 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="heading" style="width: 60%;">URL:</td> <td class="heading">URL:</td>
</tr> </tr>
<tr> <tr>
<td> <td class="small">{{wooUrl}}</td>
<div>
<textarea disabled
style="border: none;
outline: none;
min-height: 150px;
width: 94%;"
cdkTextareaAutosize
cdkAutosizeMinRows="1"
cdkAutosizeMaxRows="3">{{wooUrl}}
</textarea>
</div>
</td>
</tr> </tr>
</tbody>
</table> </table>
<div class="toolbar" align="center"> <div class="toolbar" align="center">
<button mat-raised-button <button mat-raised-button
@ -255,7 +216,6 @@
</button> </button>
</div> </div>
</div>
</mat-tab> </mat-tab>
</mat-tab-group> </mat-tab-group>
</mat-tab> </mat-tab>