Skip to content

Commit

Permalink
feat(actor agent sheet): changed the order of columns items (skills) …
Browse files Browse the repository at this point in the history
…to make more sense

The order of skill items makes sense together with the pdf sheet
  • Loading branch information
SouOWendel committed Apr 24, 2024
1 parent 26c478d commit eebbe84
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 24 deletions.
14 changes: 7 additions & 7 deletions css/ordemparanormal_fvtt.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions scss/components/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@

// SKILLS

.skills {
gap: 0px;
.skills-content {
font-size: 12px;
padding: 0 2px;
margin-top: 0;
column-count: 2;

select,
input {
Expand Down
20 changes: 5 additions & 15 deletions templates/actor/parts/actor-skills.html
Original file line number Diff line number Diff line change
@@ -1,32 +1,22 @@
<section>
<div class="skills grid grid-2col">
<div class="skills-content">
{{#each system.skills as |skillName key|}}
<div class="skill flexrow flex-group-center">
<label
for="system.skills.{{key}}.value"
class="resource-label rollable flexlarge align-left"
data-roll="{{skillName.formula}}"
data-label="{{skillName.label}}"
>
data-label="{{skillName.label}}">
{{skillName.label}}
</label>
<label class="flex0 p-side-10">
<strong
>{{toUpperCase (localize (concat "ordemparanormal." skillName.attr.[0]
"Abv")) }}</strong
>
<strong>{{toUpperCase (localize (concat "ordemparanormal." skillName.attr.[0] "Abv")) }}</strong>
</label>
<select name="system.skills.{{key}}.degree.label" data-dtype="String">
{{ selectOptions ../optionDegree selected=skillName.degree.label
localize=true }}
{{ selectOptions ../optionDegree selected=skillName.degree.label localize=true }}
</select>
<i class="fa-solid fa-plus flex0"></i>
<input
type="text"
name="system.skills.{{key}}.mod"
value="{{skillName.mod}}"
data-dtype="Number"
/>
<input type="text" name="system.skills.{{key}}.mod" value="{{skillName.mod}}" data-dtype="Number" />
</div>
{{/each}}
</div>
Expand Down

0 comments on commit eebbe84

Please sign in to comment.