cleaner stats page
This commit is contained in:
@@ -1,24 +1,29 @@
|
||||
h4.stats-equipment Equipment
|
||||
p(ng-repeat='(k,v) in user.items.gear.equipped', ng-init='piece=Content.gear.flat[v]', ng-show='piece')
|
||||
strong {{piece.text}}:
|
||||
span(ng-repeat='stat in ["str","con","per","int"]', ng-show='piece[stat]') {{piece[stat]}}{{stat}}
|
||||
table.table.table-striped
|
||||
tr(ng-repeat='(k,v) in user.items.gear.equipped', ng-init='piece=Content.gear.flat[v]', ng-show='piece')
|
||||
td
|
||||
strong {{piece.text}}:
|
||||
span(ng-repeat='stat in ["str","con","per","int"]', ng-show='piece[stat]') {{piece[stat]}}{{stat}}
|
||||
|
||||
hr
|
||||
h4 Stats
|
||||
p
|
||||
strong Health
|
||||
| : {{profile.stats.hp | number:0}} / 50
|
||||
p
|
||||
strong Gold
|
||||
| : {{profile.stats.gp | number:0}}
|
||||
p
|
||||
strong Level
|
||||
| : {{profile.stats.lvl}}
|
||||
p
|
||||
strong Experience
|
||||
| : {{profile.stats.exp | number:0}} / {{Shared.tnl(profile.stats.lvl)}}
|
||||
table.table.table-striped
|
||||
tr
|
||||
td
|
||||
strong Health
|
||||
| : {{profile.stats.hp | number:0}} / 50
|
||||
tr
|
||||
td
|
||||
strong Gold
|
||||
| : {{profile.stats.gp | number:0}}
|
||||
tr
|
||||
td
|
||||
strong Level
|
||||
| : {{profile.stats.lvl}}
|
||||
tr
|
||||
td
|
||||
strong Experience
|
||||
| : {{profile.stats.exp | number:0}} / {{Shared.tnl(profile.stats.lvl)}}
|
||||
|
||||
hr
|
||||
h4 Attributes
|
||||
table.table.table-striped
|
||||
tr(ng-repeat='(k,v) in {str:"Strength",int:"Intelligence",con:"Constitution",per:"Perception"}')
|
||||
@@ -33,10 +38,9 @@ table.table.table-striped
|
||||
li Level: {{(profile.stats.lvl - 1) / 2}}
|
||||
li Buffs: {{profile.stats.buffs[k] || 0}}
|
||||
|
||||
h4
|
||||
|
||||
hr
|
||||
h4 Pets
|
||||
p
|
||||
strong Pets Found
|
||||
| : {{profile.petCount}}
|
||||
table.table.table-striped
|
||||
tr
|
||||
td
|
||||
strong Pets Found
|
||||
| : {{profile.petCount}}
|
||||
Reference in New Issue
Block a user