diff options
author | David Gay <david@davidgay.org> | 2021-06-16 21:23:06 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-06-16 21:23:06 -0400 |
commit | 9da911cf0fbbf7d4c7412966567f0728219e3ada (patch) | |
tree | f262a80ea5aec02e7f8fb73d4de87a778c6d9472 | |
parent | 72aee968a1702826365e52e8dac43e95f020d0e9 (diff) |
Display XPTNL on skill view
-rw-r--r-- | CHANGELOG.md | 5 | ||||
-rw-r--r-- | app/views/characters/skills/index.html.erb | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 36d2425..88e5350 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog All notable changes to this project will be documented in this file. +## [0.1.11.2] - 2021-06-16 + +## UI +- XPTNL is now displayed on the Skill view, along with the new progress bars. + ## [0.1.11.1] - 2021-06-16 ### Fixed diff --git a/app/views/characters/skills/index.html.erb b/app/views/characters/skills/index.html.erb index d804384..da2db12 100644 --- a/app/views/characters/skills/index.html.erb +++ b/app/views/characters/skills/index.html.erb @@ -8,8 +8,9 @@ <div class="text-xl text-display mb-1"> <%= cs.skill.name %> </div> - <div class="flex items-center text-xs"> - <span class="bg-gray-700 px-1 py-0.5 rounded mr-1">XP</span><%= cs.xp %> + <div class="flex items-center text-xs space-x-4"> + <div><span class="bg-gray-700 px-1 py-0.5 rounded mr-1">XP</span><%= cs.xp %></div> + <div><span class="bg-gray-700 px-1 py-0.5 rounded mr-1">TNL</span><%= cs.xp_to_next_level %></div> </div> </div> <div class="text-xl m-2 text-display"> |