Skip to content

Commit

Permalink
feat(actor-sheet > skills): added style and classes to the skills lay…
Browse files Browse the repository at this point in the history
…out of the agent sheet
  • Loading branch information
SouOWendel committed Nov 22, 2023
1 parent e74d2dc commit 6ff88e2
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions templates/actor/parts/actor-skills.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,20 @@
<div class="skills grid grid-2col">
{{#each data.skills as |skillName key|}}
<div class="skill flexrow flex-group-center">
<label
for="data.skills.{{key}}.value"
<label for="data.skills.{{key}}.value"
class="resource-label rollable flexlarge align-left"
data-roll="{{skillName.formula}}"
data-label="{{skillName.label}}">
{{skillName.label}}
</label>
<label>
<strong>{{toUpperCase skillName.attr.[0]}}</strong>
<label class="flex0 p-side-10">
<strong>{{toUpperCase (localize (concat "ordemparanormal." skillName.attr.[0] "Abv")) }}</strong>
</label>
<select name="data.skills.{{key}}.degree.label" data-dtype="String">
{{
selectOptions ../optionDegree
selected=skillName.degree.label
localize=true
}}
{{ selectOptions ../optionDegree selected=skillName.degree.label localize=true }}
</select>
<input
type="text"
name="data.skills.{{key}}.mod"
value="{{skillName.mod}}"
data-dtype="Number"
/>
<i class="fa-solid fa-plus flex0"></i>
<input type="text" name="data.skills.{{key}}.mod" value="{{skillName.mod}}" data-dtype="Number"/>
</div>
{{/each}}
</div>
Expand Down

0 comments on commit 6ff88e2

Please sign in to comment.