Update matrix example to show item formatting

This commit is contained in:
Bryan Ashby 2018-01-28 12:59:20 -07:00
parent 90427ac89d
commit 70eefc008a
2 changed files with 29 additions and 7 deletions

View File

@ -22,7 +22,8 @@
matrix: {
mci: {
VM1: {
focusTextStyle: first lower
itemFormat: "|03{text}"
focusItemFormat: "|11{text!styleFirstLower}"
}
}
}

View File

@ -67,26 +67,47 @@
submit: true
focus: true
argName: navSelect
// :TODO: need a good way to localize these ... Standard Orig->Lookup seems good.
items: [ "login", "apply", "forgot pw", "log off" ]
//
// To enable forgot password, you will need to have the web server
// enabled and mail/SMTP configured. Once that is in place, swap out
// the commented lines below as well as in the submit block
//
items: [
{
text: login
data: login
}
{
text: apply
data: apply
}
{
text: forgot pass
data: forgot
}
{
text: log off
data: logoff
}
]
}
}
submit: {
*: [
{
value: { navSelect: 0 }
value: { navSelect: "login" }
action: @menu:login
}
{
value: { navSelect: 1 },
value: { navSelect: "apply" }
action: @menu:newUserApplicationPre
}
{
value: { navSelect: 2 }
value: { navSelect: "forgot" }
action: @menu:forgotPassword
}
{
value: { navSelect: 3 },
value: { navSelect: "logoff" }
action: @menu:logoff
}
]