]> andersk Git - test.git/blob - shellinabox/root_page.html
adb3342eda9ae0f8a5a02741f9c1b4f16613018e
[test.git] / shellinabox / root_page.html
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xml:lang="en" lang="en">
4   <head>
5     <!--
6     ShellInABox - Make command line applications available as AJAX web applications
7     Copyright (C) 2008-2009 Markus Gutschke markus@shellinabox.com
8     
9     This program is free software; you can redistribute it and/or modify
10     it under the terms of the GNU General Public License version 2 as
11     published by the Free Software Foundation.
12     
13     This program is distributed in the hope that it will be useful,
14     but WITHOUT ANY WARRANTY; without even the implied warranty of
15     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16     GNU General Public License for more details.
17     
18     You should have received a copy of the GNU General Public License along
19     with this program; if not, write to the Free Software Foundation, Inc.,
20     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21     
22     In addition to these license terms, the author grants the following
23     additional rights:
24     
25     If you modify this program, or any covered work, by linking or
26     combining it with the OpenSSL project's OpenSSL library (or a
27     modified version of that library), containing parts covered by the
28     terms of the OpenSSL or SSLeay licenses, the author
29     grants you additional permission to convey the resulting work.
30     Corresponding Source for a non-source form of such a combination
31     shall include the source code for the parts of OpenSSL used as well
32     as that of the covered work.
33     
34     You may at your option choose to remove this additional permission from
35     the work, or from any part of it.
36     
37     It is possible to build this program in a way that it loads OpenSSL
38     libraries at run-time. If doing so, the following notices are required
39     by the OpenSSL and SSLeay licenses:
40     
41     This product includes software developed by the OpenSSL Project
42     for use in the OpenSSL Toolkit. (http://www.openssl.org/)
43     
44     This product includes cryptographic software written by Eric Young
45     (eay@cryptsoft.com)   
46     
47     The most up-to-date version of this program is always available from
48     http://shellinabox.com
49     -->
50     <title>Shell In A Box</title>
51     <link rel="stylesheet" href="styles.css" type="text/css">
52     <script type="text/javascript"><!--
53       // Check that our URL is well-formed. Redirect to HTTPS if necessary
54       (function() {
55         var hasSSL = %s;
56         var path   = document.location.pathname;
57         var proto  = hasSSL ? 'https:' : 'http:';
58         if (path.match(/plain/) || !hasSSL) {
59           proto   = 'http:';
60         }
61         path      = path.replace(/\/+/, '/').replace(/\/$/, '');
62         if (!path.match(/(?:\/|\/plain)$/)) {
63           path   += '/';
64         }
65         var url   = proto + '//' + document.location.host + path;
66         if (document.location.search != '' &&
67             document.location.search != '?') {
68           url    += document.location.search;
69         }
70         if (document.location.hash != '' &&
71             document.location.hash != '#') {
72           url    += document.location.hash;
73         }
74         if (url != document.location.href) {
75           document.location.replace(url);
76         }
77       })();
78
79       // We would like to hide overflowing lines as this can lead to
80       // visually jarring results if the browser substitutes oversized
81       // Unicode characters from different fonts. Unfortunately, a bug
82       // in Firefox prevents it from allowing multi-line text
83       // selections whenever we change the "overflow" style. So, only
84       // do so for non-Netscape browsers.
85       if (typeof navigator.appName == 'undefined' ||
86           navigator.appName != 'Netscape') {
87         document.write('<style type="text/css">' +
88                        '#vt100 #console div, #vt100 #alt_console div {' +
89                        '  overflow: hidden;' +
90                        '}' +
91                        '</style>');
92       }
93     --></script>
94     <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
95     <script type="text/javascript" src="ShellInABox.js"></script>
96   </head>
97   <!-- Load ShellInABox from a timer as Konqueror sometimes fails to
98        correctly deal with the enclosing frameset (if any), if we do not
99        do this
100    -->
101   <body onload="setTimeout('new ShellInABox()', 100)"
102         scroll="no"><noscript>JavaScript
103     must be enabled for ShellInABox</noscript></body>
104 </html>
This page took 0.029949 seconds and 3 git commands to generate.