summaryrefslogtreecommitdiffstats
path: root/web/templates/channel.html
blob: c15cea178ce0321ffbc03e9dfea33550c8bd9e87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{{define "channel"}}
<!DOCTYPE html>
<html>
{{template "head" . }}
<body>
  <div id="error_bar"></div>
  <div id="channel_view" class="channel-view"></div>
  <div id="channel_loader"></div>
  <div id="post_mention_tab"></div>
  <div id="reply_mention_tab"></div>
  <div id="edit_mention_tab"></div>
  <div id="get_link_modal"></div>
  <div id="user_settings_modal"></div>
  <div id="import_theme_modal"></div>
  <div id="team_settings_modal"></div>
  <div id="invite_member_modal"></div>
  <div id="edit_channel_modal"></div>
  <div id="delete_channel_modal"></div>
  <div id="rename_channel_modal"></div>
  <div id="rename_team_modal"></div>
  <div id="edit_post_modal"></div>
  <div id="delete_post_modal"></div>
  <div id="more_channels_modal"></div>
  <div id="new_channel_modal"></div>
  <div id="post_deleted_modal"></div>
  <div id="channel_notifications_modal"></div>
  <div id="team_members_modal"></div>
  <div id="direct_channel_modal"></div>
  <div id="channel_info_modal"></div>
  <div id="access_history_modal"></div>
  <div id="activity_log_modal"></div>
  <div id="removed_from_channel_modal"></div>
  <div id="register_app_modal"></div>
<script>
  window.setup_channel_page({{ .Props }});
  $('body').tooltip( {selector: '[data-toggle=tooltip]'} );
  if($(window).height() > 1200){
    $('.modal-body').css('max-height', 1000);
  }
  else {
    $('.modal-body').css('max-height', $(window).height() - 200);
  }
  $('.modal-body').perfectScrollbar();
</script>
</body>
</html>
{{end}}