mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-28 23:08:12 +09:00
[WEB] Implement birthday setting 🎂
This commit is contained in:
parent
1f440ff4bb
commit
bd70a8039c
@ -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 New Issue
Block a user