page histoire - v0.0.11

This commit is contained in:
François-Xavier Guillois
2023-06-05 21:27:34 +02:00
parent 7d7ec478e5
commit d388c3ba4b
10 changed files with 58 additions and 27 deletions
+4 -15
View File
@@ -1,7 +1,7 @@
<form class="{{cssClass}} {{actor.type}} flexcol" autocomplete="off">
<div class="form">
<aside>
<img class="logo" src="systems/totem/assets/images/ui/logo.webp" height="56" width="230" alt="logo TOTEM" />
<img class="logo mx-auto" src="systems/totem/assets/images/ui/logo.webp" width="200" alt="logo Vermine" />
<div class="sidebar" data-group="dashboard" data-tab="sidebar">
<!--ID -->
{{> "systems/totem/templates/actor/parts/actor-id.hbs"}}
@@ -32,9 +32,9 @@
<i class="fas fa-medal"></i>
</a>
<a class="manage-tabs" data-action="manage-tabs" title="{{localize "TOTEM.tab_options"}}">
<!--a class="manage-tabs" data-action="manage-tabs" title="{{localize "TOTEM.tab_options"}}">
<i class="fas fa-fw fa-ellipsis-v"></i>
</a>
</a-->
</nav>
<!-- BODY -->
@@ -61,18 +61,7 @@
<div class="tab stories" data-group="primary" data-tab="stories">
<h3>Histoire</h3>
<h4>{{ localize 'IDENTITY.theme'}}</h4>
{{editor system.identity.theme target="system.identity.theme" button=true owner=owner}}
<h4>{{ localize 'IDENTITY.instincts'}}</h4>
{{editor system.identity.instincts target="system.identity.instincts" button=true owner=owner editable=editable}}
<h4>{{ localize 'IDENTITY.prohibits'}}</h4>
{{editor system.identity.prohibits target="system.identity.prohibits" button=true owner=owner editable=editable}}
<h4>{{ localize 'IDENTITY.objectives'}}</h4>
{{editor system.identity.objectives target="system.identity.objectives" button=true owner=owner editable=editable}}
<h4>{{ localize 'IDENTITY.relations'}}</h4>
{{editor system.identity.relations target="system.identity.relations" button=true owner=owner editable=editable}}
<h4>{{ localize 'IDENTITY.biography'}}</h4>
{{editor system.identity.biography target="system.identity.biography" button=true owner=owner editable=editable}}
{{> "systems/totem/templates/actor/parts/actor-stories.hbs"}}
</div>
</section>
+4 -4
View File
@@ -14,7 +14,7 @@
<li>
<div class="flexcol flex-group-center items-center w-full">
<label for="system.identity.theme" class="resource-label flexlarge align-left">{{ localize "IDENTITY.theme"}}</label>
{{{ system.identity.theme }}}
<p>{{{ system.identity.theme }}}</p>
</div>
</li>
{{/if}}
@@ -22,7 +22,7 @@
<li>
<div class="flexcol flex-group-center items-center w-full">
<label for="system.identity.instincts" class="resource-label flexlarge align-left">{{ localize "IDENTITY.instincts"}}</label>
{{{ system.identity.instincts }}}
<p>{{{ system.identity.instincts }}}</p>
</div>
</li>
{{/if}}
@@ -30,7 +30,7 @@
<li>
<div class="flexcol flex-group-center items-center w-full">
<label for="system.identity.prohibits" class="resource-label flexlarge align-left">{{ localize "IDENTITY.prohibits"}}</label>
{{{ system.identity.prohibits }}}
<p>{{{ system.identity.prohibits }}}</p>
</div>
</li>
{{/if}}
@@ -38,7 +38,7 @@
<li>
<div class="flexcol flex-group-center items-center w-full">
<label for="system.identity.objectives" class="resource-label flexlarge align-left">{{ localize "IDENTITY.objectives"}}</label>
{{{ system.identity.objectives }}}
<p>{{{ system.identity.objectives }}}</p>
</div>
</li>
{{/if}}
+24
View File
@@ -0,0 +1,24 @@
<section class="flexrow flex-group-left flex-align-left gap-md">
<div>
<h4>{{ localize 'IDENTITY.theme'}}</h4>
<textarea name="system.identity.theme">{{ system.identity.theme }}</textarea>
<h4>{{ localize 'IDENTITY.objectives'}}</h4>
<textarea name="system.identity.objectives">{{ system.identity.objectives }}</textarea>
</div>
<div>
<h4>{{ localize 'IDENTITY.instincts'}}</h4>
<textarea name="system.identity.instincts">{{ system.identity.instincts }}</textarea>
<h4>{{ localize 'IDENTITY.prohibits'}}</h4>
<textarea name="system.identity.prohibits">{{ system.identity.prohibits }}</textarea>
</div>
</section>
<section class="flexcol flex-group-left flex-align-left">
<div>
<h4>{{ localize 'IDENTITY.notes'}}</h4>
{{editor system.identity.biography target="system.identity.biography" button=true owner=owner editable=editable}}
</div>
<div>
<h4>{{ localize 'IDENTITY.relations'}}</h4>
{{editor system.identity.relations target="system.identity.relations" button=true owner=owner editable=editable}}
</div>
</section>