Gestion/assistance aventure/eclat

This commit is contained in:
sladecraven 2022-06-05 16:35:25 +02:00
parent c7a1133334
commit ea0de0e8cd
2 changed files with 41 additions and 57 deletions

View File

@ -274,12 +274,16 @@ table {border: 1px solid #7a7971;}
padding: 0px; padding: 0px;
margin: 5px 0; margin: 5px 0;
border-bottom: 0; border-bottom: 0;
font-weight: bold;
font-family: "Charlemagne";
} }
.fvtt-mournblade .sheet-header h1.charname input { .fvtt-mournblade .sheet-header h1.charname input {
width: 100%; width: 100%;
height: 100%; height: 100%;
margin: 0; margin: 0;
font-weight: bold;
font-family: "Charlemagne";
} }
.fvtt-mournblade .sheet-tabs { .fvtt-mournblade .sheet-tabs {
@ -1210,7 +1214,7 @@ ul, li {
.button-roll-competence { .button-roll-competence {
min-width: 64px; min-width: 64px;
max-width: 64px; max-width: 64px;
background-color: rgb(211, 221, 187); background-color: rgba(211, 221, 187, 100);
padding-top: 7px; padding-top: 7px;
padding-left: 4px; padding-left: 4px;
margin-left: 4px; margin-left: 4px;
@ -1234,6 +1238,7 @@ ul, li {
flex-grow:1; flex-grow:1;
max-width: 2rem; max-width: 2rem;
min-width: 2rem; min-width: 2rem;
max-height: 2rem;
} }
/*************************************************************/ /*************************************************************/

View File

@ -7,15 +7,47 @@
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" /> <img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
<div class="flexcol"> <div class="flexcol">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1> <h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
<div class="flexrow">
<span class="flexrow">
<h4 class="item-name-label competence-name">{{upperFirst alignement}}</h4>
<label class="item-name-label competence-name">Loi</label>
<select class="status-small-label color-class-common" type="text" name="data.balance.loi"
value="{{data.balance.loi}}" data-dtype="Number">
{{#select data.balance.loi}}
{{> systems/fvtt-mournblade/templates/partial-list-niveau.html}}
{{/select}}
</select>
<label class="item-name-label competence-name">Chaos</label>
<select class="status-small-label color-class-common" type="text" name="data.balance.chaos"
value="{{data.balance.chaos}}" data-dtype="Number">
{{#select data.balance.chaos}}
{{> systems/fvtt-mournblade/templates/partial-list-niveau.html}}
{{/select}}
</select>
</span>
</div> </div>
<div class="flexrow">
<h4 class="item-name-label competence-name">Bonne Aventure</h4>
<label class="item-name-label competence-name">Base</label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.bonneaventure.base" value="{{data.bonneaventure.base}}" data-dtype="Number" />
<label class="item-name-label competence-name">Actuelle</label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.bonneaventure.actuelle" value="{{data.bonneaventure.actuelle}}" data-dtype="Number" />
</div>
<div class="flexrow">
<h4 class="item-name-label competence-name">Eclat</h4>
<input type="text" class="padd-right status-small-label color-class-common" name="data.eclat.value" value="{{data.eclat.value}}" data-dtype="Number" />
<h4 class="item-name-label competence-name">Expérience</h4>
<input type="text" class="padd-right status-small-label color-class-common" name="data.experience.value" value="{{data.experience.value}}" data-dtype="Number" />
</div>
</div> </div>
</div> </div>
</header> </header>
{{!-- Sheet Tab Navigation --}} {{!-- Sheet Tab Navigation --}}
<nav class="sheet-tabs tabs" data-group="primary"> <nav class="sheet-tabs tabs" data-group="primary">
<a class="item" data-tab="principal">Principal</a> <a class="item" data-tab="principal">Attributs</a>
<a class="item" data-tab="competences">Compétences</a> <a class="item" data-tab="competences">Compétences</a>
<a class="item" data-tab="combat">Combat</a> <a class="item" data-tab="combat">Combat</a>
<a class="item" data-tab="traits">Traits/Pactes</a> <a class="item" data-tab="traits">Traits/Pactes</a>
@ -33,7 +65,7 @@
<div class="sheet-box color-bg-archetype"> <div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list"> <ul class="item-list alternate-list">
{{#each data.attributs as |attr key|}} {{#each data.attributs as |attr key|}}
<li class="item flexrow " data-attr-key="{{key}}"> <li class="item flexrow " data-attr-key="{{key}}">
<img class="item-name-img" src="systems/fvtt-mournblade/assets/icons/{{attr.labelnorm}}.webp"> <img class="item-name-img" src="systems/fvtt-mournblade/assets/icons/{{attr.labelnorm}}.webp">
<span class="item-name-label competence-name"><a class="roll-attribut">{{attr.label}}</a></span> <span class="item-name-label competence-name"><a class="roll-attribut">{{attr.label}}</a></span>
@ -48,59 +80,6 @@
</ul> </ul>
</div> </div>
<div class="sheet-box color-bg-ame color-text-ame">
<span class="flexrow">
<h4 class="ame-margin title-font">Alignement : {{upperFirst alignement}}</h4>
</span>
<span class="flexrow">
<label class="item-name-label competence-name">Loi</label>
<select class="status-small-label color-class-common" type="text" name="data.balance.loi"
value="{{data.balance.loi}}" data-dtype="Number">
{{#select data.balance.loi}}
{{> systems/fvtt-mournblade/templates/partial-list-niveau.html}}
{{/select}}
</select>
<label class="item-name-label competence-name">Chaos</label>
<select class="status-small-label color-class-common" type="text" name="data.balance.chaos"
value="{{data.balance.chaos}}" data-dtype="Number">
{{#select data.balance.chaos}}
{{> systems/fvtt-mournblade/templates/partial-list-niveau.html}}
{{/select}}
</select>
</span>
</div>
<div class="sheet-box color-bg-ame color-text-ame">
<span class="flexrow">
<h4 class="ame-margin title-font">Bonne Aventure</h4>
</span>
<span class="flexrow">
<label>Base</label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.bonneaventure.base" value="{{data.bonneaventure.base}}" data-dtype="Number" />
<label>Actuelle</label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.bonneaventure.actuelle" value="{{data.bonneaventure.actuelle}}" data-dtype="Number" />
</span>
</div>
<div class="sheet-box color-bg-ame color-text-ame">
<span class="flexrow">
<h4 class="ame-margin title-font">Eclat</h4>
</span>
<span class="flexrow">
<label>Valeur</label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.eclat.value" value="{{data.eclat.value}}" data-dtype="Number" />
</span>
</div>
<div class="sheet-box color-bg-ame color-text-ame">
<span class="flexrow">
<h4 class="ame-margin title-font">Expérience</h4>
</span>
<span class="flexrow">
<label>Valeur</label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.experience.value" value="{{data.experience.value}}" data-dtype="Number" />
</span>
</div>
</div> </div>