forked from rustdesk/rustdesk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchatbox.html
More file actions
31 lines (31 loc) · 950 Bytes
/
Copy pathchatbox.html
File metadata and controls
31 lines (31 loc) · 950 Bytes
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
<html window-resizable>
<head>
<style>
@import url(common.css);
@media platform != "OSX" {
body {
border-top: color(border) solid 1px;
}
}
</style>
<script type="text/tiscript">
include "common.tis";
var p = view.parameters;
view.refresh = function() {
$(body).content(<ChatBox msgs={p.msgs} callback={p.callback} />);
view.focus = $(input);
}
function self.closing() {
view.windowState = View.WINDOW_HIDDEN;
return false;
}
view.windowIcon = self.url(p.icon);
function self.ready() {
view.windowTopmost = true;
view.refresh();
view.windowTopmost = false;
}
</script>
</head>
<body></body>
</html>