aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2018-05-22 23:27:59 -0500
committeroldmud0 <oldmud0@users.noreply.github.com>2018-05-22 23:27:59 -0500
commit3ac1870877eccf2b8fe40a28bf3807620ac94907 (patch)
tree809ba44875c54180e91cc08d3781b9931a3e764f
parent10f7bd449ed2fd4186dc2f15f6f6cbd8c5655e23 (diff)
Add "about" tab and set version to 2.1
-rw-r--r--webAO/client.html9
-rw-r--r--webAO/ui.js19
2 files changed, 24 insertions, 4 deletions
diff --git a/webAO/client.html b/webAO/client.html
index e9452af..fa373e2 100644
--- a/webAO/client.html
+++ b/webAO/client.html
@@ -81,6 +81,15 @@
</select>
</template>
+<template id="about">
+ <meta name="frame-title" lang="en" content="About">
+ <img src="images/logo-new.png" alt="Attorney Online logo" style="padding-top: 5px;">
+ <h1 style="line-height: .3em;">webAO</h1>
+ <h3>version 2.1</h3>
+ <p>Client created by <a href="https://github.com/stonedDiscord">@stonedDiscord</a> and fixed up by <a href="https://github.com/oldmud0">@oldmud0</a>.</p>
+ <p>Special thanks to Aleks for reverse engineering the original Delphi client written by FanatSors.</p>
+</template>
+
<body>
<span id="sound"></span>
<div id="here"></div>
diff --git a/webAO/ui.js b/webAO/ui.js
index 2d41783..f5c3f3a 100644
--- a/webAO/ui.js
+++ b/webAO/ui.js
@@ -62,10 +62,21 @@ var config = {
componentState: { id: "music" }
},
{
- type: "component",
- title: "Settings",
- componentName: "template",
- componentState: { id: "client_settings" }
+ type: "stack",
+ content: [
+ {
+ type: "component",
+ title: "Settings",
+ componentName: "template",
+ componentState: { id: "client_settings" }
+ },
+ {
+ type: "component",
+ title: "About",
+ componentName: "template",
+ componentState: { id: "about" }
+ }
+ ]
}
]
}