summaryrefslogtreecommitdiffstats
path: root/web/templates/channel.html
blob: a5c0354a39b102d7d9c8d46c3063bb45dcbd5514 (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
{{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_team_invite_link_modal"></div>
  <div id="import_theme_modal"></div>
  <div id="team_settings_modal"></div>
  <div id="invite_member_modal"></div>
  <div id="rename_channel_modal"></div>
  <div id="edit_post_modal"></div>
  <div id="delete_post_modal"></div>
  <div id="more_channels_modal"></div>
  <div id="post_deleted_modal"></div>
  <div id="channel_notifications_modal"></div>
  <div id="team_members_modal"></div>
  <div id="removed_from_channel_modal"></div>
  <div id="register_app_modal"></div>
<script>
window.setup_channel_page({{ .Props }}, {{ .Team }}, {{ .Channel }}, {{ .User }});
  $('body').tooltip( {selector: '[data-toggle=tooltip]'} );
  var modals = $('.modal-body').not('.edit-modal-body');
  if($(window).height() > 1200){
    modals.css('max-height', 1000);
  } else {
    modals.css('max-height', $(window).height() - 50);
  }
  modals.perfectScrollbar();
</script>
</body>
</html>
{{end}}