home.tpl 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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 session_list != 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 session_list %}
  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 %}