2013-11-10 20:28:47 +00:00
|
|
|
//- FIXME the commented-out figure.herobox used to have a functioning popover, but angular-ui-bootstrap doesn't support
|
|
|
|
|
html in popovers. Figure out what to do here. Also, {isUser:..} class seems to bring the user too far down with mounts.
|
|
|
|
|
Removing it will remove the user's name, but will allow more room for mounts & helms. IMO this is the lesser of two evils, revisit
|
|
|
|
|
//-figure.herobox(ng-click='clickMember(profile._id)', data-name='{{profile.profile.name}}', ng-class='{isUser: profile.id==user.id, hasPet: profile.items.currentPet}', data-level='{{profile.stats.lvl}}', data-uid='{{profile.id}}', rel='popover', data-placement='bottom', data-trigger='hover', data-html='true', data-content="<div ng-hide='profile.id == user.id'> <div class='progress progress-danger' style='height:5px;'> <div class='bar' style='height: 5px; width: {{percent(profile.stats.hp, 50)}}%;'></div> </div> <div class='progress progress-warning' style='height:5px;'> <div class='bar' style='height: 5px; width: {{percent(profile.stats.exp, tnl(profile.stats.lvl))}}%;'></div> </div> <div>Level: {{profile.stats.lvl}}</div> <div>GP: {{profile.stats.gp | number:0}}</div> <div>{{count(profile.items.pets)}} / 90 Pets Found</div> </div>")
|
|
|
|
|
|
2013-12-02 02:51:36 +00:00
|
|
|
figure.herobox(ng-click='spell ? castEnd(profile, "user", $event) : clickMember(profile._id)', data-name='{{profile.profile.name}}', ng-class='{isUser: user._id==profile._id && !(user.items.currentMount && user.items.currentPet), hasPet: profile.items.currentPet && profile.items.currentMount, "cast-target": applyingAction, isLeader: party.leader==profile._id}')
|
2013-08-25 04:44:05 +00:00
|
|
|
.character-sprites
|
2013-11-10 04:15:55 +00:00
|
|
|
// Mount Body
|
2013-11-11 21:50:11 +00:00
|
|
|
span(ng-if='profile.items.currentMount', class='Mount_Body_{{profile.items.currentMount}}')
|
2013-11-10 04:15:55 +00:00
|
|
|
|
2013-12-04 00:39:43 +00:00
|
|
|
span(class='skin_{{profile.preferences.skin}}')
|
2013-12-04 22:09:56 +00:00
|
|
|
span(class='{{profile.preferences.size}}_{{profile.items.gear.current.armor}}', ng-show='profile.preferences.showArmor')
|
|
|
|
|
span(class='head_warrior_0')
|
2013-12-04 00:39:43 +00:00
|
|
|
span(class='hair_base_{{profile.preferences.hair.base}}_{{profile.preferences.hair.color}}')
|
|
|
|
|
span(class='hair_bangs_{{profile.preferences.hair.bangs}}_{{profile.preferences.hair.color}}')
|
|
|
|
|
span(class='{{profile.items.gear.current.head}}', ng-show='profile.preferences.showHelm')
|
|
|
|
|
span(class='{{profile.items.gear.current.shield}}', ng-show='profile.preferences.showShield')
|
|
|
|
|
span(class='{{profile.items.gear.current.weapon}}', ng-show='profile.preferences.showWeapon')
|
2013-11-10 04:15:55 +00:00
|
|
|
|
|
|
|
|
// Mount Head
|
2013-11-11 21:50:11 +00:00
|
|
|
span(ng-if='profile.items.currentMount', class='Mount_Head_{{profile.items.currentMount}}')
|
2013-11-10 04:15:55 +00:00
|
|
|
|
|
|
|
|
// Resting
|
|
|
|
|
span(ng-class='{zzz:profile.flags.rest}')
|
2013-08-25 04:44:05 +00:00
|
|
|
// FIXME handle @minimal, this might have to be a directive
|
2013-11-10 04:15:55 +00:00
|
|
|
span.current-pet(class='Pet-{{profile.items.currentPet}}', ng-show='profile.items.currentPet && !minimal')
|
2013-11-26 22:56:24 +00:00
|
|
|
.avatar-level(ng-class='userLevelStyle(profile,"label")')
|
2013-11-23 13:37:58 +00:00
|
|
|
| Lvl {{profile.stats.lvl}}
|