Initial Release for Gitadora Extension

* Converted from Asphyxia-Public-Route
* Enable `resolveJsonModule` in `tsconfig.json`
* WebUI for change name and title.
This commit is contained in:
DitFranXX
2020-12-11 16:48:02 +09:00
parent cd8995d2e6
commit e27221d19d
20 changed files with 1626 additions and 0 deletions
@@ -0,0 +1,36 @@
//DATA//
info: DB.Find(refid, { collection: 'playerinfo' })
-
div
each i in info
.card
.card-header
p.card-header-title
span.icon
i.mdi.mdi-account-edit
| User Detail (#{i.version})
.card-content
form(method="post" action="/emit/updatePlayerInfo")
.field
label.label ID
.control
input.input(type="text" name="refid", value=refid readonly)
.field
label.label Version
.control
input.input(type="text" name="version", value=i.version readonly)
.field
label.label Name
.control
input.input(type="text" name="name", value=i.name)
.field
label.label Title
.control
input.input(type="text" name="title", value=i.title)
.field
button.button.is-primary(type="submit")
span.icon
i.mdi.mdi-check
span Submit