-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #146 from juanferrer/master
Add support for relics
- Loading branch information
Showing
15 changed files
with
189 additions
and
8 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
<form class="{{cssClass}} item-form dl-item-form" autocomplete="off"> | ||
{{> "systems/demonlord/templates/item/partial/item-sheet-header.hbs" item=item placeholderName="Relic Name"}} | ||
|
||
{{!-- Sheet Tab Navigation --}} | ||
<nav class="sheet-tabs tabs" data-group="primary"> | ||
<a class="item" data-tab="attributes">{{localize "DL.TabsAttributes"}}</a> | ||
<a class="item" data-tab="description">{{localize "DL.TabsDescription"}}</a> | ||
{{#if effects}}<a class="item" data-tab="effects">{{localize "DL.TabsEffects"}}</a>{{/if}} | ||
</nav> | ||
|
||
{{!-- Sheet Body --}} | ||
<section class="sheet-body"> | ||
<section class="sheet-content"> | ||
{{!-- Attributes Tab --}} | ||
<div class="tab" data-group="primary" data-tab="attributes"> | ||
|
||
<div class="dl-item-section-header row"> | ||
<div class="col-12" style="margin-top: 4px"> | ||
<b>{{item.name}}</b> | ||
</div> | ||
</div> | ||
<hr> | ||
|
||
<div class="dl-item-section-section margin"> | ||
<div> | ||
<b>{{localize "DL.SpellRequirements"}}</b> | ||
<div> | ||
{{dlDropdownValue "system.requirement.attribute" system.requirement.attribute "system.requirement.minvalue" system.requirement.minvalue }} | ||
</div> | ||
</div> | ||
</div> | ||
<hr> | ||
|
||
{{#if system.description}} | ||
<div class="dl-item-section-description"> | ||
<div><b>{{localize "DL.TabsDescription"}}</b></div> | ||
<div> | ||
{{{system.enrichedDescription}}} | ||
</div> | ||
</div> | ||
<hr> | ||
{{/if}} | ||
|
||
{{#if system.contents}} | ||
<div class="dl-item-section-contents"> | ||
<div class="dl-text-header-upper dl-underline-red dl-item-row-header"> | ||
<div class="col-11">{{localize "DL.TabsEffects"}}</div> | ||
</div> | ||
{{#each item.system.contents as |content index|}} | ||
<div class="dl-item-row dl-nested-item dropitem" data-item-index="{{index}}" data-item-id="{{content._id}}"> | ||
<div class="row"> | ||
<div class="col-11"> | ||
<img class='dl-clickable edit-nested-item' src="{{content.img}}" title="{{content.name}}" width="32" | ||
height="32"/> | ||
<label class="dl-clickable-nored item-roll">{{content.name}}</label> | ||
<div class="dl-clickable dlToggleInfoBtn"> | ||
<i class="fas fa-angle-right"></i> {{localize "DL.ItemShowInfo"}} | ||
</div> | ||
</div> | ||
<div class="col-1 dl-clickable" style="padding-top: 3px"> | ||
<a class="dl-clickable item-delete" title="{{localize 'DL.ItemDeleteRelic'}}" | ||
style="margin-left: 2px; margin-top: 3px;"> | ||
<i class="fas fa-times"></i> | ||
</a> | ||
</div> | ||
</div> | ||
{{#if content.system.description}} | ||
<div class="row dlInfo" style="display: none; text-align: left"> | ||
<div class="col-12" style="padding: 2px 4px 4px;"> | ||
{{{content.system.enrichedDescription}}} | ||
</div> | ||
</div> | ||
{{/if}} | ||
</div> | ||
{{/each}} | ||
</div> | ||
<hr> | ||
{{/if}} | ||
</div> | ||
|
||
{{> "systems/demonlord/templates/item/partial/item-description.hbs"}} | ||
|
||
{{#if effects}}{{> "systems/demonlord/templates/item/partial/item-effects.hbs"}}{{/if}} | ||
</section> | ||
</section> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters