Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

1.1 KB
Raw Blame
<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() {
                var draft_input = $(input);
                var draft = draft_input ? (draft_input.value || "") : "";
                $(body).content(<ChatBox msgs={p.msgs} callback={p.callback} />);
                var next_input = $(input);
                if (next_input) next_input.value = draft;
                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>