blob: dcc50115b839b913dc6394cf5400a2e192729197 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{{define "channel"}}
<!DOCTYPE html>
<html>
{{template "head" . }}
<body>
<div id="channel_view" class='channel-view'></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() - 200);
}
modals.perfectScrollbar();
</script>
</body>
</html>
{{end}}
|