Add Unilab support

Remove non-core Asphyxia data import
Send correct number of Goods
This commit is contained in:
cracrayol
2025-09-24 16:13:34 +02:00
parent 8d1b13c730
commit ee0ae068f6
7 changed files with 226 additions and 148 deletions
-11
View File
@@ -1,11 +0,0 @@
$('#import-click').on('click', () => {
data = {
refid: $('#refid').val(),
profile: $('#profile').val(),
scores: $('#scores').val()
}
emit('importPnmData', data).then(() => {
$('#import-success').removeClass("is-hidden");
});
});
+1 -23
View File
@@ -61,26 +61,4 @@ div
div
label There is a limit of 4 rivals maximum (only the 2 firsts will be used for Sunny Park and lower).
div
label The score sharing option also affect scores get from rivals.
.card
.card-header
p.card-header-title
span.icon
i.mdi.mdi-account-edit
| Import data
.card-content
.field
label.label Import data from previous Asphyxia (non-core)
.field
input.input(type="text" id="profile" name="profile" placeholder="Put content of popn.json")
.field
input.input(type="text" id="scores" name="scores" placeholder="Put content of popn_scores.json")
.field
label.help.is-danger /!\ Please backup your savedata.db before importing data /!\
.field
button.button.is-primary#import-click
span.icon
i.mdi.mdi-file-import-outline
span Import
script(src="static/js/profile_page.js")
label The score sharing option also affect scores get from rivals.