2020-05-04 10:10:57 +00:00
|
|
|
<form class="{{cssClass}}" autocomplete="off">
|
|
|
|
|
|
|
|
<header class="sheet-header">
|
2020-12-16 08:52:18 +00:00
|
|
|
<img src="{{item.img}}" data-edit="img" title="{{item.name}}"/>
|
2020-05-04 10:10:57 +00:00
|
|
|
<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-10-30 10:55:48 +00:00
|
|
|
{{#if (eq data.cohort "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-10-30 10:55:48 +00:00
|
|
|
|
|
|
|
<select name="data.gang_type" multiple>
|
|
|
|
{{selectOptionsWithLabel data.gang_type_list selected=data.gang_type localize=true}}
|
|
|
|
</select>
|
|
|
|
|
2020-05-04 10:10:57 +00:00
|
|
|
</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-10-30 10:55:48 +00:00
|
|
|
{{#if (eq data.cohort "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|}}
|
|
|
|
<div class="edgeflaw flex-horizontal">
|
2021-01-04 14:27:11 +00:00
|
|
|
<input id="cohort-{{item._id}}-edge-{{key}}" type="checkbox" name="data.edges_list.{{key}}.selected"
|
|
|
|
{{checked edge.selected}}>
|
|
|
|
<label for="cohort-{{item._id}}-edge-{{key}}">{{localize edge.label}}</label>
|
2020-05-04 10:10:57 +00:00
|
|
|
</div>
|
|
|
|
{{/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|}}
|
|
|
|
<div class="edgeflaw flex-horizontal">
|
2021-01-04 14:27:11 +00:00
|
|
|
<input id="cohort-{{item._id}}-flaw-{{key}}" type="checkbox" name="data.flaws_list.{{key}}.selected"
|
|
|
|
{{checked flaw.selected}}>
|
|
|
|
<label for="cohort-{{item._id}}-flaw-{{key}}">{{localize flaw.label}}</label>
|
2020-05-04 10:10:57 +00:00
|
|
|
</div>
|
|
|
|
{{/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>
|