Changeset de9d697 for Farmatiko/ClientApp
- Timestamp:
- 02/01/21 00:15:12 (4 years ago)
- Branches:
- master
- Children:
- afefe75
- Parents:
- 28d7d35
- Location:
- Farmatiko/ClientApp/src/app
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
Farmatiko/ClientApp/src/app/dialogs/facility-dialog/facility-dialog.component.ts
r28d7d35 rde9d697 41 41 iconUrl: 'assets/hospital-icon.png' 42 42 }) 43 }).bindPopup( "Аптека: "+this.facility?.name);43 }).bindPopup(this.facility?.name); 44 44 this.options.layers.push(layer); 45 45 this.options.center = latLng(obj[0]?.lat, obj[0]?.lon); 46 46 this.options.zoom = 13; 47 47 } 48 }, error => console.error(error)); 49 this.mapShown = false; 50 setTimeout(() => this.mapShown = true, 300); 48 }, error => console.error(error), 49 () => { 50 this.mapShown = false; 51 setTimeout(() => this.mapShown = true, 300); 52 }); 51 53 } 52 53 54 54 55 close() { -
Farmatiko/ClientApp/src/app/dialogs/pharmacy-dialog/pharmacy-dialog.component.ts
r28d7d35 rde9d697 46 46 this.options.zoom = 13; 47 47 } 48 }, error => console.error(error)); 49 this.mapShown = false; 50 setTimeout(() => this.mapShown = true, 300); 48 }, error => console.error(error), 49 () => { 50 this.mapShown = false; 51 setTimeout(() => this.mapShown = true, 200); 52 }); 51 53 } 52 54 -
Farmatiko/ClientApp/src/app/login/login.component.css
r28d7d35 rde9d697 14 14 transform: translate(-50%, -50%); 15 15 } 16 16 17 17 18 :host { -
Farmatiko/ClientApp/src/app/login/login.component.html
r28d7d35 rde9d697 27 27 </mat-card-content> 28 28 </mat-card> 29 </div> 29 <br> 30 <mat-card> 31 <mat-card-header><h2>Регистрација 32 <div class="aligner"> 33 <button mat-icon-button color="accent" (click)="expandRegistration()"> 34 <mat-icon>local_hospital</mat-icon> 35 </button> 36 </div></h2></mat-card-header> 37 <mat-card-content *ngIf="expanded"> 38 <div class="content"> 39 Модераторски профил може да има само еден<br> претставник од компанија што поседува деловен објект <br> - Аптека. За регистрација на профилот, потребно е <br> компанијата да приложи соодветен доказ со испраќање<br> на мејл до нашата е-пошта: <a href="mailto:admin@farmatiko.tk">admin@farmatiko.tk</a> 40 </div> 41 </mat-card-content> 42 </mat-card> 43 </div> -
Farmatiko/ClientApp/src/app/login/login.component.ts
r28d7d35 rde9d697 18 18 password = ''; 19 19 loginError = false; 20 expanded = false; 20 21 private subscription: Subscription; 21 22 … … 67 68 this.loginForm.reset(); 68 69 } 70 71 expandRegistration() { 72 this.expanded = !this.expanded; 73 } 69 74 } -
Farmatiko/ClientApp/src/app/nav-menu/nav-menu.component.html
r28d7d35 rde9d697 24 24 </li> 25 25 <li class="nav-item" [routerLinkActive]="['link-active']"> 26 <a class="nav-link text-dark" [routerLink]="['/koronavirus']"> Коронавирус</a>26 <a class="nav-link text-dark" [routerLink]="['/koronavirus']">Пандемии</a> 27 27 </li> 28 28 <li *ngIf="loggedIn"> -
Farmatiko/ClientApp/src/app/shared/data.service.ts
r28d7d35 rde9d697 178 178 ); 179 179 } 180 //PharmacyHead PUT181 180 updatePharmacyHead(head: IPharmacyHead) : Observable<IPharmacyHead> { 182 return this.http.put<IPharmacyHead>(this.basePharmacyHead + '/update', head) 183 .pipe( 184 map((data) => { 185 return data; 186 }), 187 catchError(this.handleError) 188 ); 189 } 190 //PharmacyHead DELETE 191 deletePharmacyHead(id: string) : Observable<boolean> { 192 return this.http.delete<boolean>(this.basePharmacyHead + '/delete/' + id) 193 .pipe(catchError(this.handleError)); 181 return this.http.post<IPharmacyHead>(this.basePharmacyHead + '/update', head) 182 .pipe( 183 map((data) => { 184 return data; 185 }), 186 catchError(this.handleError) 187 ); 188 } 189 deletePharmacyHead(id: string) : Observable<any> { 190 return this.http.post<any>(this.basePharmacyHead + '/delete/' + id, id) 191 .pipe( 192 map((data) => { 193 return data; 194 }), 195 catchError(this.handleError) 196 ); 194 197 } 195 198 deleteClaimingRequest(id: string) : Observable<boolean> { 196 return this.http.delete<boolean>(this.basePharmacyHead + '/requests/' + id) 197 .pipe(catchError(this.handleError)); 199 return this.http.post<boolean>(this.basePharmacyHead + '/requests/' + id, id) 200 .pipe( 201 map((data) => { 202 return data; 203 }), 204 catchError(this.handleError) 205 ); 198 206 } 199 207
Note:
See TracChangeset
for help on using the changeset viewer.