diff options
author | onefang | 2021-09-09 12:30:24 +1000 |
---|---|---|
committer | onefang | 2021-09-09 12:30:24 +1000 |
commit | 5e05f276c5ea784df0de86d70bf7aab2e5de32d5 (patch) | |
tree | ae0b057c8e50ad486102c2a8dabc293d8a0a9bfd /example/www | |
parent | Remove various empty example directories that are auto created now. (diff) | |
download | opensim-SC-5e05f276c5ea784df0de86d70bf7aab2e5de32d5.zip opensim-SC-5e05f276c5ea784df0de86d70bf7aab2e5de32d5.tar.gz opensim-SC-5e05f276c5ea784df0de86d70bf7aab2e5de32d5.tar.bz2 opensim-SC-5e05f276c5ea784df0de86d70bf7aab2e5de32d5.tar.xz |
Rejig the web stuff.
Move to examples to example/var/www.
Move the web socket to scRoot/var/run.
Make the name of the web socket configurable.
Populate the scRoot/var/www from exomples if it's empty.
Everyone uses SledjChisl.css now.
Some clean ups.
Comment++
Diffstat (limited to '')
-rw-r--r-- | example/var/www/html/SledjHamr.png (renamed from example/www/SledjHamr.png) | bin | 1655233 -> 1655233 bytes | |||
-rw-r--r-- | example/var/www/html/SledjHamrIcon.png (renamed from example/www/SledjHamrIcon.png) | bin | 95362 -> 95362 bytes | |||
-rw-r--r-- | example/var/www/html/SledjHamrIconSmall.png (renamed from example/www/SledjHamrIconSmall.png) | bin | 8535 -> 8535 bytes | |||
-rw-r--r-- | example/var/www/html/debugStyle.css (renamed from example/www/debugStyle.css) | 0 | ||||
-rw-r--r-- | example/var/www/html/loginpage.html (renamed from example/www/loginpage.html) | 61 | ||||
-rw-r--r-- | example/var/www/html/stats.html (renamed from example/www/stats.html) | 14 | ||||
-rw-r--r-- | example/www/SledjChisl.css | 63 | ||||
-rw-r--r-- | example/www/about.html | 11 | ||||
-rw-r--r-- | example/www/help.html | 11 | ||||
-rw-r--r-- | example/www/password_help.html | 11 | ||||
-rw-r--r-- | example/www/register.html | 15 |
11 files changed, 2 insertions, 184 deletions
diff --git a/example/www/SledjHamr.png b/example/var/www/html/SledjHamr.png index 9089573..9089573 100644 --- a/example/www/SledjHamr.png +++ b/example/var/www/html/SledjHamr.png | |||
Binary files differ | |||
diff --git a/example/www/SledjHamrIcon.png b/example/var/www/html/SledjHamrIcon.png index e3b50e1..e3b50e1 100644 --- a/example/www/SledjHamrIcon.png +++ b/example/var/www/html/SledjHamrIcon.png | |||
Binary files differ | |||
diff --git a/example/www/SledjHamrIconSmall.png b/example/var/www/html/SledjHamrIconSmall.png index a1a6d72..a1a6d72 100644 --- a/example/www/SledjHamrIconSmall.png +++ b/example/var/www/html/SledjHamrIconSmall.png | |||
Binary files differ | |||
diff --git a/example/www/debugStyle.css b/example/var/www/html/debugStyle.css index 98645cc..98645cc 100644 --- a/example/www/debugStyle.css +++ b/example/var/www/html/debugStyle.css | |||
diff --git a/example/www/loginpage.html b/example/var/www/html/loginpage.html index 7a221dc..38d5761 100644 --- a/example/www/loginpage.html +++ b/example/var/www/html/loginpage.html | |||
@@ -4,66 +4,7 @@ | |||
4 | <meta charset="UTF-8"> | 4 | <meta charset="UTF-8"> |
5 | <link rel="shortcut icon" href="/SledjHamrIconSmall.png"> | 5 | <link rel="shortcut icon" href="/SledjHamrIconSmall.png"> |
6 | <meta http-equiv="refresh" content="120"> | 6 | <meta http-equiv="refresh" content="120"> |
7 | <style> | 7 | <link type="text/css" rel="stylesheet" href="/SledjChisl.css" media="all" /> |
8 | html, body | ||
9 | { | ||
10 | margin: 0; | ||
11 | padding: 0; | ||
12 | color: white; | ||
13 | } | ||
14 | a {color: green;} | ||
15 | a:link {color: green;} | ||
16 | a:visited {color: purple;} | ||
17 | a:hover {color: red;} | ||
18 | a:active {color: blue;} | ||
19 | |||
20 | .container | ||
21 | { | ||
22 | position: relative; | ||
23 | text-align: left; | ||
24 | } | ||
25 | |||
26 | .top-left | ||
27 | { | ||
28 | position: absolute; | ||
29 | top: 8px; | ||
30 | left: 16px; | ||
31 | width: 30%; | ||
32 | } | ||
33 | |||
34 | .top-right | ||
35 | { | ||
36 | position: absolute; | ||
37 | top: 8px; | ||
38 | right: 16px; | ||
39 | width: 30%; | ||
40 | } | ||
41 | |||
42 | .centre | ||
43 | { | ||
44 | position: absolute; | ||
45 | top: 50%; | ||
46 | left: 50%; | ||
47 | width: 30%; | ||
48 | transform: translate(-50%, -50%); | ||
49 | } | ||
50 | |||
51 | .bottom-left | ||
52 | { | ||
53 | position: absolute; | ||
54 | bottom: 8px; | ||
55 | left: 16px; | ||
56 | width: 30%; | ||
57 | } | ||
58 | |||
59 | .bottom-right | ||
60 | { | ||
61 | position: absolute; | ||
62 | bottom: 8px; | ||
63 | right: 16px; | ||
64 | width: 30%; | ||
65 | } | ||
66 | </style> | ||
67 | <link type="text/css" rel="stylesheet" href="/debugStyle.css" media="all" /> | 8 | <link type="text/css" rel="stylesheet" href="/debugStyle.css" media="all" /> |
68 | </head> | 9 | </head> |
69 | <body> | 10 | <body> |
diff --git a/example/www/stats.html b/example/var/www/html/stats.html index 7b51b06..a48ee01 100644 --- a/example/www/stats.html +++ b/example/var/www/html/stats.html | |||
@@ -3,20 +3,8 @@ | |||
3 | <head> | 3 | <head> |
4 | <meta charset="UTF-8"> | 4 | <meta charset="UTF-8"> |
5 | <link rel="shortcut icon" href="/SledjHamrIconSmall.png"> | 5 | <link rel="shortcut icon" href="/SledjHamrIconSmall.png"> |
6 | <link type='text/css' rel='stylesheet' href='/SledjChisl.css' media='all' /> | ||
6 | <meta http-equiv="refresh" content="120"> | 7 | <meta http-equiv="refresh" content="120"> |
7 | <style> | ||
8 | html, body {background-color: black; color: white; font-family: 'sans-serif'; margin: 0; padding: 0;} | ||
9 | a:link {color: aqua;} | ||
10 | a:visited {color: fuchsia;} | ||
11 | a:hover {color: blue;} | ||
12 | a:active {color: red;} | ||
13 | button {background-color: darkgreen; color: white; font-family: 'sans-serif';} | ||
14 | button:hover {color: blue;} | ||
15 | button:active {color: red;} | ||
16 | label {background-color:darkgreen; color: white; font-family: 'sans-serif'; font-size: 160%;} | ||
17 | input {background-color:darkblue; color: white; font-family: 'sans-serif'; font-size: 80%;} | ||
18 | textarea {background-color:darkblue; color: white; font-family: 'sans-serif'; font-size: 80%; vertical-align: top;} | ||
19 | </style> | ||
20 | </head> | 8 | </head> |
21 | <body bgcolor='black' text='white' link='aqua' vlink='fuchsia' alink='red'> | 9 | <body bgcolor='black' text='white' link='aqua' vlink='fuchsia' alink='red'> |
22 | <font face='sans-serif'> | 10 | <font face='sans-serif'> |
diff --git a/example/www/SledjChisl.css b/example/www/SledjChisl.css deleted file mode 100644 index fb19f89..0000000 --- a/example/www/SledjChisl.css +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | html, body | ||
2 | { | ||
3 | margin: 0; | ||
4 | padding: 0; | ||
5 | color: white; | ||
6 | } | ||
7 | a {color: green;} | ||
8 | a:link {color: green;} | ||
9 | a:visited {color: purple;} | ||
10 | a:hover {color: red;} | ||
11 | a:active {color: blue;} | ||
12 | |||
13 | .container | ||
14 | { | ||
15 | position: relative; | ||
16 | text-align: left; | ||
17 | } | ||
18 | |||
19 | .top-left | ||
20 | { | ||
21 | position: absolute; | ||
22 | top: 8px; | ||
23 | left: 16px; | ||
24 | height: 30%; | ||
25 | width: 30%; | ||
26 | } | ||
27 | |||
28 | .top-right | ||
29 | { | ||
30 | position: absolute; | ||
31 | top: 8px; | ||
32 | right: 16px; | ||
33 | height: 30%; | ||
34 | width: 30%; | ||
35 | } | ||
36 | |||
37 | .centre | ||
38 | { | ||
39 | position: absolute; | ||
40 | top: 50%; | ||
41 | left: 50%; | ||
42 | height: 30%; | ||
43 | width: 30%; | ||
44 | transform: translate(-50%, -50%); | ||
45 | } | ||
46 | |||
47 | .bottom-left | ||
48 | { | ||
49 | position: absolute; | ||
50 | bottom: 8px; | ||
51 | left: 16px; | ||
52 | height: 30%; | ||
53 | width: 30%; | ||
54 | } | ||
55 | |||
56 | .bottom-right | ||
57 | { | ||
58 | position: absolute; | ||
59 | bottom: 8px; | ||
60 | right: 16px; | ||
61 | height: 30%; | ||
62 | width: 30%; | ||
63 | } | ||
diff --git a/example/www/about.html b/example/www/about.html deleted file mode 100644 index 3afc962..0000000 --- a/example/www/about.html +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | <html> | ||
2 | <title>About this grid</title> | ||
3 | <head> | ||
4 | <meta charset="UTF-8"> | ||
5 | <link rel="shortcut icon" href="SledjHamrIconSmall.png"> | ||
6 | </head> | ||
7 | <body bgcolor="black" text="white" alink="red" link="blue" vlink="purple"> | ||
8 | This is a virtual world, usually called a grid, based on <a href="https://sledjhamr.org/cgit/opensim-SC/?h=SledjChisl">opensim-SC</a>. | ||
9 | <p> </p> | ||
10 | </body> | ||
11 | </html> | ||
diff --git a/example/www/help.html b/example/www/help.html deleted file mode 100644 index 9a75aa6..0000000 --- a/example/www/help.html +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | <html> | ||
2 | <title>Help for this grid</title> | ||
3 | <head> | ||
4 | <meta charset="UTF-8"> | ||
5 | <link rel="shortcut icon" href="SledjHamrIconSmall.png"> | ||
6 | </head> | ||
7 | <body bgcolor="black" text="white" alink="red" link="blue" vlink="purple"> | ||
8 | Include help for your grid here. | ||
9 | <p> </p> | ||
10 | </body> | ||
11 | </html> | ||
diff --git a/example/www/password_help.html b/example/www/password_help.html deleted file mode 100644 index aef6bd5..0000000 --- a/example/www/password_help.html +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | <html> | ||
2 | <title>Password help for this grid</title> | ||
3 | <head> | ||
4 | <meta charset="UTF-8"> | ||
5 | <link rel="shortcut icon" href="SledjHamrIconSmall.png"> | ||
6 | </head> | ||
7 | <body bgcolor="black" text="white" alink="red" link="blue" vlink="purple"> | ||
8 | Include password help for your grid here. | ||
9 | <p> </p> | ||
10 | </body> | ||
11 | </html> | ||
diff --git a/example/www/register.html b/example/www/register.html deleted file mode 100644 index 46317e6..0000000 --- a/example/www/register.html +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | <html> | ||
2 | <title>Account for this grid</title> | ||
3 | <head> | ||
4 | <meta charset="UTF-8"> | ||
5 | <link rel="shortcut icon" href="SledjHamrIconSmall.png"> | ||
6 | </head> | ||
7 | <body bgcolor="black" text="white" alink="red" link="blue" vlink="purple"> | ||
8 | Include account registration help for your grid here. | ||
9 | <p> </p> | ||
10 | <p>If you want to register an account on this grid, ask the person that runs it to do that for you.</p> | ||
11 | <p> </p> | ||
12 | <p>If you want to register an account on this grid, <a href="account.html"> click here</a> (when it's written).</p> | ||
13 | <p> </p> | ||
14 | </body> | ||
15 | </html> | ||