.container-fluid
  .row
    .col-md-4
      table
        tr
          td
            .npc_daniel
          td
            .popover.static-popover.fade.right.in
              .arrow
              h3.popover-title
                a(target='_blank', href='http://www.kickstarter.com/profile/2014640723')=env.t('daniel')
              .popover-content
                =env.t('danielText')
                div
                  button.btn.btn-lg.btn-success(ng-class='{active: user.preferences.sleep}', ng-click='User.user.ops.sleep({})')
                    span(ng-show='user.preferences.sleep')=env.t('innCheckOut')
                    span(ng-hide='user.preferences.sleep')=env.t('innCheckIn')
      .alert.alert-info(ng-show='user.preferences.sleep')
        =env.t('innText')

      // Resources
      .panel.panel-default
        .panel-heading
          h3.panel-title=env.t('resources')
        .panel-body
          table.table.table-striped
            tr
              td
                a(target='_blank', href='http://habitrpg.wikia.com/wiki/Board:The_Archery_-_LFG')=env.t('lfgPosts')
            tr
              td
                a(target='_blank', href='https://vimeo.com/57654086')=env.t('tutorial')
            tr
              td
                a(target='_blank', href='http://habitrpg.wikia.com/wiki/FAQ')=env.t('FAQ')
            tr
              td
                a(target='_blank', href='http://habitrpg.wikia.com/wiki/Glossary')=env.t('glossary')
            tr
              td
                a(target='_blank', href='https://github.com/HabitRPG/habitrpg/issues/2760')=env.t('reportAP')
            tr
              td
                a(target='_blank', href='https://trello.com/c/8gzGlle8')= ' ' + env.t('requestAF')
            tr
              td
                a(target='_blank', href='http://habitrpg.wikia.com/wiki/Special:Forum')=env.t('community')

      // Player Tiers
      .panel.panel-default(popover=env.t('tierPop'), popover-trigger="mouseenter", popover-placement="right")
        .panel-heading
          h3.panel-title=env.t('playerTiers')
        .panel-body
          small
            |<a href='/#/options/groups/hall'>
            =env.t('visitHeroes')
            |</a> <br />
            |<a href='http://habitrpg.wikia.com/wiki/Contributor_Rewards' target='_blank'>
            =env.t('conLearn')
            |</a> <br />
            |<a href='http://habitrpg.wikia.com/wiki/Contributing_to_HabitRPG' target='_blank'>
            =env.t('conLearnHow')
            |</a>
          table.table.table-striped.panel-tiers
            tr
              td
                a.label.label-contributor-1(ng-click='toggleUserTier($event)')=env.t('friend') + ' (1-2)'
                div
                  p
                    span.achievement.achievement-firefox
                    !=env.t('friendFirst')
                  hr
                  p
                    span.shop-sprite.item-img(class='shop_armor_special_1')
                    !=env.t('friendSecond')
            tr
              td
                a.label.label-contributor-3(ng-click='toggleUserTier($event)')=env.t('elite') + ' (3-4)'
                div
                  p
                    span.shop-sprite.item-img(class='shop_head_special_1')
                    !=env.t('eliteThird')
                  hr
                  p
                    span.shop-sprite.item-img(class='shop_weapon_special_1')
                    !=env.t('eliteFourth')
            tr
              td
                a.label.label-contributor-5(ng-click='toggleUserTier($event)')=env.t('champion') + ' (5-6)'
                div
                  p
                    span.shop-sprite.item-img(class='shop_shield_special_1')
                    !=env.t('championFifth')
                  hr
                  p
                    div(class='Pet-Dragon-Hydra pull-left')
                    !=env.t('championSixth')
            tr
              td
                a.label.label-contributor-7(ng-click='toggleUserTier($event)')=env.t('legendary') + ' (7)'
                div
                  p
                    !=env.t('legSeventh')
            tr
              td
                a.label.label-contributor-8(ng-click='toggleUserTier($event)')=env.t('heroic')
                div
                  p=env.t('heroicText') 
            tr
              td
                a.label.label-npc(ng-click='toggleUserTier($event)')=env.t('npc')
                div
                  p=env.t('npcText')

      include ./challenge-box

    .col-md-8.tavern(ng-controller='ChatCtrl')
      h3=env.t('tavernTalk')
      include ./chat-box
      .alert.alert-info.alert-sm
        != ' ' + env.t('tavernAlert1') + ' <a href="https://github.com/HabitRPG/habitrpg/issues/2760" target="_blank">' + env.t('tavernAlert2') + '</a>.'
      ul.list-unstyled.tavern-chat
        include ./chat-message
