foundryvtt-frostgrave/templates/actor/partials/actor-header.html

70 lines
3.5 KiB
HTML
Raw Normal View History

2021-05-28 18:16:02 +02:00
<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">
2021-05-29 23:20:50 +02:00
{{#select data.data.category}}
2021-05-31 00:06:05 +02:00
<option value="Wizard">{{localize Wizard}}</option>
<option value="Apprentice">{{localize Apprentice}}</option>
<option value="Soldier">{{localize Soldier}}</option>
<option value="Creature">{{localize Creature}}</option>
2021-05-28 18:16:02 +02:00
{{/select}}
</select>
</div>
</div>
<div class="column is-6">
<div class="select is-fullwidth">
<select name="data.class" data-dtype="String">
2021-05-29 23:20:50 +02:00
{{#select data.data.class}}
{{#if (or (eq data.data.category "Wizard") (eq data.data.category "Apprentice"))}}
2021-05-31 00:06:05 +02:00
<option value="Chronomancer">{{localize Chronomancer}}</option>
<option value="Elementalist">{{localize Elementalist}}</option>
<option value="Enchanter">{{localize Enchanter}}</option>
<option value="Illusionist">{{localize Illusionist}}</option>
<option value="Necromancer">{{localize Necromancer}}</option>
<option value="Sigilist">{{localize Sigilist}}</option>
<option value="Soothsayer">{{localize Soothsayer}}</option>
<option value="Summoner">{{localize Summoner}}</option>
<option value="Thaumaturge">{{localize Thaumaturge}}</option>
<option value="Witch">{{localize Witch}}</option>
2021-05-28 18:16:02 +02:00
{{/if}}
2021-05-29 23:20:50 +02:00
{{#if (eq data.data.category "Soldier")}}
2021-05-31 00:06:05 +02:00
<option value="Standard">{{localize Standard}}</option>
<option value="Specialist">{{localize Specialist}}</option>
2021-05-28 18:16:02 +02:00
{{/if}}
2021-05-29 23:20:50 +02:00
{{#if (eq data.data.category "Creature")}}
2021-05-31 00:06:05 +02:00
<option value="Uncontrolled">{{localize Uncontrolled}}</option>
<option value="Controlled">{{localize Controlled}}</option>
2021-05-28 18:16:02 +02:00
{{/if}}
2021-05-29 23:20:50 +02:00
{{#if (eq data.data.category "Base")}}
2021-05-31 00:06:05 +02:00
<option value="Inn">{{localize Inn}}</option>
<option value="Temple">{{localize Temple}}</option>
<option value="Crypt">{{localize Crypt}}</option>
<option value="Tower">{{localize Tower}}</option>
<option value="Treasury">{{localize Treasury}}</option>
<option value="Brewery">{{localize Brewery}}</option>
<option value="Library">{{localize Library}}</option>
<option value="Laboratory">{{localize Laboratory}}</option>
2021-05-28 18:16:02 +02:00
{{/if}}
{{/select}}
</select>
</div>
</div>
</div>
</div>
</div>