Multiple changes
This commit is contained in:
12
templates/dialogs/adv-roll-part.hbs
Normal file
12
templates/dialogs/adv-roll-part.hbs
Normal file
@@ -0,0 +1,12 @@
|
||||
<div class="flexrow" style="margin-bottom: 1px;">
|
||||
<div class="flex1 center bg-darkred">
|
||||
<label for="adv">{{localize 'BOL.ui.advantages'}}</label>
|
||||
</div>
|
||||
<div class="flex1 center cell">
|
||||
<input type="radio" name="adv" value="1B" {{#if (eq adv "1B")}}checked{{/if}}/>2d6B<br />
|
||||
<input type="radio" name="adv" value="2B" {{#if (eq adv "2B")}}checked{{/if}}/>2d6BB<br />
|
||||
<input type="radio" name="adv" value="2" {{#if (eq adv "2")}}checked{{/if}}/>2d6<br />
|
||||
<input type="radio" name="adv" value="1M" {{#if (eq adv "1M")}}checked{{/if}}/>2d6M<br />
|
||||
<input type="radio" name="adv" value="2M" {{#if (eq adv "2M")}}checked{{/if}}/>2d6MM<br />
|
||||
</div>
|
||||
</div>
|
@@ -7,47 +7,13 @@
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="flexrow" style="margin-bottom: 1px;">
|
||||
<div class="flex1 center bg-darkred">
|
||||
<label for="apt">{{localize 'BOL.ui.aptitude'}}</label>
|
||||
</div>
|
||||
<div class="flex1 center cell">
|
||||
<select class="flex1" name="apt" id="apt" data-type="String">
|
||||
<option value="init" {{#if (equals apt.key "init")}}selected{{/if}}>{{localize 'BOL.aptitudes.init'}}</option>
|
||||
<option value="melee" {{#if (equals apt.key "melee")}}selected{{/if}}>{{localize 'BOL.aptitudes.melee'}}</option>
|
||||
<option value="ranged" {{#if (equals apt.key "ranged")}}selected{{/if}}>{{localize 'BOL.aptitudes.ranged'}}</option>
|
||||
<option value="def" {{#if (equals apt.key "def")}}selected{{/if}}>{{localize 'BOL.aptitudes.def'}}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flexrow" style="margin-bottom: 1px;">
|
||||
<div class="flex1 center bg-darkred">
|
||||
<label for="adv">{{localize 'BOL.ui.advantages'}}</label>
|
||||
</div>
|
||||
<div class="flex1 center cell">
|
||||
<input type="text" class="field-value" name="adv" id="adv" value="{{adv}}" data-type="Number">
|
||||
</div>
|
||||
</div>
|
||||
<div class="flexrow" style="margin-bottom: 1px;">
|
||||
<div class="flex1 center bg-darkred">
|
||||
<label for="mod">{{localize 'BOL.ui.modifiers'}}</label>
|
||||
</div>
|
||||
<div class="flex1 center cell">
|
||||
<input type="text" class="field-value" name="mod" id="mod" value="{{mod}}" data-type="Number">
|
||||
</div>
|
||||
</div>
|
||||
{{#if careers.items}}
|
||||
<div class="flexrow" style="margin-bottom: 1px;">
|
||||
<div class="flex1 center bg-darkred">
|
||||
<label for="mod">{{localize 'BOL.ui.careers'}}</label>
|
||||
</div>
|
||||
<div class="flex1 center cell">
|
||||
<select class="flex1" name="career" id="career" data-type="String" multiple>
|
||||
{{#each careers.items as | career id|}}
|
||||
<option value="{{career.data.rank}}">{{career.name}} ({{numberFormat career.data.rank decimals=0 sign=true}})</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{> "systems/bol/templates/dialogs/aptitude-roll-part.hbs"}}
|
||||
|
||||
{{> "systems/bol/templates/dialogs/adv-roll-part.hbs"}}
|
||||
|
||||
{{> "systems/bol/templates/dialogs/mod-roll-part.hbs"}}
|
||||
|
||||
{{> "systems/bol/templates/dialogs/career-roll-part.hbs"}}
|
||||
|
||||
</form>
|
16
templates/dialogs/aptitude-roll-part.hbs
Normal file
16
templates/dialogs/aptitude-roll-part.hbs
Normal file
@@ -0,0 +1,16 @@
|
||||
<div class="flexrow" style="margin-bottom: 1px;">
|
||||
<div class="flex1 center bg-darkred">
|
||||
<label for="apt">{{localize 'BOL.ui.aptitude'}}</label>
|
||||
</div>
|
||||
<div class="flex1 center cell">
|
||||
<select class="flex1" name="apt" id="apt" data-type="String">
|
||||
<option value="init" {{#if (equals aptitude.key "init" )}}selected{{/if}}>{{localize 'BOL.aptitudes.init'}}
|
||||
</option>
|
||||
<option value="melee" {{#if (equals aptitude.key "melee" )}}selected{{/if}}>{{localize 'BOL.aptitudes.melee'}}
|
||||
</option>
|
||||
<option value="ranged" {{#if (equals aptitude.key "ranged" )}}selected{{/if}}>{{localize 'BOL.aptitudes.ranged'}}
|
||||
</option>
|
||||
<option value="def" {{#if (equals aptitude.key "def" )}}selected{{/if}}>{{localize 'BOL.aptitudes.def'}}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
@@ -7,49 +7,15 @@
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="flexrow" style="margin-bottom: 1px;">
|
||||
<div class="flex1 center bg-darkred">
|
||||
<label for="attr">{{localize 'BOL.ui.attribute'}}</label>
|
||||
</div>
|
||||
<div class="flex1 center cell">
|
||||
<select class="flex1" name="attr" id="attr" data-type="String">
|
||||
<option value="vigor" {{#if (equals attr.key "vigor")}}selected{{/if}}>{{localize 'BOL.attributes.vigor'}}</option>
|
||||
<option value="agility" {{#if (equals attr.key "agility")}}selected{{/if}}>{{localize 'BOL.attributes.agility'}}</option>
|
||||
<option value="mind" {{#if (equals attr.key "mind")}}selected{{/if}}>{{localize 'BOL.attributes.mind'}}</option>
|
||||
<option value="appeal" {{#if (equals attr.key "appeal")}}selected{{/if}}>{{localize 'BOL.attributes.appeal'}}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flexrow" style="margin-bottom: 1px;">
|
||||
<div class="flex1 center bg-darkred">
|
||||
<label for="adv">{{localize 'BOL.ui.advantages'}}</label>
|
||||
</div>
|
||||
<div class="flex1 center cell">
|
||||
<input type="text" class="field-value" name="adv" id="adv" value="{{adv}}" data-type="Number">
|
||||
</div>
|
||||
</div>
|
||||
<div class="flexrow" style="margin-bottom: 1px;">
|
||||
<div class="flex1 center bg-darkred">
|
||||
<label for="mod">{{localize 'BOL.ui.modifiers'}}</label>
|
||||
</div>
|
||||
<div class="flex1 center cell">
|
||||
<input type="text" class="field-value" name="mod" id="mod" value="{{mod}}" data-type="Number">
|
||||
</div>
|
||||
</div>
|
||||
{{#if careers.items}}
|
||||
<div class="flexrow" style="margin-bottom: 1px;">
|
||||
<div class="flex1 center bg-darkred">
|
||||
<label for="mod">{{localize 'BOL.ui.careers'}}</label>
|
||||
</div>
|
||||
<div class="flex1 center cell">
|
||||
<select class="flex1" name="career" id="career" data-type="String" multiple>
|
||||
{{#each careers.items as | career id|}}
|
||||
<option value="{{career.data.rank}}">{{career.name}} ({{numberFormat career.data.rank decimals=0 sign=true}})</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{> "systems/bol/templates/dialogs/attribute-roll-part.hbs"}}
|
||||
|
||||
{{> "systems/bol/templates/dialogs/adv-roll-part.hbs"}}
|
||||
|
||||
{{> "systems/bol/templates/dialogs/mod-roll-part.hbs"}}
|
||||
|
||||
{{> "systems/bol/templates/dialogs/career-roll-part.hbs"}}
|
||||
|
||||
<!--<div class="flexrow" style="margin-bottom: 1px;">-->
|
||||
<!-- <div class="flex1 center bg-darkred">-->
|
||||
<!-- <label for="mod">{{!localize 'BOL.ui.boons'}}</label>-->
|
||||
|
13
templates/dialogs/attribute-roll-part.hbs
Normal file
13
templates/dialogs/attribute-roll-part.hbs
Normal file
@@ -0,0 +1,13 @@
|
||||
<div class="flexrow" style="margin-bottom: 1px;">
|
||||
<div class="flex1 center bg-darkred">
|
||||
<label for="attr">{{localize 'BOL.ui.attribute'}}</label>
|
||||
</div>
|
||||
<div class="flex1 center cell">
|
||||
<select class="flex1" name="attr" id="attr" data-type="String">
|
||||
<option value="vigor" {{#if (equals attribute.key "vigor")}}selected{{/if}}>{{localize 'BOL.attributes.vigor'}}</option>
|
||||
<option value="agility" {{#if (equals attribute.key "agility")}}selected{{/if}}>{{localize 'BOL.attributes.agility'}}</option>
|
||||
<option value="mind" {{#if (equals attribute.key "mind")}}selected{{/if}}>{{localize 'BOL.attributes.mind'}}</option>
|
||||
<option value="appeal" {{#if (equals attribute.key "appeal")}}selected{{/if}}>{{localize 'BOL.attributes.appeal'}}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
14
templates/dialogs/career-roll-part.hbs
Normal file
14
templates/dialogs/career-roll-part.hbs
Normal file
@@ -0,0 +1,14 @@
|
||||
{{#if careers.items}}
|
||||
<div class="flexrow" style="margin-bottom: 1px;">
|
||||
<div class="flex1 center bg-darkred">
|
||||
<label for="mod">{{localize 'BOL.ui.careers'}}</label>
|
||||
</div>
|
||||
<div class="flex1 center cell">
|
||||
<select class="flex1" name="career" id="career" data-type="String" multiple>
|
||||
{{#each careers.items as | career id|}}
|
||||
<option value="{{career.data.rank}}">{{career.name}} ({{numberFormat career.data.rank decimals=0 sign=true}})</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
19
templates/dialogs/mod-roll-part.hbs
Normal file
19
templates/dialogs/mod-roll-part.hbs
Normal file
@@ -0,0 +1,19 @@
|
||||
<div class="flexrow" style="margin-bottom: 1px;">
|
||||
<div class="flex1 center bg-darkred">
|
||||
<label for="mod">{{localize 'BOL.ui.modifiers'}}</label>
|
||||
</div>
|
||||
<div class="flex1 center cell">
|
||||
<select name="mod" id="mod" value="{{mod}}">
|
||||
{{#select mod}}
|
||||
<option value="2">Trés Facile (+2)</option>
|
||||
<option value="1">Facile (+1)</option>
|
||||
<option value="0">Moyenne (0)</option>
|
||||
<option value="-1">Ardue (-1)</option>
|
||||
<option value="-2">Difficile (-2)</option>
|
||||
<option value="-4">Très Difficile (-4)</option>
|
||||
<option value="-6">Impossible (-6)</option>
|
||||
<option value="-8">Héroïque (-8)</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
@@ -7,48 +7,15 @@
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="flexrow" style="margin-bottom: 1px;">
|
||||
<div class="flex1 center bg-darkred">
|
||||
<label for="attr">{{localize 'BOL.ui.attribute'}}</label>
|
||||
</div>
|
||||
<div class="flex1 center cell">
|
||||
<select class="flex1" name="attr" id="attr" data-type="String">
|
||||
<option value="vigor" {{#if (equals attr.key "vigor")}}selected{{/if}}>{{localize 'BOL.attributes.vigor'}}</option>
|
||||
<option value="agility" {{#if (equals attr.key "agility")}}selected{{/if}}>{{localize 'BOL.attributes.agility'}}</option>
|
||||
<option value="mind" {{#if (equals attr.key "mind")}}selected{{/if}}>{{localize 'BOL.attributes.mind'}}</option>
|
||||
<option value="appeal" {{#if (equals attr.key "appeal")}}selected{{/if}}>{{localize 'BOL.attributes.appeal'}}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flexrow" style="margin-bottom: 1px;">
|
||||
<div class="flex1 center bg-darkred">
|
||||
<label for="apt">{{localize 'BOL.ui.aptitude'}}</label>
|
||||
</div>
|
||||
<div class="flex1 center cell">
|
||||
<select class="flex1" name="apt" id="apt" data-type="String">
|
||||
<option value="init" {{#if (equals apt.key "init")}}selected{{/if}}>{{localize 'BOL.aptitudes.init'}}</option>
|
||||
<option value="melee" {{#if (equals apt.key "melee")}}selected{{/if}}>{{localize 'BOL.aptitudes.melee'}}</option>
|
||||
<option value="ranged" {{#if (equals apt.key "ranged")}}selected{{/if}}>{{localize 'BOL.aptitudes.ranged'}}</option>
|
||||
<option value="def" {{#if (equals apt.key "def")}}selected{{/if}}>{{localize 'BOL.aptitudes.def'}}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flexrow" style="margin-bottom: 1px;">
|
||||
<div class="flex1 center bg-darkred">
|
||||
<label for="adv">{{localize 'BOL.ui.advantages'}}</label>
|
||||
</div>
|
||||
<div class="flex1 center cell">
|
||||
<input type="text" class="field-value" name="adv" id="adv" value="{{adv}}" data-type="Number">
|
||||
</div>
|
||||
</div>
|
||||
<div class="flexrow" style="margin-bottom: 1px;">
|
||||
<div class="flex1 center bg-darkred">
|
||||
<label for="mod">{{localize 'BOL.ui.modifiers'}}</label>
|
||||
</div>
|
||||
<div class="flex1 center cell">
|
||||
<input type="text" class="field-value" name="mod" id="mod" value="{{mod}}" data-type="Number">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{> "systems/bol/templates/dialogs/attribute-roll-part.hbs"}}
|
||||
|
||||
{{> "systems/bol/templates/dialogs/aptitude-roll-part.hbs"}}
|
||||
|
||||
{{> "systems/bol/templates/dialogs/adv-roll-part.hbs"}}
|
||||
|
||||
{{> "systems/bol/templates/dialogs/mod-roll-part.hbs"}}
|
||||
|
||||
<div class="flexrow" style="margin-bottom: 1px;">
|
||||
<div class="flex1 center bg-darkred">
|
||||
<label for="mod">{{localize 'BOL.ui.targetDefence'}}</label>
|
||||
@@ -75,18 +42,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if careers.items}}
|
||||
<div class="flexrow" style="margin-bottom: 1px;">
|
||||
<div class="flex1 center bg-darkred">
|
||||
<label for="mod">{{localize 'BOL.ui.careers'}}</label>
|
||||
</div>
|
||||
<div class="flex1 center cell">
|
||||
<select class="flex1" name="career" id="career" data-type="String" multiple>
|
||||
{{#each careers.items as | career id|}}
|
||||
<option value="{{career.data.rank}}">{{career.name}} ({{numberFormat career.data.rank decimals=0 sign=true}})</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{> "systems/bol/templates/dialogs/career-roll-part.hbs"}}
|
||||
|
||||
</form>
|
Reference in New Issue
Block a user