aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/etc/apache2/sledjchisl.fcgi.conf37
-rw-r--r--example/www/SledjChisl.css63
-rw-r--r--example/www/SledjHamr.pngbin0 -> 1655233 bytes
-rw-r--r--example/www/SledjHamrIcon.pngbin0 -> 95362 bytes
-rw-r--r--example/www/SledjHamrIconSmall.pngbin0 -> 8535 bytes
-rw-r--r--example/www/about.html11
-rw-r--r--example/www/debugStyle.css36
-rw-r--r--example/www/help.html11
-rw-r--r--example/www/loginpage.html109
-rw-r--r--example/www/password_help.html11
-rw-r--r--example/www/register.html15
-rw-r--r--example/www/stats.html41
12 files changed, 334 insertions, 0 deletions
diff --git a/example/etc/apache2/sledjchisl.fcgi.conf b/example/etc/apache2/sledjchisl.fcgi.conf
new file mode 100644
index 0000000..95458cd
--- /dev/null
+++ b/example/etc/apache2/sledjchisl.fcgi.conf
@@ -0,0 +1,37 @@
1# This is just an example to use to modify your real site configuration file.
2
3LoadModule proxy_fcgi_module /usr/lib/apache2/modules/mod_proxy_fcgi.so
4
5<VirtualHost *:80>
6 ServerName localhost
7 ServerAdmin webmaster@localhost
8
9 DocumentRoot /var/www/html
10 <Directory "/var/www/html">
11 AllowOverride All
12 </Directory>
13
14 <FilesMatch "\.fcgi$">
15 SetHandler "proxy:unix:///opt/opensim_SC/caches/sledjchisl.socket|fcgi://localhost/"
16 </FilesMatch>
17
18 ErrorLog ${APACHE_LOG_DIR}/error.log
19 CustomLog ${APACHE_LOG_DIR}/access.log combined
20</VirtualHost>
21
22<IfModule mod_ssl.c>
23 <VirtualHost *:443>
24 ServerName local
25 ServerAlias *.localhost
26 ServerAdmin webmaster@localhost
27
28 DocumentRoot /var/www/html
29 <Directory /var/www/html>
30 AllowOverride All
31 </Directory>
32
33 <FilesMatch "\.fcgi$">
34 SetHandler "proxy:unix:///opt/opensim_SC/caches/sledjchisl.socket|fcgi://localhost/"
35 </FilesMatch>
36 </VirtualHost>
37</IfModule>
diff --git a/example/www/SledjChisl.css b/example/www/SledjChisl.css
new file mode 100644
index 0000000..fb19f89
--- /dev/null
+++ b/example/www/SledjChisl.css
@@ -0,0 +1,63 @@
1html, body
2{
3 margin: 0;
4 padding: 0;
5 color: white;
6}
7a {color: green;}
8a:link {color: green;}
9a:visited {color: purple;}
10a:hover {color: red;}
11a: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/SledjHamr.png b/example/www/SledjHamr.png
new file mode 100644
index 0000000..9089573
--- /dev/null
+++ b/example/www/SledjHamr.png
Binary files differ
diff --git a/example/www/SledjHamrIcon.png b/example/www/SledjHamrIcon.png
new file mode 100644
index 0000000..e3b50e1
--- /dev/null
+++ b/example/www/SledjHamrIcon.png
Binary files differ
diff --git a/example/www/SledjHamrIconSmall.png b/example/www/SledjHamrIconSmall.png
new file mode 100644
index 0000000..a1a6d72
--- /dev/null
+++ b/example/www/SledjHamrIconSmall.png
Binary files differ
diff --git a/example/www/about.html b/example/www/about.html
new file mode 100644
index 0000000..3afc962
--- /dev/null
+++ b/example/www/about.html
@@ -0,0 +1,11 @@
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">
8This 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>&nbsp;</p>
10</body>
11</html>
diff --git a/example/www/debugStyle.css b/example/www/debugStyle.css
new file mode 100644
index 0000000..98645cc
--- /dev/null
+++ b/example/www/debugStyle.css
@@ -0,0 +1,36 @@
1.hoverWrapper0:hover #hoverShow0
2{
3 display: block;
4 border-style: solid;
5 border-color: fuchsia;
6}
7.hoverWrapper0 #hoverShow0
8{
9 display: none;
10 background-color: #222222;
11 text-align: left;
12 position: absolute;
13 width: 100%;
14 border-style: solid;
15 border-color: fuchsia;
16}
17.hoverWrapper1:hover #hoverShow1
18{
19 display: block;
20 border-style: solid;
21 border-color: fuchsia;
22}
23.hoverWrapper1 #hoverShow1
24{
25 display: none;
26 background-color: #222222;
27 text-align: left;
28 position: absolute;
29 width: 100%;
30 border-style: solid;
31 border-color: fuchsia;
32}
33.hoverItem
34{
35 border: 1px solid fuchsia;
36}
diff --git a/example/www/help.html b/example/www/help.html
new file mode 100644
index 0000000..9a75aa6
--- /dev/null
+++ b/example/www/help.html
@@ -0,0 +1,11 @@
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">
8Include help for your grid here.
9<p>&nbsp;</p>
10</body>
11</html>
diff --git a/example/www/loginpage.html b/example/www/loginpage.html
new file mode 100644
index 0000000..7a221dc
--- /dev/null
+++ b/example/www/loginpage.html
@@ -0,0 +1,109 @@
1<html>
2<title><!--#echo var="grid" --> splash page</title>
3<head>
4<meta charset="UTF-8">
5<link rel="shortcut icon" href="/SledjHamrIconSmall.png">
6<meta http-equiv="refresh" content="120">
7<style>
8html, body
9{
10 margin: 0;
11 padding: 0;
12 color: white;
13}
14a {color: green;}
15a:link {color: green;}
16a:visited {color: purple;}
17a:hover {color: red;}
18a: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" />
68</head>
69<body>
70<div class="container">
71 <img src="/SledjHamr.png" alt="SledjHamr" style="width:100%;height:100%;">
72 <div class="top-left">
73 <p class="hoverItem">
74 <div class="hoverWrapper0">
75 <p>DEBUG</p>
76 <div id="hoverShow0">
77 <h1>DEBUG log</h1>
78 <!--#echo var="DEBUG" -->
79 </div>
80 </div>
81 </p>
82 <h1>Add your fancy splash page for <!--#echo var="grid" --> here.</h1>
83 <p>&nbsp;</p>
84 <p>&nbsp;</p>
85 <p>&nbsp;</p>
86 <p>Perhaps describe <!--#echo var="grid" --> here.</p>
87 </div>
88 <div class="top-right">
89 <H1><!--#echo var="grid" --> is <!--#echo var="gridOnline" --></h1>
90 <h1>Login URI - <!--#echo var="uri" --></h1>
91 <p>&nbsp;</p>
92 <p>There are <!--#echo var="members" --> members of this grid.</p>
93 <p>There are <!--#echo var="inworld" --> locals and <!--#echo var="hgers" --> hypergrid visitors in world.</p>
94 <p>There are <!--#echo var="outworld" --> locals out on the hypergrid.</p>
95 <p>There have been <!--#echo var="day30" --> locals and visitors on this grid in the last month.</p>
96 <p>There are <!--#echo var="sims" --> regions, though some might not be online right now.</p>
97 </div>
98 <div class="centre">
99 <p>Maybe add some news or events here, or something.</p>
100 </div>
101 <div class="bottom-left">
102 <p>CSS by Taylor Temper, photo by onefang rejected.</p>
103 </div>
104 <div class="bottom-right">
105 <p><!--#echo var="grid" --> is running <a href="https://sledjhamr.org/mantisbt/project_page.php?project_id=8"><!--#echo var="version" --></a>,
106 part of the <a href="https://sledjhamr.org/git/docs/index.html">SledjHamr</a> project.</p>
107</div>
108</body>
109</html>
diff --git a/example/www/password_help.html b/example/www/password_help.html
new file mode 100644
index 0000000..aef6bd5
--- /dev/null
+++ b/example/www/password_help.html
@@ -0,0 +1,11 @@
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">
8Include password help for your grid here.
9<p>&nbsp;</p>
10</body>
11</html>
diff --git a/example/www/register.html b/example/www/register.html
new file mode 100644
index 0000000..46317e6
--- /dev/null
+++ b/example/www/register.html
@@ -0,0 +1,15 @@
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">
8Include account registration help for your grid here.
9<p>&nbsp;</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>&nbsp;</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>&nbsp;</p>
14</body>
15</html>
diff --git a/example/www/stats.html b/example/www/stats.html
new file mode 100644
index 0000000..7b51b06
--- /dev/null
+++ b/example/www/stats.html
@@ -0,0 +1,41 @@
1<html>
2 <title><!--#echo var="grid" --> stats page</title>
3 <head>
4 <meta charset="UTF-8">
5 <link rel="shortcut icon" href="/SledjHamrIconSmall.png">
6 <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>
21 <body bgcolor='black' text='white' link='aqua' vlink='fuchsia' alink='red'>
22 <font face='sans-serif'>
23 <h1><!--#echo var="grid" --> statistics.</h1>
24 <p>Grid is - <!--#echo var="gridOnline" --></p>
25 <p>Login URI - <!--#echo var="uri" --></p>
26 <p>Login page - <a href="<!--#echo var="URL" -->/loginpage.html"><!--#echo var="URL" -->/loginpage.html</a></p>
27 <p>There are <!--#echo var="members" --> members of this grid.</p>
28 <p>There are <!--#echo var="inworld" --> locals and <!--#echo var="hgers" --> hypergrid visitors in world right now.</p>
29 <p>There are <!--#echo var="outworld" --> locals out on the hypergrid right now.</p>
30 <p>There have been <!--#echo var="locDay30" --> locals and <!--#echo var="HGday30" --> hypergrid visitors on this grid in the last 30 days (<!--#echo var="day30" --> total).</p>
31 <p>There have been <!--#echo var="locDay60" --> locals and <!--#echo var="HGday60" --> hypergrid visitors on this grid in the last 60 days (<!--#echo var="day60" --> total).</p>
32 <p>There are <!--#echo var="sims" --> regions, though <!--#echo var="offlineSims" --> might not be online right now.</p>
33 <p>There may be <!--#echo var="onlineSims" --> regions online, with a total area of roughly <!--#echo var="simsSize" --> square metres.</p>
34 <p>There are <!--#echo var="varRegions" --> varregions that might be online now.</p>
35 <p>There are <!--#echo var="singleSims" --> normal regions that might be online now.</p>
36 <p><!--#echo var="grid" --> is running <a href="https://sledjhamr.org/mantisbt/project_page.php?project_id=8"><!--#echo var="version" --></a>,
37 part of the <a href="https://sledjhamr.org/git/docs/index.html">SledjHamr</a> project.</p>
38 <p>This statistics page will update every two minutes.</p>
39 </font>
40 </body>
41</html>