diff --git a/join-page.txt b/join-page.txt new file mode 100644 index 0000000..82ea426 --- /dev/null +++ b/join-page.txt @@ -0,0 +1,25 @@ +uid=12_0 RootWebArea "Lethal Fantasy" url="https://localhost:31000/join" + uid=12_1 banner + uid=12_2 heading "Lethal Fantasy" level="1" + uid=12_3 form + uid=12_4 heading "Rejoindre la partie" level="2" + uid=12_5 combobox expandable haspopup="menu" + uid=12_6 option selectable selected + uid=12_7 option "Player2" selectable value="Player2" + uid=12_8 textbox "Mot de passe" + uid=12_9 contentinfo + uid=12_10 button "REJOINDRE LA PARTIE" + uid=12_11 heading "Détails de la session" level="2" + uid=12_12 StaticText " Prochaine partie" + uid=12_13 StaticText " Joueurs présents" + uid=12_14 StaticText "1" + uid=12_15 StaticText "/" + uid=12_16 StaticText "2" + uid=12_17 form + uid=12_18 heading "Retour à l’accueil" level="2" + uid=12_19 textbox + uid=12_20 contentinfo + uid=12_21 button "RETOUR À L’ACCUEIL" + uid=12_22 heading "Description du monde" level="2" + uid=12_23 contentinfo + uid=12_24 StaticText "Version 14 Build 364" diff --git a/lethal-fantasy.mjs b/lethal-fantasy.mjs index 6d2ba65..3787231 100644 --- a/lethal-fantasy.mjs +++ b/lethal-fantasy.mjs @@ -114,10 +114,13 @@ Hooks.once("ready", async function () { // Initialiser la table des résultats D30 await documents.D30Roll.initialize() - // Register Handlebars partials used by chat templates - await foundry.applications.handlebars.loadTemplates([ - "systems/fvtt-lethal-fantasy/templates/chat/_dice-breakdown.hbs" - ]) + // Register Handlebars partials used by chat templates. + // The object key is the partial ID referenced in templates (e.g., {{> chat/dice-breakdown}}), + // the value is the file path. Using an array would register with the full path as the ID, + // which does NOT match the template reference. + await foundry.applications.handlebars.loadTemplates({ + "chat/dice-breakdown": "systems/fvtt-lethal-fantasy/templates/chat/_dice-breakdown.hbs" + }) // Saignement piloté par le combat tracker _registerBleedingHooks() diff --git a/page3.txt b/page3.txt new file mode 100644 index 0000000..6cd02a5 --- /dev/null +++ b/page3.txt @@ -0,0 +1,26 @@ +uid=13_0 RootWebArea "Lethal Fantasy" url="https://localhost:31000/join" + uid=13_1 banner + uid=13_2 heading "Lethal Fantasy" level="1" + uid=13_3 form + uid=13_4 heading "Rejoindre la partie" level="2" + uid=13_5 combobox expandable haspopup="menu" + uid=13_6 option selectable selected + uid=13_7 option "Gamemaster" selectable value="Gamemaster" + uid=13_8 option "Player2" selectable value="Player2" + uid=13_9 textbox "Mot de passe" + uid=13_10 contentinfo + uid=13_11 button "REJOINDRE LA PARTIE" + uid=13_12 heading "Détails de la session" level="2" + uid=13_13 StaticText " Prochaine partie" + uid=13_14 StaticText " Joueurs présents" + uid=13_15 StaticText "0" + uid=13_16 StaticText "/" + uid=13_17 StaticText "2" + uid=13_18 form + uid=13_19 heading "Retour à l’accueil" level="2" + uid=13_20 StaticText "Vous êtes authentifié en tant qu’administrateur du serveur." + uid=13_21 contentinfo + uid=13_22 button "RETOUR À L’ACCUEIL" + uid=13_23 heading "Description du monde" level="2" + uid=13_24 contentinfo + uid=13_25 StaticText "Version 14 Build 364"