mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 07:59:03 +01:00
Added attribution for items, adversary and environment
This commit is contained in:
parent
2820c96259
commit
5f20505eda
22 changed files with 288 additions and 13 deletions
26
templates/dialogs/attribution.hbs
Normal file
26
templates/dialogs/attribution.hbs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<div class="attribution-container">
|
||||
<h4>{{item.name}}</h4>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="form-fields">
|
||||
<label>{{localize "DAGGERHEART.ITEMS.FIELDS.attribution.source.label"}}</label>
|
||||
<input type="text" name="source" value="{{data.source}}" class="attribution-input" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="form-fields">
|
||||
<label>{{localize "DAGGERHEART.ITEMS.FIELDS.attribution.page.label"}}</label>
|
||||
<input type="text" name="page" value="{{data.page}}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="form-fields">
|
||||
<label>{{localize "DAGGERHEART.ITEMS.FIELDS.attribution.artist.label"}}</label>
|
||||
<input type="text" name="artist" value="{{data.artist}}" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<button type="submit">{{localize "Save"}}</button>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
@ -7,4 +7,8 @@
|
|||
<legend>{{localize tabs.notes.label}}</legend>
|
||||
{{formInput notes.field value=notes.value enriched=notes.enriched toggled=true}}
|
||||
</fieldset>
|
||||
|
||||
{{#if document.system.attribution.artist}}
|
||||
<label class="artist-attribution">{{localize "DAGGERHEART.GENERAL.artistAttribution" artist=document.system.attribution.artist}}</label>
|
||||
{{/if}}
|
||||
</section>
|
||||
|
|
@ -7,4 +7,8 @@
|
|||
<legend>{{localize tabs.notes.label}}</legend>
|
||||
{{formInput notes.field value=notes.value enriched=notes.value toggled=true}}
|
||||
</fieldset>
|
||||
|
||||
{{#if document.system.attribution.artist}}
|
||||
<label class="artist-attribution">{{localize "DAGGERHEART.GENERAL.artistAttribution" artist=document.system.attribution.artist}}</label>
|
||||
{{/if}}
|
||||
</section>
|
||||
|
|
@ -7,4 +7,8 @@
|
|||
<legend>{{localize "DAGGERHEART.GENERAL.description"}}</legend>
|
||||
{{formInput systemFields.description value=document.system.description enriched=enrichedDescription toggled=true}}
|
||||
</fieldset>
|
||||
|
||||
{{#if document.system.attribution.artist}}
|
||||
<label class="artist-attribution">{{localize "DAGGERHEART.GENERAL.artistAttribution" artist=document.system.attribution.artist}}</label>
|
||||
{{/if}}
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue