header.component.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <header fxLayout="row wrap" fxLayoutAlign="space-between center">
  2. <h1 fxFlex.lt-md="100" fxFlex.gt-sm="20">
  3. Good morning, {{ user && user.userName }}!
  4. </h1>
  5. <!-- <div
  6. fxFlex.lt-md="100"
  7. fxFlex.gt-sm="30"
  8. fxLayout="row"
  9. fxLayoutAlign="center center"
  10. class="gap-20 white"
  11. >
  12. <mat-slide-toggle> <span class="white"> Check In</span></mat-slide-toggle>
  13. <mat-slide-toggle><span class="white"> Check Out</span></mat-slide-toggle>
  14. </div> -->
  15. <div
  16. class="gap-20"
  17. fxLayout="row wrap"
  18. fxLayoutAlign="end center"
  19. fxFlex.lt-md="100"
  20. fxFlex.gt-sm="50"
  21. >
  22. <div class="search" fxHide.lt-sm>
  23. <input type="search" matInput placeholder="Search..." />
  24. </div>
  25. <div
  26. fxLayout="row"
  27. fxLayoutAlign="start center"
  28. class="gap-10"
  29. fxHide.lt-sm
  30. >
  31. <img class="ptr" src="/assets/images/calendar-days.svg" alt="" title="" />
  32. <img class="ptr" src="/assets/images/notification.svg" alt="" title="" />
  33. <img
  34. class="ptr"
  35. src="/assets/images/chat.svg"
  36. alt=""
  37. title=""
  38. (click)="onOpenChat()"
  39. />
  40. </div>
  41. <img
  42. class="profile"
  43. src="../../../../assets/images/fox-hub-2.jpg"
  44. alt=""
  45. title=""
  46. [matMenuTriggerFor]="menu"
  47. aria-label="Example icon-button with a menu"
  48. />
  49. <mat-menu #menu="matMenu">
  50. <button mat-menu-item>
  51. <mat-icon>dialpad</mat-icon>
  52. <span [routerLink]="['./profile']">Profile</span>
  53. </button>
  54. <button mat-menu-item>
  55. <mat-icon>notifications_off</mat-icon>
  56. <span>Disable alerts</span>
  57. </button>
  58. </mat-menu>
  59. </div>
  60. </header>