mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-14 01:50:45 +01:00
[WEB] Implement birthday setting 🎂
This commit is contained in:
parent
fe691bccbf
commit
ee8de60a0d
1 changed files with 4 additions and 0 deletions
|
@ -41,6 +41,9 @@ mk-settings
|
|||
label
|
||||
p 自己紹介
|
||||
textarea@account-bio { I.bio }
|
||||
label
|
||||
p 誕生日
|
||||
input@account-birthday(type='date', value={ I.birthday })
|
||||
button.style-primary(onclick={ update-account }) 保存
|
||||
|
||||
section.web(show={ page == 'web' })
|
||||
|
@ -236,6 +239,7 @@ script.
|
|||
name: @refs.account-name.value
|
||||
location: @refs.account-location.value
|
||||
bio: @refs.account-bio.value
|
||||
birthday: @refs.account-birthday.value
|
||||
.then (i) ~>
|
||||
@update-i i
|
||||
alert \ok
|
||||
|
|
Loading…
Reference in a new issue