some fix for types and effects
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -99,6 +99,11 @@
|
|||||||
background: rgba(255, 255, 255, 0.25);
|
background: rgba(255, 255, 255, 0.25);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
fieldset {
|
||||||
|
input[name="data.effects"] {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
}
|
||||||
article {
|
article {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
@@ -123,6 +128,9 @@
|
|||||||
flex: 0 0 calc(25% - 0.5rem);
|
flex: 0 0 calc(25% - 0.5rem);
|
||||||
margin: 0.5rem 0.25rem 0.25rem;
|
margin: 0.5rem 0.25rem 0.25rem;
|
||||||
}
|
}
|
||||||
|
.attribute3 {
|
||||||
|
flex: 0 0 calc(33% - 0.5rem);
|
||||||
|
}
|
||||||
select[name="data.advancement_type"],
|
select[name="data.advancement_type"],
|
||||||
select[name="data.skill"] {
|
select[name="data.skill"] {
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
{{!-- Attributes Tab --}}
|
{{!-- Attributes Tab --}}
|
||||||
<article class="attributes" data-group="primary" data-tab="attributes">
|
<article class="attributes" data-group="primary" data-tab="attributes">
|
||||||
<!-- TODO j'ai mis tous les attributs en vrac, à réorganiser -->
|
|
||||||
<select name="data.advancement_type" id="advancement_type">
|
<select name="data.advancement_type" id="advancement_type">
|
||||||
{{#select item.data.advancement_type}}
|
{{#select item.data.advancement_type}}
|
||||||
{{#each item.data.subTypesList as |type|}}
|
{{#each item.data.subTypesList as |type|}}
|
||||||
|
|||||||
@@ -25,23 +25,25 @@
|
|||||||
<input type="checkbox" name="data.in_curriculum" {{checked item.data.in_curriculum}} />
|
<input type="checkbox" name="data.in_curriculum" {{checked item.data.in_curriculum}} />
|
||||||
{{ localize 'l5r5e.advancements.curriculum' }}
|
{{ localize 'l5r5e.advancements.curriculum' }}
|
||||||
</label>
|
</label>
|
||||||
<label class="attribute">
|
<label class="attribute3">
|
||||||
{{ localize 'l5r5e.types' }}
|
|
||||||
<input type="text" name="data.types" value="{{item.data.types}}" />
|
|
||||||
</label>
|
|
||||||
<label class="attribute">
|
|
||||||
{{ localize 'l5r5e.advancements.spent' }}
|
{{ localize 'l5r5e.advancements.spent' }}
|
||||||
<input type="text" name="data.xp_used" value="{{item.data.xp_used}}" data-dtype="Number" placeholder="0" />
|
<input type="text" name="data.xp_used" value="{{item.data.xp_used}}" data-dtype="Number" placeholder="0" />
|
||||||
</label>
|
</label>
|
||||||
<label class="attribute">
|
<label class="attribute3">
|
||||||
{{ localize 'l5r5e.rank' }}
|
{{ localize 'l5r5e.rank' }}
|
||||||
<input type="text" name="data.rank" value="{{data.rank}}" data-dtype="Number" placeholder="0" />
|
<input type="text" name="data.rank" value="{{data.rank}}" data-dtype="Number" placeholder="0" />
|
||||||
</label>
|
</label>
|
||||||
<label class="attribute">
|
<label class="attribute3">
|
||||||
{{ localize 'l5r5e.bought_at_rank' }}
|
{{ localize 'l5r5e.bought_at_rank' }}
|
||||||
<input type="text" name="data.bought_at_rank" value="{{data.bought_at_rank}}" data-dtype="Number" placeholder="0" />
|
<input type="text" name="data.bought_at_rank" value="{{data.bought_at_rank}}" data-dtype="Number" placeholder="0" />
|
||||||
</label>
|
</label>
|
||||||
</article>
|
</article>
|
||||||
|
<fieldset class="attributes">
|
||||||
|
<legend>
|
||||||
|
{{ localize 'l5r5e.types' }}
|
||||||
|
</legend>
|
||||||
|
<input type="text" name="data.types" value="{{item.data.types}}" />
|
||||||
|
</fieldset>
|
||||||
{{> 'systems/l5r5e/templates/items/item/item-infos.html' }}
|
{{> 'systems/l5r5e/templates/items/item/item-infos.html' }}
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
@@ -7,7 +7,6 @@
|
|||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
{{!-- Attributes Tab --}}
|
{{!-- Attributes Tab --}}
|
||||||
<article class="attributes" data-group="primary" data-tab="attributes">
|
<article class="attributes" data-group="primary" data-tab="attributes">
|
||||||
<!-- TODO j'ai mis tous les attributs en vrac, à réorganiser -->
|
|
||||||
<select name="data.ring">
|
<select name="data.ring">
|
||||||
{{#select item.data.ring}}
|
{{#select item.data.ring}}
|
||||||
{{#each item.data.ringsList as |obj|}}
|
{{#each item.data.ringsList as |obj|}}
|
||||||
@@ -43,11 +42,13 @@
|
|||||||
{{ localize 'l5r5e.bought_at_rank' }}
|
{{ localize 'l5r5e.bought_at_rank' }}
|
||||||
<input type="text" name="data.bought_at_rank" value="{{item.data.bought_at_rank}}" data-dtype="Number" placeholder="0"/>
|
<input type="text" name="data.bought_at_rank" value="{{item.data.bought_at_rank}}" data-dtype="Number" placeholder="0"/>
|
||||||
</label>
|
</label>
|
||||||
<label class="attribute">
|
|
||||||
{{ localize 'l5r5e.effects' }}
|
|
||||||
<input type="text" name="data.effects" value="{{item.data.effects}}"/>
|
|
||||||
</label>
|
|
||||||
</article>
|
</article>
|
||||||
|
<fieldset class="attributes">
|
||||||
|
<legend>
|
||||||
|
{{ localize 'l5r5e.effects' }}
|
||||||
|
</legend>
|
||||||
|
<input type="text" name="data.effects" value="{{item.data.effects}}"/>
|
||||||
|
</fieldset>
|
||||||
{{> 'systems/l5r5e/templates/items/item/item-infos.html' }}
|
{{> 'systems/l5r5e/templates/items/item/item-infos.html' }}
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
Reference in New Issue
Block a user