summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-01-01 16:06:31 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-01-01 16:06:31 +0000
commitaf344dd5840709dd57c7aac057357e0ce6edcf87 (patch)
tree23d8c984e2c2c1b10a9c891c113bc4ee9cacae75 /scripts
parentInitial webpage (diff)
downloadtoy-af344dd5840709dd57c7aac057357e0ce6edcf87.zip
Add FAQ link
Diffstat (limited to 'scripts')
-rw-r--r--scripts/toy.groovy4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index 8bb614b..d16e13c 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -1556,6 +1556,9 @@ def setupShowState = {
}.join());
showButton("OK");
};
+def showFaq = {
+ useUrl("http://toy.randomdan.homeip.net/");
+};
def setupShowCalendar = {
final events = loadEvents();
show(
@@ -1631,6 +1634,7 @@ while (true) {
final clickTime = showButton("Please, Miss?", waitTime);
if (clickTime < waitTime) {
def opts = [
+ [ lbl: "FAQ", act: showFaq ],
[ lbl: "Calendar", act: setupShowCalendar ],
[ lbl: "Confess", act: confess ],
];