Advertisement
DeepCode00

Untitled

Apr 16th, 2017
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.39 KB | None | 0 0
  1. <div class="row">
  2.   <div class="col-md-12 col-lg-12">
  3.     <div class="panel panel-default">
  4.       <div class="panel-body">
  5.           <app-actionbar
  6.            [sourceList]="this.sourceCustomers"
  7.            [fOrder]="this.fOrder"
  8.            [colName]="this.colName"
  9.            [formSearch]="this.formSearch"
  10.            (onFilter)="update($event)"
  11.            (onOrder)="update($event)"
  12.            >
  13.           </app-actionbar>
  14.           <table class="table">
  15.             <th><a (click)="this.sortColumn('id')">Id</a></th>
  16.             <th><a (click)="this.sortColumn('name')">Name</a></th>
  17.             <th><a (click)="this.sortColumn('description')">Description</a></th>
  18.             <th><a (click)="this.sortColumn('email')">Email</a></th>
  19.             <th>Address</th>
  20.             <th>Phone</th>
  21.             <th>vatFiscalCode</th>
  22.             <th>notes</th>
  23.             <tr *ngFor="let item of this.customers; let i = index;" (click)="activate(i,item);" [class.active]="i==this.active">
  24.               <td>{{item?.id}}</td>
  25.               <td>{{item?.name}}</td>
  26.               <td>{{item?.description}}</td>
  27.               <td>{{item?.email}}</td>
  28.               <td>{{item?.address}}</td>
  29.               <td>{{item?.phone}}</td>
  30.               <td>{{item?.vatFiscalCode}}</td>
  31.               <td>{{item?.notes}}</td>
  32.             </tr>
  33.           </table>
  34.       </div>
  35.     </div>
  36.   </div>
  37. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement