This commit is contained in:
2025-08-04 14:02:01 +02:00
parent a9611643d6
commit b9cd18b5cc
6 changed files with 29 additions and 10 deletions

View File

@@ -533,4 +533,15 @@
border-radius: 50%;
background: black;
}
.combatBox {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-items: space-evenly;
position: absolute;
z-index: 100;
margin-top: 25px;
margin-left: 50px;
}
}

View File

@@ -8,9 +8,9 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi
static DEFAULT_OPTIONS = {
tag: "form",
classes: ["pokemon", "sheet", "characterSheet"],
actions: {
},
tabs: [
{navSelector: ".tabs", contentSelector: ".content", initial: "tab1"}
],
form: {
submitOnChange: true,
closeOnSubmit: false
@@ -83,7 +83,5 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi
const tabs = new foundry.applications.ux.Tabs({navSelector: ".tabs", contentSelector: ".content", initial: "tab1"});
tabs.bind(this.element);
const tabs2 = new foundry.applications.ux.Tabs({navSelector: ".tabs2", contentSelector: ".content2", initial: "tab2-1"});
tabs2.bind(this.element);
}
}

View File

@@ -451,3 +451,13 @@
border-radius: 50%;
background: black;
}
.pokemon.sheet.characterSheet .combatBox {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-items: space-evenly;
position: absolute;
z-index: 100;
margin-top: 25px;
margin-left: 50px;
}

View File

@@ -1,5 +1,5 @@
{
"version": "0.0.47",
"version": "0.0.48",
"id": "pokemon",
"title": "Pokémon TTRPG",
"description": "A Pokémon TTRPG",

Binary file not shown.

View File

@@ -1,18 +1,18 @@
<div class="combatBox">
<div class="row">
<input class="inputText moveName" type="text" name="system.moves.move1.name" value="{{system.moves.move1.name}}">
<textarea class="inputText moveDescription" type="text" name="system.moves.move1.name">{{system.moves.move1.description}}</textarea>
<textarea class="inputText moveDescription" type="text" name="system.moves.move1.description">{{system.moves.move1.description}}</textarea>
</div>
<div class="row">
<input class="inputText moveName" type="text" name="system.moves.move2.name" value="{{system.moves.move2.name}}">
<textarea class="inputText moveDescription" type="text" name="system.moves.move2.name">{{system.moves.move2.description}}</textarea>
<textarea class="inputText moveDescription" type="text" name="system.moves.move2.description">{{system.moves.move2.description}}</textarea>
</div>
<div class="row">
<input class="inputText moveName" type="text" name="system.moves.move3.name" value="{{system.moves.move3.name}}">
<textarea class="inputText moveDescription" type="text" name="system.moves.move3.name">{{system.moves.move3.description}}</textarea>
<textarea class="inputText moveDescription" type="text" name="system.moves.move3.description">{{system.moves.move3.description}}</textarea>
</div>
<div class="row">
<input class="inputText moveName" type="text" name="system.moves.move4.name" value="{{system.moves.move4.name}}">
<textarea class="inputText moveDescription" type="text" name="system.moves.move4.name">{{system.moves.move4.description}}</textarea>
<textarea class="inputText moveDescription" type="text" name="system.moves.move4.description">{{system.moves.move4.description}}</textarea>
</div>
</div>