User Register UI
This commit is contained in:
parent
db1ff3b21b
commit
dfe8d471a6
@ -15,17 +15,15 @@
|
||||
<mat-card-title>Personal</mat-card-title><hr/>
|
||||
<mat-card-content>
|
||||
<div fxLayout="row" fxLayoutAlign="start center" class="mb-2">
|
||||
|
||||
|
||||
<label class="hoverdp" for="fileUpload" >
|
||||
<span dividerColor="primary" class="ml-xs mr-xs" *ngIf="!imageaccess">
|
||||
<img [src]="profileurl || 'https://image.ibb.co/mGjZB9/usernew.png'" style="width: 10%;border-radius: 50%;border:2px solid red">
|
||||
|
||||
</span>
|
||||
<img [src]="profileurl || 'https://image.ibb.co/mGjZB9/usernew.png'" style="width: 10%;border-radius: 50%;border:2px solid red">
|
||||
</span>
|
||||
<span dividerColor="primary" *ngIf="imageaccess">
|
||||
<img [src]="filename" style="width: 10%; border-radius: 50%;border:2px solid #e00201">
|
||||
<img [src]="filename" style="width: 10%; border-radius: 50%;border:2px solid #e00201">
|
||||
</span>
|
||||
|
||||
<label for="fileUpload" ><mat-icon style="color:#e00201">camera_alt</mat-icon></label>
|
||||
<mat-icon style="color:#716462;position: absolute; top: 39%;left: 6%;">camera_alt</mat-icon>
|
||||
</label>
|
||||
|
||||
|
||||
<input type="file" id="fileUpload" (change)="onFileChange($event)" [formControl]="regForm.controls['userpic']" accept="image/*" style="display:none"/>
|
||||
|
||||
@ -0,0 +1,11 @@
|
||||
.hoverdp:hover img {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.hoverdp mat-icon{
|
||||
display:none;
|
||||
}
|
||||
.hoverdp:hover mat-icon{
|
||||
display:block;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user