app/views/chat/index.html.haml
1ec65f29
 - content_for :title, t("chat.title")
 - content_for :javascript, javascript_include_tag("application")
333715b4
 - content_for :javascript, javascript_include_tag("backbone-ws")
619ceb7d
 - content_for :javascript do
   :javascript
     I18n.defaultLocale = "#{I18n.default_locale}";
     I18n.locale = "#{I18n.locale}";
1ec65f29
 
589014c7
 %div.chat-alert.alert-notice.no-top-border.top-border#js-popup
   - if flash[:notice]
     %a.close.icon-x{ alt: "#{I18n.t('chat.close')}", href: '#' }
     %h1
       = flash[:notice]
f835d40d
 
1ec65f29
 .container
eee69d20
   .leftside.left
43b171a9
     .roster.border.no-top-border.top-border#height-setter-1
399e76db
       .my-info#js-me
1ec65f29
       .friends
e2e90aca
         #js-active-friends
c42ad290
         #js-inactive-friends
1ec65f29
       .toolbox
00f00dbe
         %input#js-search-contacts{type: 'search', placeholder: "#{I18n.t('chat.roster.search')}", name: 'contact'}
43899b3a
         %a{ href: '#'}
eee69d20
           %span.icon-cog
   .chatting-window.left.rightside
43b171a9
     .tabbar#tabbar
6a6ccd01
       #js-tabbar
b933b434
     #conversation-js
       -#.conversation.clear.border
         -#.messages#height-setter-2{style: "overflow: auto;"}
         -#  %a{ href: "#", class: "event" }
         -#    Load older messages
         -#    %span.icon-arrow-up
         -#  .message-box
         -#    .user
         -#      .avatar
         -#        %img{src: 'assets/avatar.png', alt: t("chat.avatar_alt")}
         -#      -#todo: user name missing in design
         -#    .date 3 hours ago
         -#    %p Lorem ipsum dolor sit amet enim. Etiam ullamcorper. Supendisse a pellentesque dui, non felis. Maecenas malesuada elit lectus felis, malesuada ultricies. Curabitur et ligula...
         -#
         -#  .message-box.active
         -#    .user
         -#      .avatar
         -#        %img{src: 'assets/avatar.png', alt: t("chat.avatar_alt")}
         -#      -#todo: user name missing in design
         -#    .date 3 hours ago
         -#    %p Etiam ullamcorper. Supendisse a pellentesque dui, non felis. Maecenas malesuada elit lectus felis, malesuada ultricies. Lorem ipsum dolor sit amet enim.
         -#
         -#  .event
         -#    Adam left the room | 13:45
         -#
         -#.message-writer#msg-writer
         -#  %input{ type: "text", placeholder: "Type your message here" }
         -#  %input{ type: "submit", value: "Send" }