2020-05-04 10:10:57 +00:00
|
|
|
<form class="{{cssClass}}" autocomplete="off">
|
|
|
|
|
|
|
|
<header class="sheet-header">
|
|
|
|
<img class="profile-img" src="{{item.img}}" data-edit="img" title="{{item.name}}"/>
|
|
|
|
<div class="header-fields">
|
2020-08-04 12:39:31 +00:00
|
|
|
<h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeholder="{{localize 'BITD.Name'}}"/></h1>
|
2020-05-04 10:10:57 +00:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<section class="flex-vertical">
|
|
|
|
|
2020-08-04 12:39:31 +00:00
|
|
|
<div class="label-stripe">{{localize "BITD.Information"}}</div>
|
2020-05-04 10:10:57 +00:00
|
|
|
|
2020-08-04 12:39:31 +00:00
|
|
|
<div>{{{localize "BITD.AddAdditionalTypeOfGangText"}}}</div>
|
2020-05-04 10:10:57 +00:00
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="flex-vertical">
|
|
|
|
|
2020-08-04 12:39:31 +00:00
|
|
|
<div class="label-stripe">{{localize "BITD.CohortType"}}</div>
|
2020-05-04 10:10:57 +00:00
|
|
|
|
|
|
|
<div id="cohort-type-list">
|
|
|
|
{{#each data.cohort_list as |cohort key|}}
|
|
|
|
{{#multiboxes ../data.cohort}}
|
2020-08-04 12:39:31 +00:00
|
|
|
<label for="{{key}}-cohort">{{localize cohort.label}}</label>
|
2020-05-04 10:10:57 +00:00
|
|
|
<input id="{{key}}-cohort" type="radio" name="data.cohort" value="{{key}}">
|
|
|
|
{{/multiboxes}}
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section id="gang-expert-type-selector" class="flex-vertical">
|
2020-05-18 13:59:47 +00:00
|
|
|
{{#if (eq data.cohort.[0] "Gang")}}
|
2020-05-04 10:10:57 +00:00
|
|
|
|
2020-08-04 12:39:31 +00:00
|
|
|
<div class="label-stripe">{{localize "BITD.GangType"}}</div>
|
2020-05-04 10:10:57 +00:00
|
|
|
<div id="gang-type-boxes" class="flex-horizontal">
|
2020-07-21 10:30:31 +00:00
|
|
|
{{#multiboxes data.gang_type}}
|
|
|
|
{{#each data.gang_type_list as |gang_type key|}}
|
2020-05-04 10:10:57 +00:00
|
|
|
<input id="gang-type-{{key}}" type="checkbox" name="data.gang_type" value="{{key}}">
|
2020-08-04 12:39:31 +00:00
|
|
|
<label for="gang-type-{{key}}">{{localize gang_type.label}}</label>
|
2020-05-04 10:10:57 +00:00
|
|
|
{{/each}}
|
|
|
|
{{/multiboxes}}
|
|
|
|
</div>
|
|
|
|
<div id="selected-gang-description" class="description">
|
2020-07-21 10:30:31 +00:00
|
|
|
{{#each data.gang_type as |gang_type key|}}
|
|
|
|
{{#with (lookup ../data.gang_type_list gang_type)}}
|
2020-09-04 14:00:14 +00:00
|
|
|
{{localize description}}
|
2020-05-04 10:10:57 +00:00
|
|
|
{{/with}}
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
|
2020-05-18 13:59:47 +00:00
|
|
|
{{/if}}
|
2020-05-04 10:10:57 +00:00
|
|
|
|
2020-05-18 13:59:47 +00:00
|
|
|
{{#if (eq data.cohort.[0] "Expert")}}
|
2020-08-04 12:39:31 +00:00
|
|
|
<div class="label-stripe">{{localize "BITD.ExpertType"}}</div>
|
2020-07-21 10:30:31 +00:00
|
|
|
<input type="text" name="data.expert_type" value="{{data.expert_type}}">
|
2020-05-18 13:59:47 +00:00
|
|
|
{{/if}}
|
2020-05-04 10:10:57 +00:00
|
|
|
</section>
|
|
|
|
|
|
|
|
{{!-- Scale and Quality if attached to Actor --}}
|
|
|
|
{{#if data.quality}}
|
|
|
|
<section id="quality-scale" class="flex-vertical">
|
2020-08-04 12:39:31 +00:00
|
|
|
<div class="label-stripe">{{localize "BITD.ScaleAndQuality"}}</div>
|
|
|
|
<div>{{localize "BITD.Quality"}}: {{data.quality}}</div>
|
|
|
|
<div>{{localize "BITD.Scale"}}: {{data.scale}}</div>
|
2020-05-04 10:10:57 +00:00
|
|
|
</section>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{!-- Edges and Flaws --}}
|
|
|
|
<section id="edges-flaws" class="flex-vertical">
|
|
|
|
|
2020-08-04 12:39:31 +00:00
|
|
|
<div class="label-stripe">{{localize "BITD.ChooseOneOrTwoEdges"}}</div>
|
2020-05-04 10:10:57 +00:00
|
|
|
|
|
|
|
<div class="flex-horizontal">
|
|
|
|
|
|
|
|
<div class="edgeflaw-container flex-vertical">
|
2020-08-04 12:39:31 +00:00
|
|
|
<div class="label-stripe">{{localize "BITD.Edges"}}</div>
|
2020-05-04 10:10:57 +00:00
|
|
|
{{#each data.edges_list as |edge key|}}
|
|
|
|
{{#multiboxes ../data.edges}}
|
|
|
|
<div class="edgeflaw flex-horizontal">
|
|
|
|
<input id="edge-{{key}}" type="checkbox" name="data.edges" value="{{key}}">
|
2020-08-04 12:39:31 +00:00
|
|
|
<label for="edge-{{key}}">{{localize edge.label}}</label>
|
2020-05-04 10:10:57 +00:00
|
|
|
</div>
|
|
|
|
{{/multiboxes}}
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="edgeflaw-container flex-vertical">
|
2020-08-04 12:39:31 +00:00
|
|
|
<div class="label-stripe">{{localize "BITD.Flaws"}}</div>
|
2020-05-04 10:10:57 +00:00
|
|
|
{{#each data.flaws_list as |flaw key|}}
|
|
|
|
{{#multiboxes ../data.flaws}}
|
|
|
|
<div class="edgeflaw flex-horizontal">
|
|
|
|
<input id="flaw-{{key}}" type="checkbox" name="data.flaws" value="{{key}}">
|
2020-08-04 12:39:31 +00:00
|
|
|
<label for="flaw-{{key}}">{{localize flaw.label}}</label>
|
2020-05-04 10:10:57 +00:00
|
|
|
</div>
|
|
|
|
{{/multiboxes}}
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section id="cohort-harm" class="flex-vertical">
|
2020-08-04 12:39:31 +00:00
|
|
|
<div class="label-stripe">{{localize "BITD.Harm"}}</div>
|
2020-05-04 10:10:57 +00:00
|
|
|
<div id="harm-list" class="flex-horizontal">
|
|
|
|
{{#multiboxes data.harm}}
|
|
|
|
{{#each data.harm_list as |harm harm_key|}}
|
|
|
|
<input id="{{harm_key}}-harm" type="radio" name="data.harm" value="{{harm_key}}">
|
2020-08-04 12:39:31 +00:00
|
|
|
<label for="{{harm_key}}-harm">{{localize harm.label}}</label>
|
2020-05-04 10:10:57 +00:00
|
|
|
{{/each}}
|
|
|
|
{{/multiboxes}}
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<input id="cohort-armor" type="checkbox" name="data.armor" value="{{data.armor}}" {{checked data.armor}}>
|
2020-08-04 12:39:31 +00:00
|
|
|
<label for="cohort-armor">{{localize "BITD.Armor"}}</label>
|
2020-05-04 10:10:57 +00:00
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="sheet-body flex-vertical">
|
2020-08-04 12:39:31 +00:00
|
|
|
<div class="label-stripe">{{localize "BITD.Description"}}</div>
|
2020-05-04 10:10:57 +00:00
|
|
|
<textarea name="data.description">{{data.description}}</textarea>
|
|
|
|
</section>
|
|
|
|
</form>
|