aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/example
diff options
context:
space:
mode:
authoronefang2019-08-04 10:30:42 +1000
committeronefang2019-08-04 10:30:42 +1000
commitbf27216a290c125f565d08700bb6693387fac9bf (patch)
tree6d65f274666c6fd9cf21d8a8561c0289535ce051 /example
parentDon't wait_for_text for anything between [], coz that's a grep thing. (diff)
downloadopensim-SC_OLD-bf27216a290c125f565d08700bb6693387fac9bf.zip
opensim-SC_OLD-bf27216a290c125f565d08700bb6693387fac9bf.tar.gz
opensim-SC_OLD-bf27216a290c125f565d08700bb6693387fac9bf.tar.bz2
opensim-SC_OLD-bf27216a290c125f565d08700bb6693387fac9bf.tar.xz
Add a basic generic web server, and a login page, plus stubs for the other basic pages.
And update everyone to suit.
Diffstat (limited to '')
-rw-r--r--example/config/config.ini2
-rw-r--r--example/web/SledjHamr.pngbin0 -> 2025959 bytes
-rw-r--r--example/web/about.html9
-rw-r--r--example/web/help.html9
-rw-r--r--example/web/loginpage.html24
-rw-r--r--example/web/password_help.html9
-rw-r--r--example/web/register.html11
7 files changed, 63 insertions, 1 deletions
diff --git a/example/config/config.ini b/example/config/config.ini
index 7efdb44..e95b04c 100644
--- a/example/config/config.ini
+++ b/example/config/config.ini
@@ -18,7 +18,7 @@
18 ConfigPath = "../../config" 18 ConfigPath = "../../config"
19 DbPath = "../../db" 19 DbPath = "../../db"
20 LogPath = "../../logs" 20 LogPath = "../../logs"
21 21 WebPath = "../../web"
22 22
23[Const] 23[Const]
24 MOTD = "Welcome to your local grid." 24 MOTD = "Welcome to your local grid."
diff --git a/example/web/SledjHamr.png b/example/web/SledjHamr.png
new file mode 100644
index 0000000..1660a90
--- /dev/null
+++ b/example/web/SledjHamr.png
Binary files differ
diff --git a/example/web/about.html b/example/web/about.html
new file mode 100644
index 0000000..e45f00a
--- /dev/null
+++ b/example/web/about.html
@@ -0,0 +1,9 @@
1<html>
2<title>About this grid</title>
3<head>
4</head>
5<body bgcolor="black" text="white" alink="red" link="blue" vlink="purple">
6This is a virtual world, usually called a grid, based on <a href="https://sledjhamr.org/cgit/opensim-SC/?h=SledjChisl">OpenSim_SC</a>.
7<p>&nbsp;</p>
8</body>
9</html>
diff --git a/example/web/help.html b/example/web/help.html
new file mode 100644
index 0000000..64194ca
--- /dev/null
+++ b/example/web/help.html
@@ -0,0 +1,9 @@
1<html>
2<title>Help for this grid</title>
3<head>
4</head>
5<body bgcolor="black" text="white" alink="red" link="blue" vlink="purple">
6Include help for your grid here.
7<p>&nbsp;</p>
8</body>
9</html>
diff --git a/example/web/loginpage.html b/example/web/loginpage.html
new file mode 100644
index 0000000..aa58e6b
--- /dev/null
+++ b/example/web/loginpage.html
@@ -0,0 +1,24 @@
1<html>
2<title>This grid</title>
3<head>
4</head>
5<body bgcolor="black" text="white" alink="red" link="blue" vlink="purple" background="SledjHamr.png">
6<p>&nbsp;</p>
7<p>&nbsp;</p>
8<h1>Add your fancy splash page for your grid here.</h1>
9<p>&nbsp;</p>
10<p>&nbsp;</p>
11<p>There may be some new members. &nbsp; Welcome new members.</p>
12<p>&nbsp;</p>
13<p>There are likely some members of this grid.</p>
14<p>&nbsp;</p>
15<p>There maybe some people online now.</p>
16<p>&nbsp;</p>
17<p>There maybe some visitors from the hypergrid.</p>
18<p>&nbsp;</p>
19<p>There is probably at least one region, maybe more.</p>
20<p>&nbsp;</p>
21<p>Some people might have been on in the last month.</p>
22<p>&nbsp;</p>
23</body>
24</html>
diff --git a/example/web/password_help.html b/example/web/password_help.html
new file mode 100644
index 0000000..129fb7d
--- /dev/null
+++ b/example/web/password_help.html
@@ -0,0 +1,9 @@
1<html>
2<title>Password help for this grid</title>
3<head>
4</head>
5<body bgcolor="black" text="white" alink="red" link="blue" vlink="purple">
6Include password help for your grid here.
7<p>&nbsp;</p>
8</body>
9</html>
diff --git a/example/web/register.html b/example/web/register.html
new file mode 100644
index 0000000..a316f41
--- /dev/null
+++ b/example/web/register.html
@@ -0,0 +1,11 @@
1<html>
2<title>Account for this grid</title>
3<head>
4</head>
5<body bgcolor="black" text="white" alink="red" link="blue" vlink="purple">
6Include account registration help for your grid here.
7<p>&nbsp;</p>
8<p>If you want to register an acocunt on this grid, ask the person that runs it to do that for you.</p>
9<p>&nbsp;</p>
10</body>
11</html>