chore: reorder components in email provider forms
This commit is contained in:
committed by
Aditya Chandel
parent
4fdd612dc3
commit
2cf1042b6b
@@ -12,17 +12,17 @@
|
||||
<p-table [value]="emailProviders">
|
||||
<ng-template pTemplate="header">
|
||||
<tr>
|
||||
<th style="width: 5%;">Default</th>
|
||||
<th style="width: 6%;">Default</th>
|
||||
<th style="width: 10%;">Name</th>
|
||||
<th style="width: 15%;">Host</th>
|
||||
<th style="width: 6%;">Port</th>
|
||||
<th style="width: 15%;">Username</th>
|
||||
<th style="width: 15%;">Password</th>
|
||||
<th style="width: 4%;">Auth</th>
|
||||
<th style="width: 5%;">StartTLS</th>
|
||||
<th style="width: 14%;">Username</th>
|
||||
<th style="width: 12%;">Password</th>
|
||||
<th style="width: 12%;">From Address</th>
|
||||
<th style="width: 8%;">Edit</th>
|
||||
<th style="width: 10%;">Delete</th>
|
||||
<th style="width: 5%;">Auth</th>
|
||||
<th style="width: 5%;">StartTLS</th>
|
||||
<th style="width: 7%;">Edit</th>
|
||||
<th style="width: 8%;">Delete</th>
|
||||
</tr>
|
||||
</ng-template>
|
||||
|
||||
@@ -62,6 +62,11 @@
|
||||
<span *ngIf="!provider.isEditing" class="text-gray-400 italic">Hidden</span>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<input *ngIf="provider.isEditing" type="text" [(ngModel)]="provider.fromAddress" class="p-inputtext w-full"/>
|
||||
<span *ngIf="!provider.isEditing">{{ provider.fromAddress }}</span>
|
||||
</td>
|
||||
|
||||
<td class="text-center">
|
||||
<p-checkbox
|
||||
[(ngModel)]="provider.auth"
|
||||
@@ -78,11 +83,6 @@
|
||||
</p-checkbox>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<input *ngIf="provider.isEditing" type="text" [(ngModel)]="provider.fromAddress" class="p-inputtext w-full"/>
|
||||
<span *ngIf="!provider.isEditing">{{ provider.fromAddress }}</span>
|
||||
</td>
|
||||
|
||||
<td class="text-center">
|
||||
<p-button *ngIf="!provider.isEditing" icon="pi pi-pencil" outlined="true" severity="info" (onClick)="toggleEdit(provider)"></p-button>
|
||||
<p-button *ngIf="provider.isEditing" icon="pi pi-check" outlined="true" severity="success" (onClick)="saveProvider(provider)"></p-button>
|
||||
|
||||
Reference in New Issue
Block a user