Skip to content

Commit

Permalink
feat(areaTemplate.hbs): adjusted the layout, classes and names
Browse files Browse the repository at this point in the history
  • Loading branch information
SouOWendel committed Oct 6, 2024
1 parent 4dddc68 commit a967f9c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions templates/apps/areaTemplate.hbs
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
<div id="areaTemplate">
<form id="areaTemplate">
<fieldset class="predefinedAreas">
<legend>Predefinições de Área</legend>
{{#each system.areaTemplate as |area i|}}
<div class="area flex-group-center">
<i class="fa-solid fa-shapes"></i>
<span class="flex-1">
<span style="flex: 1.5;">
{{#if area.[0]}}
{{localize (concat "shinobiNoSho.ITEMS.areas." area.[0]) }}
{{else}}
Sem Área
{{/if}}
de {{#if area.[4]}} {{area.[4]}}m {{else}} 0m {{/if}}
</span>
<span class="flex-1">Tamanho: {{#if area.[4]}} {{area.[4]}}m {{/if}}</span>
<input type="radio" id="area1" name="area" value=""/>
<input type="radio" id="area1" name="area" value="{{area.[0]}}/{{area.[4]}}"/>
</div>
{{/each}}
<p>A técnica ou equipamento que você selecionou tem as seguintes áreas disponíveis.</p>
</fieldset>
<fieldset class="actions">
<legend>Ajustes de Área</legend>
<div class="adjusts">{{log this}}
<select class="flex-1">
{{selectOptions areas selected=skill.ability localize=true blank=""}}
<select class="flex-1" name="areaModifier">
{{selectOptions areas localize=true blank=""}}
</select>
<div class="numberSelector flex-1 flex-group-center">
<button type="button" class="minusOne {{this.id}}"><i class="fa-solid fa-minus"></i></button>
<input type="number" class="numberModifier {{this.id}}" value="0"/>
<input type="number" class="numberModifier {{this.id}}" name="numberModifier" value="0"/>
<button type="button" class="plusOne {{this.id}}"><i class="fa-solid fa-plus"></i></button>
</div>
</div>
<p class="hint">Você pode alterar a forma ou tamanho da área selecionada através destes seletores.</p>
<p>Você pode alterar a forma ou tamanho da área selecionada através destes seletores.</p>
</fieldset>
<button type="button"><i class="fa-solid fa-expand"></i> Posicionar Área</input>
</div>
<button type="submit" class="submit placeAreaTemplate"><i class="fa-solid fa-expand"></i> Posicionar Área</input>
</form>

0 comments on commit a967f9c

Please sign in to comment.