profile.tpl 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {% extends 'layout/layout_1_col.tpl'|get_template %}
  2. {% block content %}
  3. <style>
  4. #listFriends .list-group {
  5. max-height: 250px;
  6. overflow-y:auto;
  7. }
  8. </style>
  9. <div class="row">
  10. <div class="col-md-3">
  11. {{ social_avatar_block }}
  12. {{ social_extra_info_block }}
  13. <div class="social-network-menu">
  14. {{ social_menu_block }}
  15. </div>
  16. </div>
  17. <div id="wallMessages" class="col-md-6">
  18. {{ add_post_form }}
  19. <div class="spinner"></div>
  20. <div class="panel panel-preview panel-default" hidden="true">
  21. <div class="panel-heading">
  22. <h3 class="panel-title">{{ "Url" | get_lang }} - {{ "Preview" | get_lang }}</h3>
  23. </div>
  24. <div class="panel-body">
  25. <div class="url_preview"></div>
  26. </div>
  27. </div>
  28. {{ posts }}
  29. {{ social_auto_extend_link }}
  30. </div>
  31. <div class="col-md-3">
  32. {{ social_group_info_block }}
  33. <div class="chat-friends">
  34. <div class="panel-group" id="blocklistFriends" role="tablist" aria-multiselectable="true">
  35. <div class="panel panel-default">
  36. <div class="panel-heading" role="tab" id="headingOne">
  37. <h4 class="panel-title">
  38. <a role="button" data-toggle="collapse" data-parent="#blocklistFriends" href="#listFriends" aria-expanded="true" aria-controls="listFriends">
  39. {{ "SocialFriend" | get_lang }}
  40. </a>
  41. </h4>
  42. </div>
  43. <div id="listFriends" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
  44. <div class="panel-body">
  45. {{ social_friend_block }}
  46. </div>
  47. </div>
  48. </div>
  49. </div>
  50. </div>
  51. {{ social_skill_block }}
  52. <!-- Block course list -->
  53. {% if social_course_block != null %}
  54. <div class="panel-group" id="course-block" role="tablist" aria-multiselectable="true">
  55. <div class="panel panel-default">
  56. <div class="panel-heading" role="tab" id="headingOne">
  57. <h4 class="panel-title">
  58. <a role="button" data-toggle="collapse" data-parent="#course-block" href="#courseList" aria-expanded="true" aria-controls="courseList">
  59. {{ "MyCourses" | get_lang }}
  60. </a>
  61. </h4>
  62. </div>
  63. <div id="courseList" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
  64. <div class="panel-body">
  65. <ul class="list-group">
  66. {{ social_course_block }}
  67. </ul>
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. {% endif %}
  73. <!-- Block session list -->
  74. {% if session_list != null %}
  75. <div class="panel-group" id="session-block" role="tablist" aria-multiselectable="true">
  76. <div class="panel panel-default">
  77. <div class="panel-heading" role="tab" id="headingOne">
  78. <h4 class="panel-title">
  79. <a role="button" data-toggle="collapse" data-parent="#session-block" href="#sessionList" aria-expanded="true" aria-controls="sessionList">
  80. {{ "MySessions" | get_lang }}
  81. </a>
  82. </h4>
  83. </div>
  84. <div id="sessionList" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
  85. <div class="panel-body">
  86. <ul class="list-group">
  87. {% for session in session_list %}
  88. <li id="session_{{ session.id }}" class="list-group-item" style="min-height:65px;">
  89. <img class="img-session" src="{{ session.image }}"/>
  90. <span class="title">{{ session.name }}</span>
  91. </li>
  92. {% endfor %}
  93. </ul>
  94. </div>
  95. </div>
  96. </div>
  97. </div>
  98. {% endif %}
  99. {{ invitations }}
  100. {{ social_rss_block }}
  101. {{ social_right_information }}
  102. </div>
  103. </div>
  104. {% if form_modals is defined %}
  105. {{ form_modals }}
  106. {% endif %}
  107. {% endblock %}