home.tpl 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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 maps -->
  40. <div class="panel-group" id="maps-block" role="tablist" aria-multiselectable="true">
  41. <div class="panel panel-default">
  42. <div class="panel-heading" role="tab" id="headingOne">
  43. <h4 class="panel-title">
  44. <a role="button" data-toggle="collapse" data-parent="#maps-block" href="#mapsList" aria-expanded="true" aria-controls="mapsList">
  45. {{ "Geolocalization" | get_lang }}
  46. </a>
  47. </h4>
  48. </div>
  49. <div id="mapsList" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
  50. <div class="panel-body">
  51. <a href="{{ _p.web }}plugin/google_maps/src/map_coordinates.php" target="_blank">{{ "Map" | get_lang }}</a>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. <!-- end block maps -->
  57. <!-- Block session list -->
  58. {% if sessionList != null %}
  59. <div class="panel-group" id="session-block" role="tablist" aria-multiselectable="true">
  60. <div class="panel panel-default">
  61. <div class="panel-heading" role="tab" id="headingOne">
  62. <h4 class="panel-title">
  63. <a role="button" data-toggle="collapse" data-parent="#session-block" href="#sessionList" aria-expanded="true" aria-controls="sessionList">
  64. {{ "MySessions" | get_lang }}
  65. </a>
  66. </h4>
  67. </div>
  68. <div id="sessionList" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
  69. <div class="panel-body">
  70. <ul class="list-group">
  71. {% for session in sessionList %}
  72. <li id="session_{{ session.id }}" class="list-group-item" style="min-height:65px;">
  73. <img class="img-session" src="{{ session.image }}"/>
  74. <span class="title">{{ session.name }}</span>
  75. </li>
  76. {% endfor %}
  77. </ul>
  78. </div>
  79. </div>
  80. </div>
  81. </div>
  82. {% endif %}
  83. </div>
  84. </div>
  85. {% endblock %}