blob: 7a7951c780ee900a691c23b2b2adc78381828404 (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
<html class="page">
<head>
</head>
<body class="container">
<div id="connect-container">
<div class="ui segment" id="connect-settings">
<div class="ui input" id="server-container">
<input placeholder="Server" id="server-input" type="text" autofocus="true">
</div>
<div class="ui divider"></div>
<div class="ui input" id="port-container">
<input placeholder="Port" id="port-input" type="text">
</div>
<div class="ui divider"></div>
<div class="ui input" id="nick-container">
<input placeholder="Nick" id="nick-input" type="text">
</div>
<div class="ui divider"></div>
<div class="ui input" id="channel-container">
<input placeholder="Channels" id="channel-input" type="text">
</div>
<div class="ui divider"></div>
<div class="ui input" id="password-container">
<input placeholder="Password" id="password-input" type="password">
</div>
<div class="ui divider"></div>
<div class="ui toggle checkbox">
<input id="ssl-input" type="checkbox">
<label>Enable SSL</label>
</div>
<div class="ui divider"></div>
<button class="ui button" id="connect">Connect</button>
</div>
</div>
<div id="chan-container" style="display:none">
<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" style="display:none">
<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');
blachat = require("./index.js");
function scrollToTop(channel) {
var chatTab = $("[data-tab="+ 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>
|