limit on x220 is 9

This commit is contained in:
c0de 2023-12-29 15:02:20 -06:00
parent ff8182d9c3
commit 03a295140c

33
test.py
View File

@ -65,20 +65,41 @@ template_vars = {
],
},
"gallery": {
"max_reactions_per_card": 10,
"max_reactions_per_card": 9,
},
"gallery_items": [
{
"src": "https://files.c0defox.es/Pictures/arctic-fox.jpg",
"description": "An arctic fox :3",
"title": "fox",
"reactions": {"heart-fill":4, "backpack4":1, "balloon-fill":45, "bag-x-fill":0},
"reactions": {
"0-circle": 1,
"1-circle": 2,
"2-circle": 3,
"3-circle": 4,
"4-circle": 5,
"5-circle": 6,
"6-circle": 7,
"7-circle": 8,
"8-circle": 9,
"9-circle": 10,
"0-circle-fill": 11,
"1-circle-fill": 12,
"2-circle-fill": 13,
"3-circle-fill": 14,
"4-circle-fill": 15,
"5-circle-fill": 16,
"6-circle-fill": 17,
"7-circle-fill": 18,
"8-circle-fill": 19,
"9-circle-fill": 20,
},
},
{
"src": "https://files.c0defox.es/Pictures/arctic-fox.jpg",
"description": "An arctic fox :3",
"title": "fox",
"reactions": {"heart-fill":1024, "bag-x-fill":50},
"src": "https://files.c0defox.es/Pictures/20150825_114759.jpg",
"description": "The inside of a Data Center",
"title": "Data Center",
"reactions": {"heart-fill": 1024, "bag-x-fill": 50},
},
{
"src": "https://files.c0defox.es/Pictures/arctic-fox.jpg",