Files
asphyxia_plugins/webui/profile_-------customization.pug
T
2024-07-05 14:26:10 +08:00

277 lines
14 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//DATA//
profile: DB.FindOne(refid, { collection: 'profile' })
items_crew: DB.Find(refid, {$or:[{collection:"item",type:11,id:117}, {collection:"item",type:11,id:119}, {collection:"item",type:11,id:120}, {collection:"item",type:11,id:121}, {collection:"item",type:11,id:124}, {collection:"item",type:11,id:129}]})
items_stamp: DB.Find(refid, { collection:"item", type:17 })
items_subbg: DB.Find(refid, { collection:"item", type:18 })
items_bgm: DB.Find(refid, { collection:"item", type:19 })
items_nemsys: DB.Find(refid, { collection:"item", type:20 })
items_sysbg: DB.Find(refid, { collection: "item", type:21 })
valgene_tickets: DB.FindOne(refid, { collection: "valgene_ticket" })
courses: DB.Find(refid, {collection: "course"})
skill: DB.Find(refid, {collection: "skill"})
unlock_all: U.GetConfig('unlock_all_valk_items')
-
const padded = _.padStart(profile.id.toString(), 8);
const sdvxid = `${padded.slice(0, 4)}-${padded.slice(4)}`;
link(rel="stylesheet" href="static/asset/css/profile.css")
div
.card
.card-header
p.card-header-title
span.icon
i.mdi.mdi-account-edit
| Settings
.card-content
form(method="post" action="/emit/updateProfile")
.field
label.label ID
.control
input.input(type="text" name="refid", value=refid readonly)
.field
label.label SDVX ID
.control
input.input(type="text" name="sdvxid", value=sdvxid readonly)
.field
label.label Name
.control
input.input(type="text" name="name", placeholder=profile.name)
.field
label.label Appeal Card ID
span.icon.has-tooltip-right(data-tooltip="Check \"data/others/appeal_card.xml\"")
i.mdi.mdi-help-circle
//.control.is-expanded
.select.is-fullwidth
select(name="appeal" id="appeal_select")//
.control
input.input(type="number" step=1 name="appeal", placeholder=profile.appeal)
.field
label.label Appeal Card Frame
span.icon.has-tooltip-right(data-tooltip="Adds a frame on top of your appeal card display.")
i.mdi.mdi-help-circle
.control.is-expanded
.select.is-fullwidth
select(name="creatorItem" id="creatoritem_select")
.field
label.label Skill Title
span.icon.has-tooltip-right(data-tooltip="Changes the title displayed on your skill plate.")
i.mdi.mdi-help-circle
.control.is-expanded
.select.is-fullwidth
select(name="skilltitle" id="skilltitle_select")
.field
label.label Appeal Title
span.icon.has-tooltip-right(data-tooltip="Custom is set as ID 50000, if you want to use custom, please make sure you add the entry to the xml file.")
i.mdi.mdi-help-circle
.control.is-expanded
.select.is-fullwidth
select(name="akaname" id="akaname_select")
//.control
input.input(type="number" step=1 name="akaname", placeholder=profile.akaname)//
.field
label.label BPL Team Supporter
.control.is-expanded
.select.is-fullwidth
select(name="bplSupport" id="bplsupport_select")
.field
label.label Valgene Tickets
span.icon.has-tooltip-right(data-tooltip="Number of tickets you can use to buy Valkyrie Generator Items, instead of PASELI or credits.")
i.mdi.mdi-help-circle
.control.is-expanded
input.input(type="number" name="valgeneTicket" id="valgeneticket_select")
br
div(style="font-size:26px;font-weight:bold;vertical-align:top; overflow-wrap: break-word;word-break: break-all;") EXCEED GEAR VALKYRIE GENERATOR CUSTOMIZATION
.tile.is-ancestor
.tile.is-parent.is-6
.tile.is-child(style="vertical-align: top;")
.field
label.label Nemsys Design:
//span.icon.has-tooltip-right(data-tooltip="0.Default 1.Decal 2.Gold 3.Right 4.Left")
i.mdi.mdi-help-circle
.control.is-expanded
.select.is-fullwidth
select(name="nemsys" id="nemsys_select")
//.control
input.input(type="number" step=1 name="nemsys", placeholder=profile.nemsys)//
.field
label.label SubmonitorBG
//span.icon.has-tooltip-right(data-tooltip="0~15 Check \"data/graphics/submonitor_bg\"")
i.mdi.mdi-help-circle
.control
.select.is-fullwidth
select(name="subbg")
//input.input(type="number" step=1 name="subbg", placeholder=profile.subbg)
.field
label.label BGM
//span.icon.has-tooltip-right(data-tooltip="0.Default 1.Max Burning 2.Bangin' Burst\n3.Ultraplayer 4.Everlasting Message\n5.Lachryma《Re:Queen’M》6.He4ven\n7.iLLness LiLin 8.I")
i.mdi.mdi-help-circle
.control
.select.is-fullwidth
select(name="bgm")
//input.input(type="number" step=1 name="bgm", placeholder=profile.bgm)
.field
label.label System Background
.control
.select.is-fullwidth
select(name="sysBG" id="sysbg_select")
.field
label.label FX-L A Stamp
//span.icon.has-tooltip-right(data-tooltip="Check \"data/graphics/chat_stamp\" 000X_0Y => 4*(X-1)+Y=StampID stamp_0000_01~04 is not usable!!!")
i.mdi.mdi-help-circle
.control
.select.is-fullwidth
select(name="stampA")
//input.input(type="number" step=1 name="stampA", placeholder=profile.stampA)
.field
label.label FX-L B Stamp
//span.icon.has-tooltip-right(data-tooltip="Check \"data/graphics/chat_stamp\" 000X_0Y => 4*(X-1)+Y=StampID stamp_0000_01~04 is not usable!!!")
i.mdi.mdi-help-circle
.control
.select.is-fullwidth
select(name="stampB")
//input.input(type="number" step=1 name="stampB", placeholder=profile.stampB)
.field
label.label FX-L C Stamp
//span.icon.has-tooltip-right(data-tooltip="Check \"data/graphics/chat_stamp\" 000X_0Y => 4*(X-1)+Y=StampID stamp_0000_01~04 is not usable!!!")
i.mdi.mdi-help-circle
.control
.select.is-fullwidth
select(name="stampC")
//input.input(type="number" step=1 name="stampC", placeholder=profile.stampC)
.field
label.label FX-L D Stamp
//span.icon.has-tooltip-right(data-tooltip="Check \"data/graphics/chat_stamp\" 000X_0Y => 4*(X-1)+Y=StampID stamp_0000_01~04 is not usable!!!")
i.mdi.mdi-help-circle
.control
.select.is-fullwidth
select(name="stampD")
//input.input(type="number" step=1 name="stampD", placeholder=profile.stampD)
.field
label.label FX-R A Stamp
//span.icon.has-tooltip-right(data-tooltip="Check \"data/graphics/chat_stamp\" 000X_0Y => 4*(X-1)+Y=StampID stamp_0000_01~04 is not usable!!!")
i.mdi.mdi-help-circle
.control
.select.is-fullwidth
select(name="stampRA")
//input.input(type="number" step=1 name="stampRA", placeholder=profile.stampRA)
.field
label.label FX-R B Stamp
//span.icon.has-tooltip-right(data-tooltip="Check \"data/graphics/chat_stamp\" 000X_0Y => 4*(X-1)+Y=StampID stamp_0000_01~04 is not usable!!!")
i.mdi.mdi-help-circle
.control
.select.is-fullwidth
select(name="stampRB")
//input.input(type="number" step=1 name="stampRB", placeholder=profile.stampRB)
.field
label.label FX-R C Stamp
//span.icon.has-tooltip-right(data-tooltip="Check \"data/graphics/chat_stamp\" 000X_0Y => 4*(X-1)+Y=StampID stamp_0000_01~04 is not usable!!!")
i.mdi.mdi-help-circle
.control
.select.is-fullwidth
select(name="stampRC")
//input.input(type="number" step=1 name="stampRC", placeholder=profile.stampRC)
.field
label.label FX-R D Stamp
//span.icon.has-tooltip-right(data-tooltip="Check \"data/graphics/chat_stamp\" 000X_0Y => 4*(X-1)+Y=StampID stamp_0000_01~04 is not usable!!!")
i.mdi.mdi-help-circle
.control
.select.is-fullwidth
select(name="stampRD")
//input.input(type="number" step=1 name="stampRD", placeholder=profile.stampRD)
.field
button.button.is-primary(type="submit")
span.icon
i.mdi.mdi-check
span Submit
.tile.is-vertical(style="vertical-aling:top;font-size:1rem;font-weight:700;")
.tile
.tile.is-parent
.tile.is-child
p Nemsys Preview
img(src='static/asset/nemsys/nemsys_0000_i_eeb.png' id="nemsys_pre")
.tile.is-parent
.tile.is-child
p Submonitor Preview
img(src='static/asset/submonitor_bg/subbg_0001.jpg' id="sub_pre")
video(id="sub_pre_vid" controls preload="auto")
source(id="sub_pre_vid_src")
.tile
.tile.is-parent.btm
.tile.is-child
p FX-L A
img(src='static/asset/nostamp.png' id="a_pre")
.tile.is-parent.btm
.tile.is-child
p FX-L B
img(src='static/asset/nostamp.png' id="b_pre")
.tile.is-parent.btm
.tile.is-child
p FX-L C
img(src='static/asset/nostamp.png' id="c_pre")
.tile.is-parent.btm
.tile.is-child
p FX-L D
img(src='static/asset/nostamp.png' id="d_pre")
.tile
.tile.is-parent.btm
.tile.is-child
p FX-R A
img(src='static/asset/nostamp.png' id="ra_pre")
.tile.is-parent.btm
.tile.is-child
p FX-R B
img(src='static/asset/nostamp.png' id="rb_pre")
.tile.is-parent.btm
.tile.is-child
p FX-R C
img(src='static/asset/nostamp.png' id="rc_pre")
.tile.is-parent.btm
.tile.is-child
p FX-R D
img(src='static/asset/nostamp.png' id="rd_pre")
.tile.is-parent.is-vertical(id='bgm_pre')
p BGM preview
audio(controls style="width:100%;display:none;" src='static/asset/audio/custom_00/0.mp3' type='audio/mp3' id='custom_0' loop)
.tile.is-parent.is-vertical(id='sel_pre')
p Song selection preview
audio(controls style="width:100%;display:none;" src='static/asset/audio/custom_00/1.mp3' type='audio/mp3' id='custom_1')
.tile.is-parent.is-vertical
article.tile.is-child
.content(style="color:#696969;overflow-wrap: break-word;word-break: break-all;")
| For Heavenly model original and AprilFool nemsys, you'll have to edit
br
| /data/others/custom_nemsys.xml, and put the heavenly model texture in
br
| /data_mods/omnimix/graphics/ver06/psd_nemsys_ifs/nemsys_0011_i_eeb.png
br
| (You can right-click preview to save the texture)
br
| THIS IS SELF-PHOTOSHOP TEXTURE, NOT OFFICIAL
.tild.is-child
a(href="static/asset/nemsys/custom_nemsys.xml" download="custom_nemsys.xml") custom_nemsys.xml download
div(hidden id='data-pass') !{JSON.stringify(profile)}
div(hidden id='data-pass-crew') !{JSON.stringify(items_crew)}
div(hidden id='data-pass-stamp') !{JSON.stringify(items_stamp)}
div(hidden id='data-pass-subbg') !{JSON.stringify(items_subbg)}
div(hidden id='data-pass-bgm') !{JSON.stringify(items_bgm)}
div(hidden id='data-pass-nemsys') !{JSON.stringify(items_nemsys)}
div(hidden id='data-pass-sysbg') !{JSON.stringify(items_sysbg)}
div(hidden id='data-pass-valgeneticket') !{JSON.stringify(valgene_tickets)}
div(hidden id='data-pass-courses') !{JSON.stringify(courses)}
div(hidden id='data-pass-skill') !{JSON.stringify(skill)}
div(hidden id='data-pass-unlock-all') !{unlock_all}
script(src="static/asset/js/preview.js")
script(src="https://vjs.zencdn.net/8.5.2/video.min.js")