Changed ProfilePicture Page to use Board
This commit is contained in:
parent
fb51b4b360
commit
bb7e888ffa
|
@ -13,19 +13,19 @@
|
||||||
|
|
||||||
<PageTitle>@Localizer["Title"]</PageTitle>
|
<PageTitle>@Localizer["Title"]</PageTitle>
|
||||||
|
|
||||||
<section class="max-w-xs" Model="Input" FormName="profile" OnValidSubmit="OnValidSubmitAsync" method="post">
|
<BoardComponent>
|
||||||
<h2 class="text-2xl lg:text-4xl mb-3">@Localizer["Title"]</h2>
|
<BoardCardComponent Heading="@Localizer["Title"]">
|
||||||
|
<div class="w-24 h-24">
|
||||||
<div class="w-24 h-24">
|
<ProfilePictureComponent ProfileId="@User?.Id" />
|
||||||
<ProfilePictureComponent ProfileId="@User?.Id" />
|
|
||||||
</div>
|
|
||||||
<label class="form-control w-full">
|
|
||||||
<div class="label">
|
|
||||||
<span class="label-text">@Localizer["ProfilePicture_Label"]</span>
|
|
||||||
</div>
|
</div>
|
||||||
<FileUploadComponent FileUploadedCallback="ProfilePictureChanged"/>
|
<label class="form-control w-full">
|
||||||
</label>
|
<div class="label">
|
||||||
</section>
|
<span class="label-text">@Localizer["ProfilePicture_Label"]</span>
|
||||||
|
</div>
|
||||||
|
<FileUploadComponent FileUploadedCallback="ProfilePictureChanged"/>
|
||||||
|
</label>
|
||||||
|
</BoardCardComponent>
|
||||||
|
</BoardComponent>
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
private ApplicationUser? User { get; set; }
|
private ApplicationUser? User { get; set; }
|
||||||
|
|
Loading…
Reference in a new issue