From bf27216a290c125f565d08700bb6693387fac9bf Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 4 Aug 2019 10:30:42 +1000 Subject: Add a basic generic web server, and a login page, plus stubs for the other basic pages. And update everyone to suit. --- example/config/config.ini | 2 +- example/web/SledjHamr.png | Bin 0 -> 2025959 bytes example/web/about.html | 9 +++++++++ example/web/help.html | 9 +++++++++ example/web/loginpage.html | 24 ++++++++++++++++++++++++ example/web/password_help.html | 9 +++++++++ example/web/register.html | 11 +++++++++++ 7 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 example/web/SledjHamr.png create mode 100644 example/web/about.html create mode 100644 example/web/help.html create mode 100644 example/web/loginpage.html create mode 100644 example/web/password_help.html create mode 100644 example/web/register.html (limited to 'example') 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 @@ ConfigPath = "../../config" DbPath = "../../db" LogPath = "../../logs" - + WebPath = "../../web" [Const] 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 Binary files /dev/null and b/example/web/SledjHamr.png 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 @@ + +
+ + 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 @@ + +
+ + 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 @@ + +
+
+
+
+
There may be some new members. Welcome new members.
++
There are likely some members of this grid.
++
There maybe some people online now.
++
There maybe some visitors from the hypergrid.
++
There is probably at least one region, maybe more.
++
Some people might have been on in the last month.
++ + 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 @@ + +
+ + 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 @@ + +
+
If you want to register an acocunt on this grid, ask the person that runs it to do that for you.
++ + -- cgit v1.1