add in popover for customizations (can't get css working properly)

This commit is contained in:
Tyler Renelle
2013-02-07 21:24:04 -05:00
parent 76231aed12
commit b134ec558d
2 changed files with 18 additions and 1 deletions
+8
View File
@@ -281,3 +281,11 @@ ready (model) ->
exports.setFemale = -> user.set('preferences.gender', 'f')
exports.setArmorsetV1 = -> user.set('preferences.armorSet', 'v1')
exports.setArmorsetV2 = -> user.set('preferences.armorSet', 'v2')
exports.customizationsPopover = ->
$('.main-avatar').popover
html:true
placement:'bottom'
content: $('#customizations-popover').html()
trigger:'manual'
$('.main-avatar').popover 'show'
+10 -1
View File
@@ -206,7 +206,16 @@
<!-- Avatar -->
<td>
<div class="avatar">
<div id='customizations-popover' style='display:none;'>
<div style='height:500px;'>
<table class='customize'><tr>
<td><div class='m_head_0'></div></td>
<td><div class='f_head_0'></div></td>
</tr></table>
</div>
</div>
<div class="avatar main-avatar" x-bind="click:customizationsPopover">
<div class='character-sprites'>
<span class='m_skin_white'></span>
<span class='m_head_0'></span>