actor picker 1
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
<div class="grid grid-2col">
|
||||
<div>
|
||||
<h4 class="align-center">{{ localize 'VERMINE.group_members'}}</h4>
|
||||
<h4 class="align-center">
|
||||
<span>{{ localize 'VERMINE.group_members'}}</span>
|
||||
<a class="item-control chooseActor" title="Add member" data-type="members"><i class="fas fa-plus"></i></a>
|
||||
</h4>
|
||||
<ol class="list-item">
|
||||
{{#each specialties as |item id|}}
|
||||
<li class="item flexrow" data-item-id="{{item._id}}">
|
||||
@@ -16,7 +19,10 @@
|
||||
</ol>
|
||||
</div>
|
||||
<div>
|
||||
<h4 class="align-center">{{ localize 'VERMINE.encounters'}}</h4>
|
||||
<h4 class="align-center">
|
||||
<span>{{ localize 'VERMINE.encounters'}}</span>
|
||||
<a class="item-control chooseActor" title="Add member" data-type="encounters"><i class="fas fa-plus"></i></a>
|
||||
</h4>
|
||||
<ol class="list-item">
|
||||
{{#each backgrounds as |item id|}}
|
||||
<li class="item flexrow" data-item-id="{{item._id}}">
|
||||
@@ -32,7 +38,10 @@
|
||||
</ol>
|
||||
</div>
|
||||
<div>
|
||||
<h4 class="align-center">{{ localize 'VERMINE.boost'}}</h4>
|
||||
<h4 class="align-center">
|
||||
<span>{{ localize 'VERMINE.boost'}}</span>
|
||||
<a class="item-control chooseActor" title="Add encounter" data-type="npc"><i class="fas fa-plus"></i></a>
|
||||
</h4>
|
||||
<ol class="list-item">
|
||||
{{#each abilities as |item id|}}
|
||||
<li class="item flexrow" data-item-id="{{item._id}}">
|
||||
@@ -48,7 +57,10 @@
|
||||
</ol>
|
||||
</div>
|
||||
<div>
|
||||
<h4 class="align-center">{{ localize 'VERMINE.totem_abilities'}}</h4>
|
||||
<h4 class="align-center">
|
||||
<span>{{ localize 'VERMINE.totem_abilities'}}</span>
|
||||
<a class="item-control item-create" title="Create item" data-type="ability"><i class="fas fa-plus"></i></a>
|
||||
</h4>
|
||||
<ol class="list-item">
|
||||
{{#each totem_abilities as |item id|}}
|
||||
<li class="item flexrow" data-item-id="{{item._id}}">
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<div class="actor choose flexrow row">
|
||||
{{#each actorsList as | actor akey|}}
|
||||
<div class="actor rounded-full" data-totem="{{ tk }}" data-id="{{ actor.id }}" style="position:relative; width:100px;height:100px;">
|
||||
<span class="flexrow w-full flex-group-center flex-align-center" style="position:absolute;z-index:10;height:100%;">{{ actor.name }}</span>
|
||||
<img src="{{ actor.img }}" alt="{{ actor.name }}" width="100" height="100" style="position:relative;" />
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
@@ -6,21 +6,24 @@
|
||||
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
{{!-- Sheet Tab Navigation --}}
|
||||
<nav class="sheet-tabs tabs" data-group="primary">
|
||||
<a class="item active" data-tab="description">Description</a>
|
||||
<a class="item active" data-tab="description">{{ VERMINE.stats }}</a>
|
||||
</nav>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{!-- Description Tab --}}
|
||||
<div class="tab" data-group="primary" data-tab="description">
|
||||
{{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}}
|
||||
|
||||
<div class="tab flexrow" data-group="primary" data-tab="description">
|
||||
<aside style="flex:1">
|
||||
<div class="resource">
|
||||
<label class="resource-label">{{ localize "VERMINE.level"}}</label>
|
||||
<input type="number" name="system.level" value="{{system.level}}" data-dtype="Number"/>
|
||||
</div>
|
||||
<div class="resource">
|
||||
<label class="resource-label">{{ localize "VERMINE.type"}}</label>
|
||||
<input type="number" name="system.type" value="{{system.type}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</aside>
|
||||
<main class="editor-wrapper" style="flex:10">
|
||||
{{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}}
|
||||
</main>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user