- Timestamp:
- 07/29/20 19:46:21 (4 years ago)
- Branches:
- master
- Children:
- 4e72684
- Parents:
- e42f61a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Farmatiko/ClientApp/src/app/admin/admin.component.html
re42f61a rde18858 31 31 </thead> 32 32 <tbody> 33 <tr *ngFor=" ">34 <td> data1</td>35 <td> data2</td>36 <td> data3</td>33 <tr *ngFor="let head of heads"> 34 <td>{{head.Name}} | {{head.Email}}</td> 35 <td>{{head.Pharmacy[0].name}}</td> 36 <td><a (click)="Approve()">Approve</a> | <a (click)="Reject()">Reject</a></td> 37 37 </tr> 38 38 </tbody> 39 39 </table> 40 40 </div> 41 </div> 42 </mat-tab> 41 43 <mat-tab label="Manage accounts"> 42 44 <div class="wrapper"> … … 50 52 </thead> 51 53 <tbody> 52 <tr *ngFor=" ">53 <td> data1</td>54 <td> data2</td>54 <tr *ngFor="let head of heads"> 55 <td>{{head.Name}} | {{head.Email}}</td> 56 <td><a (click)="Del(head)">Delete</a> | <a (click)="ChangeDialog(head)">Change</a></td> 55 57 </tr> 56 58 </tbody> 57 59 </table> 60 </div> 58 61 </div> 62 </mat-tab> 59 63 <mat-tab label="Create new account"> 60 64 <div class="createform"> 61 65 <mat-form-field appearance="fill"> 62 66 <mat-label>Name</mat-label> 63 <input matInput >67 <input matInput [(ngModel)]="head.Name"> 64 68 </mat-form-field><br> 65 69 <mat-form-field appearance="fill"> 66 70 <mat-label>Email</mat-label> 67 <input matInput >71 <input matInput [(ngModel)]="head.Email"> 68 72 </mat-form-field><br> 69 73 <mat-form-field appearance="fill"> 70 74 <mat-label>Password</mat-label> 71 <input matInput >75 <input matInput [(ngModel)]="head.Passwd"> 72 76 </mat-form-field><br> 73 <button mat-raised-button color="primary">Create</button>77 <button onclick="createHead()" mat-raised-button color="primary">Create</button> 74 78 </div> 79 </mat-tab> 80 </mat-tab-group> 81 82 <div class="status">{{status}}</div>
Note:
See TracChangeset
for help on using the changeset viewer.