1
mirror of https://github.com/thepeacockproject/Peacock synced 2024-11-22 22:12:45 +01:00
Peacock/static/scoreoverviewtemplate.json
Reece Dunham 6245e91624 Initial commit
Co-authored-by: Tino Roivanen <tino.roivanen98@gmail.com>
Co-authored-by: Govert de Gans <grappigegovert@hotmail.com>
Co-authored-by: Gray Olson <gray@grayolson.com>
Co-authored-by: Alexandre Sanchez <alex73630@gmail.com>
Co-authored-by: Anthony Fuller <24512050+anthonyfuller@users.noreply.github.com>
Co-authored-by: atampy25 <24306974+atampy25@users.noreply.github.com>
Co-authored-by: David <davidstulemeijer@gmail.com>
Co-authored-by: c0derMo <c0dermo@users.noreply.github.com>
Co-authored-by: Jeevat Singh <jeevatt.singh@gmail.com>
Signed-off-by: Reece Dunham <me@rdil.rocks>
2022-10-19 21:33:45 -04:00

37 lines
1.1 KiB
JSON

{
"controller": "group",
"children": [
{
"view": "menu3.basic.DetailedScoreTileDetail",
"row": 0,
"col": 0,
"data": {
"animate": true,
"rating": "$.stars",
"completed": true,
"isonline": "$arg _isonline",
"difficulty": "$($arg Contract).Metadata.Difficulty",
"scoresummary": "$.ScoreDetails.Headlines",
"levelsummary": [
{
"header": "$loc UI_MENU_SCOREOVERVIEW_CHALLENGESCOMPLETED",
"value": "$.ChallengesCompleted"
},
{
"header": "$loc UI_MENU_SCOREOVERVIEW_XP_EARNED",
"value": "$formatstring +{$.XPGain,.0f}"
}
]
},
"actions": {
"on-add-child": {
"dbind:trigger-update": {
"id": "mastery_data",
"oneshot": true
}
}
}
}
]
}