home.tpl 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {% extends template ~ "/layout/layout_1_col.tpl" %}
  2. {% block content %}
  3. <div class="row">
  4. <div class="col-md-3">
  5. {{ social_avatar_block }}
  6. <div class="social-network-menu">
  7. {{ social_menu_block }}
  8. </div>
  9. </div>
  10. <div class="col-md-6">
  11. {{ social_search_block }}
  12. {{ social_skill_block }}
  13. {{ social_group_block }}
  14. {{ social_right_content }}
  15. <div id="message_ajax_reponse" class=""></div>
  16. <div id="display_response_id"></div>
  17. {{ social_auto_extend_link }}
  18. </div>
  19. <div class="col-md-3">
  20. <!-- Block chat list -->
  21. <div class="chat-friends">
  22. <div class="panel-group" id="blocklistFriends" role="tablist" aria-multiselectable="true">
  23. <div class="panel panel-default">
  24. <div class="panel-heading" role="tab" id="headingOne">
  25. <h4 class="panel-title">
  26. <a role="button" data-toggle="collapse" data-parent="#blocklistFriends" href="#listFriends" aria-expanded="true" aria-controls="listFriends">
  27. {{ "SocialFriend" | get_lang }}
  28. </a>
  29. </h4>
  30. </div>
  31. <div id="listFriends" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
  32. <div class="panel-body">
  33. {{ social_friend_block }}
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. <!-- Block session list -->
  40. {% if sessionList != null %}
  41. <div class="panel-group" id="session-block" role="tablist" aria-multiselectable="true">
  42. <div class="panel panel-default">
  43. <div class="panel-heading" role="tab" id="headingOne">
  44. <h4 class="panel-title">
  45. <a role="button" data-toggle="collapse" data-parent="#session-block" href="#sessionList" aria-expanded="true" aria-controls="sessionList">
  46. {{ "MySessions" | get_lang }}
  47. </a>
  48. </h4>
  49. </div>
  50. <div id="sessionList" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
  51. <div class="panel-body">
  52. <ul class="list-group">
  53. {% for session in sessionList %}
  54. <li id="session_{{ session.id }}" class="list-group-item" style="min-height:65px;">
  55. <img class="img-session" src="{{ session.image }}"/>
  56. <span class="title">{{ session.name }}</span>
  57. </li>
  58. {% endfor %}
  59. </ul>
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. {% endif %}
  65. </div>
  66. </div>
  67. {% endblock %}