Improve a bit of UX on the sheet to do with the skill dropdown
This commit is contained in:
parent
873363ab73
commit
bd7df724c4
1 changed files with 22 additions and 9 deletions
|
|
@ -1,11 +1,24 @@
|
||||||
<div class="skill">
|
<div class="skill">
|
||||||
<span>
|
<button class="skill__button" data-stat="{{stat}}" data-skill="{{name}}">
|
||||||
{{localize (concat "dotdungeon.skill." name)}}
|
{{!--
|
||||||
</span>
|
This would be nice to get working at some point, but it's seeming not
|
||||||
<select aria-label="{{localize "dotdungeon.aria.skill-dropdown" skill=name}}">
|
super plausible at the moment due to context weirdness (probably because
|
||||||
<option value="">Novice</option>
|
of my "with" helper)
|
||||||
|
|
||||||
|
<img src="icons/dice/{{dotdungeon-objectValue system (concat "system.skills." stat "." name)}}black.svg">
|
||||||
|
--}}
|
||||||
|
R
|
||||||
|
</button>
|
||||||
|
<label class="skill__label">
|
||||||
|
{{localize (concat "dotdungeon.actor.pc.skill." name)}}
|
||||||
|
<select
|
||||||
|
class="skill__select"
|
||||||
|
aria-label="{{localize "dotdungeon.aria.skill-dropdown" skill=name}}"
|
||||||
|
>
|
||||||
|
<option value="">Novice (+0)</option>
|
||||||
<option value="locked">Locked</option>
|
<option value="locked">Locked</option>
|
||||||
<option value="+2">Trained</option>
|
<option value="+2">Trained (+2)</option>
|
||||||
<option value="+4">Expert</option>
|
<option value="+4">Expert (+4)</option>
|
||||||
</select>
|
</select>
|
||||||
|
</label>
|
||||||
</div>
|
</div>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue