From 0aa726a02baa869b201bec0f70a94066066f1d5f Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Fri, 31 Jul 2015 09:11:57 -0600 Subject: [PATCH] * A little login structure (experimental) --- mods/art/DM-ENIG.ANS | 19 -------------- mods/art/LOGIN1.ANS | Bin 348 -> 3105 bytes mods/art/MAINMENU.ANS | Bin 0 -> 398 bytes mods/art/USERCRED1.ANS | Bin 0 -> 255 bytes mods/menu.json | 56 +++++++++++++++++++++++++++++++++++++++-- 5 files changed, 54 insertions(+), 21 deletions(-) delete mode 100644 mods/art/DM-ENIG.ANS create mode 100644 mods/art/MAINMENU.ANS create mode 100644 mods/art/USERCRED1.ANS diff --git a/mods/art/DM-ENIG.ANS b/mods/art/DM-ENIG.ANS deleted file mode 100644 index b09c5ad7..00000000 --- a/mods/art/DM-ENIG.ANS +++ /dev/null @@ -1,19 +0,0 @@ - °°°°°°°°°ܲÜÜ  °  ÜÜ  - °°°°°° ÜÜßÛÛÛ²ÛÛÛÛÛß  °°  °°° °°°° ° ÜÜÜßßßÜܲÛÛÛÛÛß - °ÜÜÜßßÞÛÛÛÛ²²ÛÝ °°  ÜÜÜ ÜÜ °ÜÜÜßßÛ²²ÛÛÝ -ßÜÜÜÛÛÛ²Û  °ÛÛÛ²²²±±ÜÜÜßßÛÛÛÛ²ÛßÛ²²²²±ÜÜܲ²²²°° °°ÞÛÛÛÛÛ² - ÞÛ²²ÛÛÛÝÞÛ²²±±±°Ý ²±ÜÜ°±ß Þ²²²²ÛÝ Þ²²±±±±±²²²±±±Þ²²ÛÛÛÝ - ÛÛÛÛ²²ß     ²²±±°°°ÛÛ° °°°°Ý  ±±±²² ²²±±°° °±±±°°°°±±²²ÛÝ   -°°²Û²²±°°°° °  ßßß°°ÛÛÜÞ°°°°±±°° °° °° °°±± Þ °±°°°°Þ °°°°°°° °° ° °°°°°±±²°°   °Þ²±±°° ÜÜ    °°±±²Û  Þ±±°°°  °°°±± Þ°°°°±Ý Ü ÞÛ °°±±  -Ü Þ±°° °°Ý  Ü ÜÛÛÜÜÜ ÜÛ²²²ÛÛÝÞܲß ÞÛ²²±°° °°±±±± Ü ±±±±²Û ÞÛÜÛÛ²Û ÞÛÛÛÛ°  ÞÜ  -°Ý ° °°±²Ý °°ÛÜ ÛÛ²²ÛÛÛÛÛÛ²ÛÛ²Ý °° ßßßßÛ²±±ßÞ±±²² Þ°Ý Û²²ÛÛÝ Û°°ÛÛÝ °°°°ÛÛÝ ÛÛ° -ß  °°°±±²² ßß²ß ÞÛÛÛÛÛÛ²ÛÛÛÛÛÛ² ßßß² ßß ²²ÛÝ ß²ß ÞÛ²Û²² ÜÜÜ ß Þ±±°°°Ý ß²ß -Þ±±±²²ÛÝ  ÛÛÛÛÛÛÛÛÛÛÛÛÛÛßßÛÛ²Ûßß ßßßßß Û²²±±±± -Û²²ÛÛÛÛ ÞÛÛÛÛÛ²Û Ûßß Þ²ÜÛÛ²²²ÛÝ - ÜÜßß ßßßÜÜÜ ÛÛÛÛ²ß ÜÜÛÛÛÛÞÛÛ²ÛÛ  - °° ßßßßß°°° °° enigma«bbs softÛÛÛ²²ÛÝ° ÞÛÛÛÛ² °° -dangermouse °°Û²ÛÛÛÛÛ²Û²Û ° -  °°  Û²ÛÛÛÛÜÜÜÜßßßßßßßßÜÜÜ -ÞÛÛßß°°°°° - ° ß °°°°°°°°°° - \ No newline at end of file diff --git a/mods/art/LOGIN1.ANS b/mods/art/LOGIN1.ANS index 6aabb29226b036cb0e65b16034fa537f3ce49be7..b09c5ad76bb4e7452f68e42aa67185701a522c6e 100644 GIT binary patch literal 3105 zcmZuzNpjmj47{hxABZk|0vXa#Qabt>I@uM+mBZLoaq_BMD1L{u_?7emjOc|2Ei*u) z(ZGPSJGNza>`K$@j_slE%9zjY*zd8mzv1>WEei~2`c(@w=f7+IJM^sp`o4^C;~(t9 zUEj0|l)xA+5LcfFzl|=u{b2x=O37$|G?`_c=Xu&4hkcpx*_D}JExuMEDIj8xK=@{Y zeGy}BgD!Y-j|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new file mode 100644 index 0000000000000000000000000000000000000000..968aea289ee5f5d5d3fcecd4612869e6470d297c GIT binary patch literal 398 zcmb1+Hn27^ur@Z&<>kT!rK62aa}^Y%qYbT%jdR_B3}b^_T_6S2XPoPkpPrwV#>)j! z1tg7gK}vH&(bR<&rxq!A=B4Gsl!8=&3=&5Jz_$6O=9MZW=jY}o=A~ExZGt#f)iuPBmrE+xG1S@Bz(9d| kz{tSR)WF=>fR~YhfsrwQL7V{$ggu>n6~f#dAv`z<0J(Zi2><{9 literal 0 HcmV?d00001 diff --git a/mods/art/USERCRED1.ANS b/mods/art/USERCRED1.ANS new file mode 100644 index 0000000000000000000000000000000000000000..c8617991d9df8a3d9ca6d3cd6f6ffd3212d43f4c GIT binary patch literal 255 zcmb1+Hn27^ur@Z&<>gY4jyAM5Hp~r`1_}b{;?$zN#N1S{s6nn3P&8LT)iuOW!`MI* zD3}Xk^KyZOp*jPgIunbF%kzs;&~+LCb?OAb^cwMUNd-HGI=dPeC{Pa=85o)xm>62r bF)%PNG6pa(18E=-_H^=92y=IY@Zcl>9i1-m literal 0 HcmV?d00001 diff --git a/mods/menu.json b/mods/menu.json index 966122ba..884015cf 100644 --- a/mods/menu.json +++ b/mods/menu.json @@ -82,7 +82,7 @@ // :TODO: may want { "prompt" : { "name" : "blah", "action" : ... }} "prompt" : "userCredentials", "fallback" : "matrix", - "next" : "newUserActive", + "next" : "fullLoginSequenceLoginArt", "action" : "@systemMethod:login", // :TODO: support alt submit method for prompts @@ -101,7 +101,6 @@ }, "logoff" : { "art" : "LOGOFF", - //"module" : "logoff", "action" : "@systemMethod:logoff", "options" : { "cls" : true } }, @@ -189,6 +188,22 @@ "cls" : true } }, + "fullLoginSequenceLoginArt" : { + "art" : "LOGIN", + "options" : { "cls" : true, "pause" : true }, + "action" : "@menu:fullLoginSequenceLastCallers" + }, + "fullLoginSequenceLastCallers": { + "module" : "last_callers", + "art" : "LASTCALL", + "options" : { "cls" : true, "pause" : true }, + "action" : "@menu:fullLoginSequenceUserStats" + }, + "fullLoginSequenceUserStats" : { + "art" : "userstats", + "options" : { "cls" : true, "pause" : true }, + "action" : "@menu:mainMenu" + }, "newUserActive" : { "art" : "SO-CC1.ANS", "options" : { "cls" : true, "pause" : true }, @@ -199,6 +214,40 @@ "options" : { "cls" : true, "pause" : true }, "action" : "@menu:lastCallers" }, + "mainMenu" : { + "art" : "MAINMENU", + "options" : { "cls" : true }, + "form" : { + "0" : { + "ET" : { + "mci" : { + "ET1" : { + "focus" : true, + "submit" : true, + "textStyle" : "lower", + "width" : 20, + "maxLength" : 20 + } + }, + "submit" : { + "*" : [ + { + "value" : { "1" : "g" }, + "action" : "@menu:logoff" + }, + { + "value" : 1, + "action" : "@menu:mainMenu" + } + ] + } + } + } + } + }, + //////////////////////////////////////////////////////////////////////// + // Mods + //////////////////////////////////////////////////////////////////////// "lastCallers" :{ "module" : "last_callers", "art" : "LASTCALL.ANS", @@ -230,6 +279,9 @@ } }, + //////////////////////////////////////////////////////////////////////// + // Demo Section + //////////////////////////////////////////////////////////////////////// "demoMain" : { "art" : "demo_selection_vm.ans", "options" : { "cls" : true },