This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
foundryvtt-beam-saber/templates/items/faction.html
2021-08-07 14:28:16 -04:00

62 lines
3 KiB
HTML

<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img src="{{item.img}}" data-edit="img" title="{{item.name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeholder="{{localize 'BITD.Faction'}}"/></h1>
</div>
</header>
<section class="flex-vertical">
<label class="label-stripe">{{localize "BITD.Description"}}</label>
<textarea rows="2" name="data.description">{{data.description}}</textarea>
<label class="label-stripe">{{localize "BITD.FactionType"}}</label>
{{data.type}}<br><br>
<label class="label-stripe">{{localize "BITD.Tier"}}</label>
<textarea rows="1" name="data.tier">{{data.tier}}</textarea>
<label class="label-stripe">{{localize "BITD.Notes"}}</label>
<textarea rows="2" name="data.notes">{{data.notes}}</textarea>
{{#if isGM }}
<label class="label-stripe">{{localize "BITD.Goal"}}</label>
<div class="flex-vertical clock-block" id="faction-goal-clock">
<div class="clocks clocks-{{data.goal_1_clock_max}} small" id="faction-clock-1">
{{{blades-clock "data.goal_1_clock_value" data.goal_1_clock_max data.goal_1_clock_value (concat item.id "-1")}}}
</div>
<div id="clock-max-1">
<select id="max-1" name="data.goal_1_clock_max">
{{{data.size_list_1}}}
</select>
</div>
<textarea rows="1" name="data.goal_1">{{data.goal_1}}</textarea>
<div class="clocks clocks-{{data.goal_1_clock_max}} small" id="faction-clock-2">
{{{blades-clock "data.goal_2_clock_value" data.goal_2_clock_max data.goal_2_clock_value (concat item.id "-2")}}}
</div>
<div id="clock-max-2">
<select id="max-2" name="data.goal_2_clock_max">
{{{data.size_list_2}}}
</select>
</div>
<textarea rows="1" name="data.goal_2">{{data.goal_2}}</textarea>
</div>
<label class="label-stripe">{{localize "BITD.NotableNPCs"}}</label>
<textarea rows="10" name="data.notables">{{data.notables}}</textarea>
<label class="label-stripe">{{localize "BITD.Turf"}}</label>
<textarea rows="2" name="data.turf">{{data.turf}}</textarea>
<label class="label-stripe">{{localize "BITD.Assets"}}</label>
<textarea rows="1" name="data.assets">{{data.assets}}</textarea>
<label class="label-stripe">{{localize "BITD.Quirks"}}</label>
<textarea rows="1" name="data.quirks">{{data.quirks}}</textarea>
<label class="label-stripe">{{localize "BITD.Allies"}}</label>
<textarea rows="1" name="data.allies">{{data.allies}}</textarea>
<label class="label-stripe">{{localize "BITD.Enemies"}}</label>
<textarea rows="1" name="data.enemies">{{data.enemies}}</textarea>
<label class="label-stripe">{{localize "BITD.Situation"}}</label>
<textarea rows="10" name="data.situation">{{data.situation}}</textarea>
{{/if}}
</section>
</form>