totem picker done

This commit is contained in:
François-Xavier Guillois
2023-08-31 19:18:37 +02:00
parent 987bb9fd6e
commit ff6be3989e
8 changed files with 152 additions and 28 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
<!-- HEADER -->
<header class="char-header grid grid-2col">
<section class="char-details">
<h1 class="char-name flexrow flex-group-left">
<h1 class="char-name flexrow flex-group-left w-full">
<label>{{ localize 'IDENTITY.name' }}</label>
<input name="name" type="text" value="{{actor.name}}" placeholder="{{localize "VERMINE.CharacterNamePlaceholder"}}" />
</h1>
@@ -11,21 +11,21 @@
</div>
<div class="flexrow flex-group-center">
<label for="system.identity.age">{{ localize 'IDENTITY.age' }}</label>
<div>
<div class="flexrow row">
<input type="number" name="system.identity.age" value="{{ system.identity.age }}" data-dtype="Number"/>
<span id="ageType">({{ ageType "name" system.identity.ageType }})</span>
</div>
</div>
</section>
<section class="char-level">
<div class="char-vermine2047 flexrow flex-group-center">
<h1 class="char-vermine2047 flexrow flex-group-left w-full">
<label for="system.identity.totem">{{ localize 'IDENTITY.totem' }}</label>
{{#if (eq system.identity.totem "")}}
<a name="chooseTotem" class="chooseTotem">Choisissez votre totem</button>
{{ else }}
<a name="chooseTotem" class="chooseTotem">{{ smarttl "TOTEMS" system.identity.totem }}</button>
{{/if}}
</div>
</h1>
<div class="reputation flexrow flex-group-center">
<label>{{ localize 'VERMINE.reputation' }}</label>
<input name="system.attributes.reputation.value" type="text" value="{{system.attributes.reputation.value }}" data-dtype="Number" />