vehicules pour la feuille de groupe - v0.0.14

This commit is contained in:
François-Xavier Guillois
2023-06-06 16:02:39 +02:00
parent aed892e4d4
commit e5396b6991
14 changed files with 695 additions and 10 deletions
+78
View File
@@ -0,0 +1,78 @@
<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-3col">
{{!-- "flex-group-center" is also defined in the _grid.scss file
and it will add a small amount of padding, a border, and will
center all of its child elements content and text. --}}
<div class="resource flex-group-center">
<label for="system.health.value" class="resource-label">Health</label>
<div class="resource-content flexrow flex-center flex-between">
<input type="text" name="system.health.value" value="{{system.health.value}}" data-dtype="Number"/>
<span> / </span>
<input type="text" name="system.health.max" value="{{system.health.max}}" data-dtype="Number"/>
</div>
</div>
<div class="resource flex-group-center">
<label for="system.power.value" class="resource-label">Power</label>
<div class="resource-content flexrow flex-center flex-between">
<input type="text" name="system.power.value" value="{{system.power.value}}" data-dtype="Number"/>
<span> / </span>
<input type="text" name="system.power.max" value="{{system.power.max}}" data-dtype="Number"/>
</div>
</div>
<div class="resource flex-group-center">
<label for="system.cr" class="resource-label">CR / XP</label>
<div class="resource-content flexrow flex-center flex-between">
<input type="text" name="system.cr" value="{{system.cr}}" data-dtype="Number"/>
<span> / </span>
<input type="text" disabled="true" name="system.xp" value="{{system.xp}}" data-dtype="Number"/>
</div>
</div>
</div>
</div>
</header>
{{!-- Sheet Tab Navigation --}}
<nav class="sheet-tabs tabs" data-group="primary">
{{!-- Default tab is specified in actor-sheet.mjs --}}
<a class="item" data-tab="description">{{localize 'VERMINE.information' }}</a>
<a class="item" data-tab="gear">{{localize 'VERMINE.gear' }}</a>
<a class="item" data-tab="totem">{{localize 'VERMINE.experience' }}</a>
</nav>
{{!-- Sheet Body --}}
<section class="sheet-body">
{{!-- Biography Tab --}}
<div class="tab biography" data-group="primary" data-tab="description">
<h3>{{ localize 'VERMINE.information'}}</h3>
{{> "systems/vermine2047/templates/actor/parts/group-info.hbs"}}
</div>
{{!-- Owned Items Tab --}}
<div class="tab items" data-group="primary" data-tab="gear">
<h3>{{ localize 'VERMINE.gear'}}</h3>
{{> "systems/vermine2047/templates/actor/parts/group-items.hbs"}}
</div>
{{!-- Active Effects Tab --}}
<div class="tab effects flexcol" data-group="primary" data-tab="totem">
<h3>{{ localize 'VERMINE.experience'}}</h3>
{{> "systems/vermine2047/templates/actor/parts/group-experience.hbs"}}
</div>
</section>
</form>