|
1 | 1 | <div class="container"> |
2 | | - <div style="background:rgb(33, 40, 51); border-bottom-left-radius: 2px; border-bottom-right-radius: 2px" |
| 2 | + <div style="background:rgb(33, 40, 51); border-bottom-left-radius: 2px;z-index: 9999 !important; border-bottom-right-radius: 2px" |
3 | 3 | class="row text-center"> |
4 | 4 | <div class="col" align="left"> |
5 | | - <button class="btn btn-link btn-just-icon btn-lg" |
| 5 | + <button [satPopoverAnchor]="menuUsers" (click)="updateUsersList(); menuUsers.toggle()" |
| 6 | + class="btn btn-link btn-just-icon btn-lg" |
6 | 7 | style="color: rgb(132, 142, 156);; margin-right:-2em; font-size: 10px !important" href="/main"> |
7 | 8 | <fa name="users" size="sm"></fa> |
8 | 9 | </button> |
| 10 | + <sat-popover #menuUsers horizontalAlign="center" verticalAlign="center"> |
| 11 | + <div style="z-index: 300" class="menu-wrapper-users" tabIndex="0"> |
| 12 | + <div class="container"> |
| 13 | + <div style="margin-top: 2em; margin-left: 0.2em; margin-right: 1.2em" class="row"> |
| 14 | + <div style="font-weight: bold; color: white; white-space: nowrap; margin-top: 1.2em" |
| 15 | + align="left" |
| 16 | + class="col-8"> |
| 17 | + My Accounts |
| 18 | + </div> |
| 19 | + <div style="margin-top: 0.5em !important" align="right" class="col-4"> |
| 20 | + <button style="margin-left: -10px" class="btn btn-binance-outline btn-sm">Log out |
| 21 | + </button> |
| 22 | + </div> |
| 23 | + </div> |
| 24 | + <hr style="border: 1px solid white"> |
| 25 | + </div> |
| 26 | + <div style="height: 200px !important; position:fixed; |
| 27 | + overflow-y:scroll;" class="container"> |
| 28 | + <div class="row"> |
| 29 | + <div class="col-12"> |
| 30 | + <button *ngFor="let item of usersMenu" |
| 31 | + class="menu-item-users" |
| 32 | + (click)="selectUser(item.val); menuUsers.toggle()"> |
| 33 | + <button class="btn btn-just-icon"> {{item.val.charAt(0).toUpperCase()}}</button> |
| 34 | + {{ item.val }} |
| 35 | + </button> |
| 36 | + </div> |
| 37 | + </div> |
| 38 | + </div> |
| 39 | + <div style="margin-top: 13em" class="container"> |
| 40 | + <div class="row"> |
| 41 | + <div class="col-12"> |
| 42 | + <hr style="border: 1px solid white"> |
| 43 | + <button class="menu-item-users"> |
| 44 | + <fa name="plus" size="sm"></fa> |
| 45 | + Create Account |
| 46 | + </button> |
| 47 | + <button class="menu-item-users"> |
| 48 | + <fa name="arrow-right" size="sm"></fa> |
| 49 | + Import Account |
| 50 | + </button> |
| 51 | + </div> |
| 52 | + </div> |
| 53 | + </div> |
| 54 | + </div> |
| 55 | + </sat-popover> |
9 | 56 | </div> |
10 | 57 | <div class="col"> |
11 | | - <button [satPopoverAnchor]="menu" (click)="menu.toggle()" class="btn btn-link btn-outline btn-sm" |
| 58 | + <button [satPopoverAnchor]="menuNetwork" (click)="menuNetwork.toggle()" |
| 59 | + class="btn btn-link btn-outline btn-sm" |
12 | 60 | style="color: white; width: 155px !important; margin-top: 1.85em; border-radius: 15px; background: linear-gradient(90deg, rgb(239, 184, 11) 0%, rgb(251, 218, 60) 100%) !important; border: 1.47px solid rgb(240, 185, 11); max-width: 155px !important; line-height: 1 !important; font-weight: bold" |
13 | 61 | href="/main"> |
14 | 62 | <strong style="color:rgb(33, 40, 51);">Network:</strong> {{ this.selectedNetwork }} |
15 | | - <fa style="font-weight: 900 !important; " name="caret-down" size="sm"></fa> |
| 63 | + <fa style="font-weight: 900 !important;" name="caret-down" size="sm"></fa> |
16 | 64 | </button> |
17 | | - <sat-popover #menu horizontalAlign="center" verticalAlign="center"> |
| 65 | + <sat-popover #menuNetwork horizontalAlign="center" verticalAlign="center"> |
18 | 66 | <div class="menu-wrapper" tabIndex="0"> |
19 | | - <button *ngFor="let item of menuItems" |
| 67 | + <button *ngFor="let item of networkMenu" |
20 | 68 | class="menu-item" |
21 | | - (click)="select([item.val]); menu.toggle()"> |
| 69 | + (click)="selectNetwork(item.val); menuNetwork.toggle()"> |
22 | 70 | {{ item.val }} |
23 | 71 | </button> |
24 | 72 | </div> |
|
54 | 102 | <div class="arrow"> |
55 | 103 | </div> |
56 | 104 | </sat-popover> |
57 | | - |
58 | 105 | <sat-popover #name hasBackdrop forceAlignment> |
59 | 106 | <app-edit-form (update)="this.accountName = $event"></app-edit-form> |
60 | 107 | </sat-popover> |
61 | | - |
62 | 108 | <hr style="width: 100%; margin-top: -0.65em; border: 1px solid #c5c5c5; border-radius: 15px; margin-right: 2em; margin-left: 2em"> |
63 | 109 | <div class="col-12"> |
64 | 110 | <img style="margin-top: 1.5em; -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none;-o-user-drag: none; user-drag: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -o-user-select: none; user-select: none;" |
|
0 commit comments