style roll + editor

This commit is contained in:
rwanoux
2024-04-28 23:32:54 +02:00
parent 6ba57e5d38
commit 58d1be4194
6 changed files with 37 additions and 20 deletions
+5 -1
View File
@@ -44,7 +44,7 @@
<select class="info-value" data-roll="true" style="max-width: 40%;"
data-dtype="String"
type="number" name="ability" id="ability" min="1" max="5">
<option>-- Choisissez une caractéristique
<option value="0">-- Choisissez une caractéristique
--</option>
{{#each config.abilityCategories as |abilCategory catkey|}}
@@ -138,18 +138,22 @@
<div class="flexrow">
<h4 class="label">utiliser des dés totems ?
</h4>
{{#ifgt @root.actor.system.adaptation.totems.human.value 0}}
<div class="totem-human">
<label for="human-totem">totem humain </label>
<input type="checkbox" data-roll="true" name="human-totem"
id="human-totem"
value="1">
</div>
{{/ifgt}}
{{#ifgt @root.actor.system.adaptation.totems.adapted.value 0}}
<div class="totem-adapted">
<label for="human-totem">totem adapté </label>
<input type="checkbox" data-roll="true" name="adapted-totem"
id="adapted-totem"
value="1">
</div>
{{/ifgt}}
</div>
<div class="flexrow row mdb">
<label class="label" style="flex: 80%;">{{localize
-3
View File
@@ -22,9 +22,6 @@
{{#ifincludes dieType.options.flavor "human"}}
human
{{/ifincludes}}
{{#ifgt @root.param.Reroll 0}}
rerollable
{{/ifgt}}
"
data-dice-type="
{{#ifincludes dieType.options.flavor "adapted"}}