diff options
author | David Gay <david@davidgay.org> | 2021-05-23 17:55:21 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-23 17:55:21 -0400 |
commit | e6ef4ee72e0816e7e91e21787d04182476a41f6f (patch) | |
tree | 2f8f90974de925aa049e9f4bdff3829a793501d6 /app/views/characters | |
parent | f029299c3a60df8301a4ab32ab693b672798e8ad (diff) |
Adjust combat stats table
Diffstat (limited to 'app/views/characters')
-rw-r--r-- | app/views/characters/show.html.erb | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/app/views/characters/show.html.erb b/app/views/characters/show.html.erb index fb44e8f..c497ea1 100644 --- a/app/views/characters/show.html.erb +++ b/app/views/characters/show.html.erb @@ -16,33 +16,37 @@ <table class="table-auto"> <tbody> <tr> - <th class="table-cell-padded">Wounds</th> + <th class="table-cell-padded text-right">Current Wounds</th> <td class="table-cell-padded"><%= @character.wounds %></td> </tr> <tr> - <th class="table-cell-padded">Max HP</th> + <th class="table-cell-padded text-right">Max HP</th> <td class="table-cell-padded"><%= @character.max_hp %></td> </tr> <tr> - <th class="table-cell-padded">Speed</th> + <th class="table-cell-padded text-right">Speed</th> <td class="table-cell-padded"><%= @character.speed %></td> </tr> <tr> - <th class="table-cell-padded">Accuracy</th> + <th class="table-cell-padded text-right">Accuracy</th> <td class="table-cell-padded"><%= @character.accuracy %></td> </tr> <tr> - <th class="table-cell-padded">Power</th> + <th class="table-cell-padded text-right">Power</th> <td class="table-cell-padded"><%= @character.power %></td> </tr> <tr> - <th class="table-cell-padded">Evasion</th> + <th class="table-cell-padded text-right">Evasion</th> <td class="table-cell-padded"><%= @character.evasion %></td> </tr> <tr> - <th class="table-cell-padded">Block</th> + <th class="table-cell-padded text-right">Block</th> <td class="table-cell-padded"><%= @character.block %></td> </tr> + <tr> + <th class="table-cell-padded text-right">Block Value</th> + <td class="table-cell-padded"><%= @character.block_value %></td> + </tr> </tbody> </table> </div> |