section-review-trainee-list.component.html 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <div class="container">
  2. <div class="row">
  3. <div class="col-12">
  4. <ul class="list-unstyled titileLi-w">
  5. <li class="headingText-w">خدمه التدريب</li>
  6. <li class="headingText-w activeLi-w" style="margin-right:5px">إستعراض بيانات المتدربين</li>
  7. </ul>
  8. </div>
  9. </div>
  10. <div class="containerContent-w">
  11. <div class="row">
  12. <div class="col-12 col-sm-12 col-md-6 col-lg-6">
  13. <!-- <button type="button" class="btn btn-outline-success butttonCreate dashButton-w" (click)="onAdd()" *ngIf="authSer.showAddBtn"><i class="fas fa-plus marginFontAowsome-w"></i>إنشاء جديد</button> -->
  14. <!-- <button type="button" class="btn btn-outline-danger butttonDelete dashButton-w" (click)="onDelete()" *ngIf="authSer.showDeleteBtn"><i class="fas fa-times marginFontAowsome-w"></i>حذف</button> -->
  15. </div>
  16. <div class="col-12 col-sm-12 col-md-6 col-lg-6">
  17. <div class="form-group">
  18. <input type="text" placeholder="البحث" class="form-control inputSearchTable-w" style="margin-top:13px;" (input)="filtterFunc($event)"/>
  19. <hr>
  20. </div>
  21. </div>
  22. </div>
  23. <div class="row">
  24. <div class="col-12 col-sm-12 col-md-12 col-lg-12">
  25. <div class="form-group" style="float:right;">
  26. <span class="spanSelect-w">
  27. <select [ngModel]="dataTableNumber" class="form-control selectButton-w" (input)="onGetValue($event)">
  28. <option value="5">5</option>
  29. <option value="10">10</option>
  30. <option value="15">15</option>
  31. <option value="20">20</option>
  32. </select>
  33. من العناصر يتم عرضها
  34. </span>
  35. </div>
  36. <div class="form-group" style="float:right; margin:0 10px;">
  37. <span class="spanSelect-w">
  38. <select [ngModel]="dataTableNumber" class="form-control selectButton-w" (input)="onFiltterChosen($event)" style="width:200px;">
  39. <option value="all">الكل</option>
  40. <option value="asked_for_opinion">طلب رأي</option>
  41. <option value="is_confirmed">الطلبات المقبوله</option>
  42. </select>
  43. حاله الطلب
  44. </span>
  45. </div>
  46. </div>
  47. </div>
  48. <table class="table table-bordered">
  49. <thead class="headBackground-w">
  50. <tr>
  51. <th> إسم المتدرب</th>
  52. <th>إسم التخصص</th>
  53. <th>إسم التخصص الدقيق</th>
  54. <th> الجامعه</th>
  55. <th *ngIf="authSer.showEditBtn">تفاصيل المتدرب</th>
  56. </tr>
  57. </thead>
  58. <tbody>
  59. <tr *ngFor="let data of dataList | paginate: { itemsPerPage: perPagePagenation, currentPage: currentPage, totalItems: count }; let i = index ">
  60. <td>{{data.trainee_name}}</td>
  61. <td> {{data.specialization_name}}</td>
  62. <td>{{data.specific_specialization}}</td>
  63. <td>{{data.university}}</td>
  64. <td *ngIf="authSer.showEditBtn"><button type="button" class="btn btn-outline-secondary" (click)="onEdit(data.id)"><i class="fas fa-edit"></i></button></td>
  65. </tr>
  66. </tbody>
  67. </table>
  68. <pagination-controls nextLabel="التالي" previousLabel="السابق" (pageChange)="onPageChange($event)"></pagination-controls>
  69. </div>
  70. </div>