foundryvtt-frostgrave/templates/actor/partials/actor-header.html
2021-05-29 23:20:50 +02:00

71 lines
3.2 KiB
HTML

<div class="columns">
<div class="column is-3">
<figure class="image is-square">
<img class="is-cover" src="{{actor.img}}" data-edit="img" title="{{actor.name}}" />
</figure>
</div>
<div class="column">
<input class="input is-info is-medium" name="name" type="text" value="{{actor.name}}" placeholder="Name" />
<div class="columns pt-2">
<div class="column is-6">
<div class="select is-fullwidth">
<select name="data.category" data-dtype="String">
{{#select data.data.category}}
<option value="Wizard">Wizard</option>
<option value="Apprentice">Apprentice</option>
<option value="Soldier">Soldier</option>
<option value="Creature">Creature</option>
<option value="Base">Base</option>
{{/select}}
</select>
</div>
</div>
<div class="column is-6">
<div class="select is-fullwidth">
<select name="data.class" data-dtype="String">
{{#select data.data.class}}
{{#if (or (eq data.data.category "Wizard") (eq data.data.category "Apprentice"))}}
<option value="Chronomancer">Chronomancer</option>
<option value="Elementalist">Elementalist</option>
<option value="Enchanter">Enchanter</option>
<option value="Illusionist">Illusionist</option>
<option value="Necromancer">Necromancer</option>
<option value="Sigilist">Sigilist</option>
<option value="Soothsayer">Soothsayer</option>
<option value="Summoner">Summoner</option>
<option value="Thaumaturge">Thaumaturge</option>
<option value="Witch">Witch</option>
{{/if}}
{{#if (eq data.data.category "Soldier")}}
<option value="Standard">Standard</option>
<option value="Specialist">Specialist</option>
{{/if}}
{{#if (eq data.data.category "Creature")}}
<option value="Uncontrolled">Uncontrolled</option>
<option value="Controlled">Controlled</option>
{{/if}}
{{#if (eq data.data.category "Base")}}
<option value="Inn">Inn</option>
<option value="Temple">Temple</option>
<option value="Crypt">Crypt</option>
<option value="Tower">Tower</option>
<option value="Treasury">Treasury</option>
<option value="Brewery">Brewery</option>
<option value="Library">Library</option>
<option value="Laboratory">Laboratory</option>
{{/if}}
{{/select}}
</select>
</div>
</div>
</div>
</div>
</div>