copy from gods
This commit is contained in:
@@ -1,99 +1,87 @@
|
||||
<form class="{{cssClass}} {{actor.type}} flexcol" autocomplete="off">
|
||||
|
||||
{{!-- Sheet Header --}}
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img" src="{{actor.img}}" data-edit="img" title="{{actor.name}}" height="100" width="100"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{actor.name}}" placeholder="Name"/></h1>
|
||||
{{!-- The grid classes are defined in scss/global/_grid.scss. To use,
|
||||
use both the "grid" and "grid-Ncol" class where "N" can be any number
|
||||
from 1 to 12 and will create that number of columns. --}}
|
||||
<div class="resources grid grid-4col">
|
||||
{{#each system.attributes as |attribute att|}}
|
||||
<div class="resource flex-group-center">
|
||||
<label for="system.attributes.level.value" class="resource-label">{{ localize attribute.label }}</label>
|
||||
<div class="resource-content flexrow flex-center flex-between">
|
||||
<input type="text" name="system.attributes.{{att}}.value" value="{{attribute.value}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
|
||||
<div class="form">
|
||||
<aside>
|
||||
<img class="logo" src="systems/totem/assets/images/ui/logo.webp" height="56" width="230" alt="logo TOTEM" />
|
||||
<div class="sidebar" data-group="dashboard" data-tab="sidebar">
|
||||
<!--ID -->
|
||||
{{> "systems/totem/templates/actor/parts/actor-id.hbs"}}
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
</aside>
|
||||
<main>
|
||||
<!-- HEADER -->
|
||||
{{> "systems/totem/templates/actor/parts/character-header.hbs"}}
|
||||
|
||||
{{!-- Sheet Tab Navigation --}}
|
||||
<nav class="sheet-tabs tabs" data-group="primary">
|
||||
{{!-- Default tab is specified in actor-sheet.mjs --}}
|
||||
<a class="item" data-tab="features">Statistiques</a>
|
||||
<a class="item" data-tab="description">Background</a>
|
||||
<a class="item" data-tab="items">Matos</a>
|
||||
<a class="item" data-tab="spells">Totem</a>
|
||||
<a class="item" data-tab="effects">Santé</a>
|
||||
</nav>
|
||||
<!-- SHEET NAVIGATION -->
|
||||
<nav class="sheet-navigation sheet-tabs tabs flex-group-end" data-group="primary">
|
||||
<a class="item" data-tab="character" title="{{localize "GODS.tab_character_label"}}">
|
||||
<i class="fas fa-address-card"></i>
|
||||
</a>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
<a class="item" data-tab="instincts" title="{{localize "GODS.tab_instincts_label"}}">
|
||||
<i class="fas fa-star"></i>
|
||||
</a>
|
||||
|
||||
{{!-- Owned Features Tab --}}
|
||||
<div class="tab features" data-group="primary" data-tab="features">
|
||||
<h3>Caractéristiques</h3>
|
||||
<section class="grid grid-4col">
|
||||
{{#each config.abilityCategories as |abilityCategory ackey|}}
|
||||
<div>
|
||||
<h4 class="align-center">{{ localize abilityCategory.label }}</h4>
|
||||
{{#each @root.system.abilities as |ability key|}}
|
||||
{{#ife ability.category ackey }}
|
||||
<div class="ability flexcol flex-group-center items-center">
|
||||
<label for="system.abilities.{{key}}.value" class="resource-label rollable flexlarge align-left" data-label="{{ability.label}}">{{ability.label}}</label>
|
||||
<input type="text" name="system.abilities.{{key}}.value" value="{{ability.value}}" data-dtype="Number"/>
|
||||
</div>
|
||||
{{/ife}}
|
||||
{{/each}}
|
||||
<a class="item" data-tab="gods" title="{{localize "GODS.tab_gods_label"}}">
|
||||
<i class="fas fa-wand-magic-sparkles"></i>
|
||||
</a>
|
||||
|
||||
<a class="item" data-tab="equipment" title="{{localize "GODS.tab_equipment_label"}}">
|
||||
<i class="fas fa-hammer"></i>
|
||||
</a>
|
||||
|
||||
<a class="item" data-tab="stories" title="{{localize "GODS.tab_stories_label"}}">
|
||||
<i class="fas fa-hand-paper"></i>
|
||||
</a>
|
||||
|
||||
<a class="item" data-tab="combat" title="{{localize "GODS.tab_combat_label"}}">
|
||||
<i class="fas fa-medal"></i>
|
||||
</a>
|
||||
|
||||
<a class="manage-tabs" data-action="manage-tabs" title="{{localize "GODS.tab_options"}}">
|
||||
<i class="fas fa-fw fa-ellipsis-v"></i>
|
||||
</a>
|
||||
</nav>
|
||||
|
||||
<!-- BODY -->
|
||||
<section class="sheet-body">
|
||||
<section class="sheet-content">
|
||||
<div class="tab character character-pane active" data-group="primary" data-tab="character">
|
||||
<!-- Character -->
|
||||
{{> "systems/totem/templates/actor/parts/character-features.hbs"}}
|
||||
</div>
|
||||
{{/each}}
|
||||
</section>
|
||||
<h3>Compétences</h3>
|
||||
<div class="grid grid-cols-3">
|
||||
{{#each config.skillCategories as |skillCategory sckey|}}
|
||||
<div class="col">
|
||||
<h4>{{ localize skillCategory.label }}</h4>
|
||||
{{#each @root.system.skills as |skill skey|}}
|
||||
|
||||
{{#ife skill.category sckey }}
|
||||
<div class="ability flexrow flex-group-center">
|
||||
<label style="flex:80%;" for="system.skills.{{skey}}.value" class="resource-label rollable flexlarge align-left" data-roll="+@skills.{{skey}}d10" data-label="{{skill.label}}">{{ localize skill.label}} ({{skill.rarity}})</label>
|
||||
<input type="text" name="system.skills.{{skey}}.value" value="{{skill.value}}" data-dtype="Number"/>
|
||||
</div>
|
||||
{{/ife}}
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/each}}
|
||||
<div class="tab instincts" data-group="primary" data-tab="instincts">
|
||||
<h3>Instincts</h3>
|
||||
<!-- Rituals -->
|
||||
{{> "systems/totem/templates/actor/parts/actor-instincts.hbs"}}
|
||||
</div>
|
||||
<div class="tab gods" data-group="primary" data-tab="gods">
|
||||
<h3>Dieux</h3>
|
||||
<!-- Rituals -->
|
||||
{{> "systems/totem/templates/actor/parts/actor-spells.html"}}
|
||||
|
||||
</div>
|
||||
<div class="tab equipment" data-group="primary" data-tab="equipment">
|
||||
<h3>Equipement</h3>
|
||||
<!-- Rituals -->
|
||||
{{> "systems/totem/templates/actor/parts/actor-items.html"}}
|
||||
</div>
|
||||
<div class="tab combat" data-group="primary" data-tab="combat">
|
||||
<h3>Combat</h3>
|
||||
<!-- effects -->
|
||||
{{> "systems/totem/templates/actor/parts/actor-effects.html"}}
|
||||
</div>
|
||||
|
||||
<div class="tab stories" data-group="primary" data-tab="stories">
|
||||
<h3>Histoire</h3>
|
||||
<section class="biography-details">
|
||||
<label class="details-label">Bio</label>
|
||||
{{editor system.stories.biography target="system.stories.biography" button=true owner=owner editable=editable}}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{{!-- Biography Tab --}}
|
||||
<div class="tab biography" data-group="primary" data-tab="description">
|
||||
{{!-- If you want TinyMCE editors to output inline rolls when rendered, you need to pass the actor's roll data to the rollData property. --}}
|
||||
{{editor system.biography target="system.biography" rollData=rollData button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
|
||||
{{!-- Owned Items Tab --}}
|
||||
<div class="tab items" data-group="primary" data-tab="items">
|
||||
{{> "systems/totem/templates/actor/parts/actor-items.html"}}
|
||||
</div>
|
||||
|
||||
{{!-- Owned Spells Tab --}}
|
||||
<div class="tab spells" data-group="primary" data-tab="spells">
|
||||
{{> "systems/totem/templates/actor/parts/actor-spells.html"}}
|
||||
</div>
|
||||
|
||||
{{!-- Active Effects Tab --}}
|
||||
<div class="tab effects flexcol" data-group="primary" data-tab="effects">
|
||||
{{> "systems/totem/templates/actor/parts/actor-effects.html"}}
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
</section>
|
||||
</section>
|
||||
</main>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
<ul class="padding-with-frieze unstyled">
|
||||
<li>
|
||||
<div class="flexrow flex-group-center items-center">
|
||||
<label for="system.identity.age" class="resource-label flexlarge align-left">Age</label>
|
||||
<input type="number" name="system.identity.age" value="{{ system.identity.age }}" data-dtype="Number"/>
|
||||
<span>cm</span>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="flexrow flex-group-center items-center">
|
||||
<label for="system.identity.height" class="resource-label flexlarge align-left">Taille</label>
|
||||
<input type="number" name="system.identity.height" value="{{ system.identity.height }}" data-dtype="Number"/>
|
||||
<span>cm</span>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="flexrow flex-group-center items-center">
|
||||
<label for="system.identity.weigth" class="resource-label flexlarge align-left">Poids</label>
|
||||
<input type="number" name="system.identity.weigth" value="{{ system.identity.weigth }}" data-dtype="Number"/>
|
||||
<span>kgs</span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="flexcol flex-group-center items-center w-full">
|
||||
<label for="system.identity.gender" class="resource-label flexlarge align-left">Sexe</label>
|
||||
<select name="system.identity.gender" class="w-full">
|
||||
{{selectOptions config.sexes selected=system.identity.gender localize=true}}
|
||||
</select>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="flexcol flex-group-center items-center w-full">
|
||||
<label for="system.identity.sign" class="resource-label flexlarge align-left">Signe astro.</label>
|
||||
<select name="system.identity.sign" class="w-full">
|
||||
{{selectOptions config.signs selected=system.identity.sign localize=true}}
|
||||
</select>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="flexcol flex-group-center items-center w-full">
|
||||
<label for="system.identity.origin" class="resource-label flexlarge align-left">Origine</label>
|
||||
<select name="system.identity.origin" class="w-full">
|
||||
{{selectOptions config.origins selected=system.identity.origin localize=true}}
|
||||
</select>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -0,0 +1,23 @@
|
||||
<ol class="items-list">
|
||||
<li class="item flexrow items-header">
|
||||
<div class="item-name">Principes</div>
|
||||
</li>
|
||||
<li class="item flexrow items-header">
|
||||
<div class="item-name">Interdits</div>
|
||||
</li>
|
||||
{{#each gear as |item id|}}
|
||||
<li class="item flexrow" data-item-id="{{item._id}}">
|
||||
<div class="item-name">
|
||||
<div class="item-image">
|
||||
<a class="rollable" data-roll-type="item"><img src="{{item.img}}" title="{{item.name}}" width="24" height="24"/></a>
|
||||
</div>
|
||||
<h4>{{item.name}}</h4>
|
||||
</div>
|
||||
<div class="item-formula item-prop">{{item.system.formula}}</div>
|
||||
<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>
|
||||
@@ -0,0 +1,34 @@
|
||||
<!-- Character -->
|
||||
<h3>Caractéristiques</h3>
|
||||
<div class="grid grid-4col">
|
||||
{{#each config.abilityCategories as |abilityCategory ackey|}}
|
||||
<div>
|
||||
<h4 class="align-center">{{ smarttl "ABILITY_CATEGORIES" ackey }}</h4>
|
||||
{{#each @root.system.abilities as |ability key|}}
|
||||
{{#if (eq ability.category ackey) }}
|
||||
<div class="ability flexcol flex-group-center items-center">
|
||||
<label for="system.abilities.{{key}}.value" class="resource-label rollable flexlarge align-left" data-label="{{ smarttl "ABILITIES" key }}">{{ smarttl "ABILITIES" key }}</label>
|
||||
<input type="text" name="system.abilities.{{key}}.value" value="{{ability.value}}" data-dtype="Number"/>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
<h3>Compétences</h3>
|
||||
<div class="grid grid-cols-3">
|
||||
{{#each config.skillCategories as |skillCategory sckey|}}
|
||||
<div class="col">
|
||||
<h4>{{ smarttl "SKILLS_CATEGORIES" sckey }}</h4>
|
||||
{{#each @root.system.skills as |skill skey|}}
|
||||
|
||||
{{#if (eq skill.category sckey) }}
|
||||
<div class="ability flexrow flex-group-center">
|
||||
<label style="flex:80%;" for="system.skills.{{skey}}.value" class="resource-label rollable flexlarge align-left" data-roll="+@skills.{{skey}}d10" data-label="{{ smarttl "SKILLS" skey }}">{{ smarttl "SKILLS" skey }} ({{skill.rarity}})</label>
|
||||
<input type="text" name="system.skills.{{skey}}.value" value="{{skill.value}}" data-dtype="Number"/>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
@@ -0,0 +1,19 @@
|
||||
<!-- HEADER -->
|
||||
<header class="char-header">
|
||||
<section class="char-details">
|
||||
<h1 class="char-name">
|
||||
<input name="name" type="text" value="{{actor.name}}" placeholder="{{localize "GODS.CharacterNamePlaceholder"}}" spellcheck="false" />
|
||||
</h1>
|
||||
|
||||
</section>
|
||||
<section class="char-level">
|
||||
<div class="reputation">
|
||||
<label>total {{ data.attributes.reputation.max }}</label>
|
||||
<input name="system.attributes.reputation.value" type="text" value="{{data.attributes.reputation.value }}" data-dtype="Number" placeholder="1000" size="4" />
|
||||
</div>
|
||||
<div class="experience">
|
||||
<input name="system.details.xp.value" type="text" value="{{data.attributes.xp.value}}" data-dtype="Number" data-allow-delta placeholder="0" size="4" />
|
||||
<label>total {{data.attributes.xp.max}}</label>
|
||||
</div>
|
||||
</section>
|
||||
</header>
|
||||
Reference in New Issue
Block a user