profile.tpl 4.4 KB

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