underscore
This commit is contained in:
@@ -41,11 +41,11 @@
|
||||
<section class="grid grid-4col">
|
||||
{{#each config.abilityCategories as |abilityCategory ackey|}}
|
||||
<div>
|
||||
<h4>{{ localize abilityCategory.label }}</h4>
|
||||
<h4 class="align-center">{{ localize abilityCategory.label }}</h4>
|
||||
{{#each @root.system.abilities as |ability key|}}
|
||||
{{#ife ability.category ackey }}
|
||||
<div class="ability flexcol flex-group-center items-center">
|
||||
<label for="system.abilities.{{key}}.value" class="resource-label rollable flexlarge align-left" data-roll="d20+@abilities.{{key}}.mod" data-label="{{ability.label}}">{{ability.label}}</label>
|
||||
<label for="system.abilities.{{key}}.value" class="resource-label rollable flexlarge align-left" data-label="{{ability.label}}">{{ability.label}}</label>
|
||||
<input type="text" name="system.abilities.{{key}}.value" value="{{ability.value}}" data-dtype="Number"/>
|
||||
</div>
|
||||
{{/ife}}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
<div class="ecryme-dv roll attribute">
|
||||
<div class="dice-roll">
|
||||
<div class="dice-result">
|
||||
<div class="dice-formula">
|
||||
{{ ` + dicePool + `d6 }}
|
||||
</div>
|
||||
<div class="dice-tooltip expanded">
|
||||
<section class="tooltip-part flexrow">
|
||||
<div class="" style="flex:60%;">
|
||||
<div class="parameters">
|
||||
{{ targetText }}
|
||||
</div>
|
||||
<div class="dice">
|
||||
<ol class="dice-rolls">{{ diceString }}</ol>
|
||||
</div>
|
||||
</div>
|
||||
<div class="align-center">
|
||||
Résultat
|
||||
<p style="font-weight:bold; font-size:2em;">{{ (total + skill + _trait + _usingSpecialization + _used).toString() }}</p>
|
||||
</div>
|
||||
</section>
|
||||
</div>` +
|
||||
`<h4 class="dice-total">{{ successText }}</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,26 @@
|
||||
<form id="dice-pool-form" class="ecryme-dv-form" data-actor-id="{{ speakerId }}">
|
||||
<div class="dice-pool flexcol">
|
||||
<div class="flexrow row">
|
||||
<label class="label" style="flex: 80%;">{{localize 'TOTEM.skills_title'}}</label>
|
||||
<input type="number" class="numeric-entry" style="text-align: center;" name="skill" id="skill" required min="0" max="10" {{#if skillScore}}value="{{ skillScore }}"{{/if}}>
|
||||
</div>
|
||||
<div class="flexrow row">
|
||||
<label class="label" style="flex: 80%;">{{localize 'TOTEM.ability'}}</label>
|
||||
<input type="number" class="numeric-entry" style="text-align: center;" name="trait" id="trait" min="-5" max="5" value="0">
|
||||
</div>
|
||||
<div class="flexrow row">
|
||||
<label class="label">{{localize 'TOTEM.specialty'}}</label>
|
||||
<input type="checkbox" name="usingSpecialization" id="usingSpecialization" value="2" {{#if specialization}}checked{{/if}}>
|
||||
</div>
|
||||
<div class="flexrow row">
|
||||
<label class="label" style="flex: 80%;">{{localize 'TOTEM.reroll'}}</label>
|
||||
<input type="number" class="numeric-entry" style="text-align: center;" name="usure" id="usure" required min="0" max="{{#if skillScore}}{{ skillScore }}{{ else }}10{{/if}}" value="0">
|
||||
</div>
|
||||
<div class="flexrow row">
|
||||
<label class="label" style="flex: 80%;">{{localize 'TOTEM.difficulty'}}</label>
|
||||
<input style="text-align: center;" class="numeric-entry" type="number" name="difficulty" value="8" id="difficulty" min="6" max="18">
|
||||
</div>
|
||||
</div>
|
||||
<p><input type="hidden" name="speakerId" value="{{ speakerId }}" />
|
||||
<input type="hidden" name="skillLabel" value="{{ skill }}" /></p>
|
||||
</form>
|
||||
Reference in New Issue
Block a user