Update css for item attribute

This commit is contained in:
Mandar
2021-01-01 20:38:26 +01:00
parent c8e7af1dcd
commit 6ec4c1330a
7 changed files with 79 additions and 78 deletions

View File

@@ -25,25 +25,23 @@
<input type="checkbox" name="data.in_curriculum" {{checked item.data.in_curriculum}} />
{{ localize 'l5r5e.advancements.curriculum' }}
</label>
<label class="attribute3">
<label class="attribute">
{{ localize 'l5r5e.advancements.spent' }}
<input type="text" name="data.xp_used" value="{{item.data.xp_used}}" data-dtype="Number" placeholder="0" />
</label>
<label class="attribute3">
<label class="attribute">
{{ localize 'l5r5e.rank' }}
<input type="text" name="data.rank" value="{{data.rank}}" data-dtype="Number" placeholder="0" />
</label>
<label class="attribute3">
<label class="attribute">
{{ localize 'l5r5e.bought_at_rank' }}
<input type="text" name="data.bought_at_rank" value="{{data.bought_at_rank}}" data-dtype="Number" placeholder="0" />
</label>
</article>
<fieldset class="attributes">
<legend>
<label class="attribute full">
{{ localize 'l5r5e.types' }}
</legend>
<input type="text" name="data.types" value="{{item.data.types}}" />
</fieldset>
<input type="text" name="data.types" value="{{item.data.types}}" />
</label>
</article>
{{> 'systems/l5r5e/templates/items/item/item-infos.html' }}
</section>
</form>

View File

@@ -37,18 +37,15 @@
{{ localize 'l5r5e.rank' }}
<input type="text" name="data.rank" value="{{item.data.rank}}" data-dtype="Number" placeholder="0"/>
</label>
<label class="attribute">
{{ localize 'l5r5e.bought_at_rank' }}
<input type="text" name="data.bought_at_rank" value="{{item.data.bought_at_rank}}" data-dtype="Number" placeholder="0"/>
</label>
</article>
<fieldset class="attributes">
<legend>
<label class="attribute full">
{{ localize 'l5r5e.effects' }}
</legend>
{{editor content=item.data.effects target="data.effects" button=true owner=owner editable=editable}}
</fieldset>
<input type="text" name="data.effects" value="{{item.data.effects}}"/>
</label>
</article>
{{> 'systems/l5r5e/templates/items/item/item-infos.html' }}
</section>
</form>