blob: 1d392983ae264ecdf7907cadea40406c26c7ee18 (
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
|
<html class="page">
<head>
</head>
<body class="container">
<div id="chan-container">
<div class="ui pointing secondary menu">
<a class='active item' data-id='0' data-tab='status'>status</a>
</div>
<div class='ui active tab' data-id='0' data-tab='status'>
<div class='ui segment chat' data-id='0' data-tab='status'></div>
</div>
</div>
</div>
<div id="message">
<div class="ui input" id="message-container">
<input placeholder="Message" id="send-message" type="text" autofocus="true">
</div>
</div>
<script>
window.$ = window.jQuery = require('./lib/jquery-2.2.2.js');
var blachat = require("./index.js");
function scrollToTop(channel) {
var chatTab = $("[data-tab=chan-"+ channel +"].chat");
chatTab.scrollTop(chatTab.prop('scrollHeight'));
}
</script>
<link rel="stylesheet" type="text/css" href="lib/semantic/dist/semantic.min.css">
<link rel="stylesheet" type="text/css" href="style.css">
<script src="lib/semantic/dist/semantic.min.js"></script>
</body>
</html>
|