mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-24 19:48:23 +02:00
* Some work on User creation/persistance
* Fix some MCI parsing from menu.json * Add 'options' to menu entries
This commit is contained in:
parent
2bac8e006e
commit
85a72935fa
7 changed files with 138 additions and 10 deletions
|
@ -42,8 +42,6 @@ ApplyModule.prototype.enter = function(client) {
|
|||
|
||||
ApplyModule.prototype.beforeArt = function() {
|
||||
ApplyModule.super_.prototype.beforeArt.call(this);
|
||||
|
||||
this.client.term.write(ansi.resetScreen());
|
||||
};
|
||||
|
||||
ApplyModule.prototype.mciReady = function(mciMap) {
|
||||
|
|
|
@ -72,7 +72,7 @@ LoginModule.prototype.enter = function(client) {
|
|||
LoginModule.prototype.beforeArt = function() {
|
||||
LoginModule.super_.prototype.beforeArt.call(this);
|
||||
|
||||
this.client.term.write(ansi.resetScreen());
|
||||
//this.client.term.write(ansi.resetScreen());
|
||||
};
|
||||
|
||||
LoginModule.prototype.mciReady = function(mciMap) {
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
"normal" : ...,
|
||||
"focus" : ...
|
||||
}
|
||||
|
||||
..note that script/methods should be part of a *theme* - or at least checked first with fallback
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
@ -48,6 +50,9 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"options" : {
|
||||
"clearScreen" : true
|
||||
}
|
||||
},
|
||||
"login" : {
|
||||
|
@ -86,6 +91,9 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"options" : {
|
||||
"clearScreen" : true
|
||||
}
|
||||
},
|
||||
"logoff" : {
|
||||
|
@ -97,14 +105,23 @@
|
|||
"module" : "apply",
|
||||
"form" : {
|
||||
"0" : {
|
||||
"ET1ET2ET3ET4ET5ET6ET7ET8ET9TL10TL11TL12" : {
|
||||
"BN13BN14ET1ET2ET3ET4ET5ET6ET7ET8ET9TL10TL11TL12" : {
|
||||
"mci" : {
|
||||
"ET1" : {
|
||||
"focus" : true
|
||||
},
|
||||
"BN13" : {
|
||||
"text" : "Apply"
|
||||
},
|
||||
"BN14" : {
|
||||
"text" : "Cancel"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"options" : {
|
||||
"clearScreen" : true
|
||||
}
|
||||
}
|
||||
}
|
|
@ -27,8 +27,6 @@ StandardMenuModule.prototype.enter = function(client) {
|
|||
|
||||
StandardMenuModule.prototype.beforeArt = function() {
|
||||
StandardMenuModule.super_.prototype.beforeArt.call(this);
|
||||
|
||||
this.client.term.write(ansi.resetScreen()); // :TODO: this should be optional
|
||||
};
|
||||
|
||||
StandardMenuModule.prototype.mciReady = function(mciMap) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue