standardization pass

This commit is contained in:
Vlyan
2020-12-18 16:31:03 +01:00
parent 9893ca4223
commit 003bcc1761
65 changed files with 131 additions and 149 deletions

View File

@@ -0,0 +1,10 @@
<fieldset class="weapons-content">
<legend class="section-header">{{ localize 'l5r5e.property' }}</legend>
<ul class="item-list">
{{#each actor.items as |item id|}}
{{#ifCond item.type '==' 'property'}}
{{> 'systems/l5r5e/templates/items/property/property-entry.html' item=item id=id }}
{{/ifCond}}
{{/each}}
</ul>
</fieldset>

View File

@@ -0,0 +1,9 @@
<li class="item flexcol" data-item-id="{{item._id}}">
<ul class="item-header item-control">
<li class="item-img"><img src="{{item.img}}" title="{{item.name}}" width="32px" height="32px"/></li>
<li class="item-name">{{ item.name }}</li>
<li class="item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
<li class="item-delete" title="{{localize 'l5r5e.global.delete'}}"><i class="fas fa-trash"></i></li>
</ul>
<div class="item-description">{{{ item.data.description }}}</div>
</li>

View File

@@ -0,0 +1,22 @@
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="profile-img" src="{{item.img}}" data-edit="img" title="{{item.name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeholder="Name"/></h1>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
{{!-- Sheet Tab Navigation --}}
<nav class="sheet-tabs tabs" data-group="primary">
<a class="item" data-tab="description">Description</a>
</nav>
{{!-- Description Tab --}}
<article class="tab" data-group="primary" data-tab="description">
<fieldset>
<legend class="text-block-header">{{ localize 'l5r5e.description' }}</legend>
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</fieldset>
</article>
</section>
</form>