changed vehicle sheet to just use standard equipment partial
This commit is contained in:
@@ -57,107 +57,15 @@
|
||||
|
||||
</div>
|
||||
|
||||
{{!-- GEAR --}}
|
||||
{{!-- GEAR Tab --}}
|
||||
<div class="tab items" data-group="primary" data-tab="gear">
|
||||
|
||||
<div>
|
||||
|
||||
<div class="horizontal-bar-section-divider">
|
||||
<span>{{localize 'DG.Gear.Armor'}}</span>
|
||||
</div>
|
||||
|
||||
<ol class="items-list">
|
||||
<li class="item flexrow item-header">
|
||||
<div class="item-image"></div>
|
||||
<div class="item-name">{{localize 'DG.Gear.Name'}}</div>
|
||||
<span class="centered-item-property">{{localize 'DG.Gear.ArmorRating'}}</span>
|
||||
<span class="centered-item-property">{{localize 'DG.Gear.Equipped'}}</span>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-create action-pill" title="Create item" data-type="armor"><i class="fas fa-plus"></i> {{localize 'DG.Generic.AddButtonLabel'}}</a>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
{{#each actor.armor as |item id|}}
|
||||
|
||||
<li class="item flexrow" data-item-id="{{item._id}}">
|
||||
<div class="item-image"><img src="{{item.img}}" title="{{item.name}}" width="24" height="24"/></div>
|
||||
<h4 style="word-wrap: break-word;" class="item-name">{{item.name}}</h4>
|
||||
<span class="centered-item-property">{{item.system.protection}}</span>
|
||||
|
||||
<span class="equipped-item centered-item-property" data-id="{{item._id}}" title="{{localize 'DG.Tooltip.ToggleEquippedState'}}">
|
||||
{{#if item.system.equipped}}
|
||||
<span class="fas fa-check"></span>
|
||||
{{else}}
|
||||
<span class="fas fa-times"></span>
|
||||
{{/if}}
|
||||
</span>
|
||||
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
{{/each}}
|
||||
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
<div class="horizontal-bar-section-divider">
|
||||
<span>{{localize 'DG.Gear.OtherGear'}}</span>
|
||||
</div>
|
||||
|
||||
<ol class="items-list">
|
||||
<li class="item flexrow item-header">
|
||||
<div class="item-image"></div>
|
||||
<div class="item-name">{{localize 'DG.Gear.Name'}}</div>
|
||||
<div class="item-name"></div>
|
||||
<span class="centered-item-property">{{localize 'DG.Gear.Equipped'}}</span>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-create action-pill" title="Create item" data-type="gear"><i class="fas fa-plus"></i> {{localize 'DG.Generic.AddButtonLabel'}}</a>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
{{#each actor.gear as |item id|}}
|
||||
|
||||
<li class="item flexrow" data-item-id="{{item._id}}">
|
||||
|
||||
<div class="item-image"><img src="{{item.img}}" title="{{item.name}}" width="24" height="24"/></div>
|
||||
|
||||
<h4 style="word-wrap: break-word;" class="item-name">{{item.name}}</h4>
|
||||
|
||||
<span></span> <!-- This is just here to get things to align nicely with the other sections-->
|
||||
|
||||
<span class="equipped-item centered-item-property" data-id="{{item._id}}" title="{{localize 'DG.Tooltip.ToggleEquippedState'}}" >
|
||||
|
||||
{{#if item.system.equipped}}
|
||||
<span class="fas fa-check"></span>
|
||||
{{else}}
|
||||
<span class="fas fa-times"></span>
|
||||
{{/if}}
|
||||
|
||||
</span>
|
||||
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
{{/each}}
|
||||
|
||||
</ol>
|
||||
|
||||
</div>
|
||||
|
||||
{{> "systems/deltagreen/templates/actor/equipment-partial.html" }}
|
||||
</div>
|
||||
|
||||
{{!-- About Tab --}}
|
||||
<div class="tab about" data-group="primary" data-tab="about">
|
||||
{{> "systems/deltagreen/templates/actor/help-and-licensing-partial.html" }}
|
||||
</div>
|
||||
{{!-- About Tab --}}
|
||||
<div class="tab about" data-group="primary" data-tab="about">
|
||||
{{> "systems/deltagreen/templates/actor/help-and-licensing-partial.html" }}
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user