From 821380fcb5d39823c81b7bff469694e51f04b9e1 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sat, 16 Jul 2022 22:17:25 -0600 Subject: [PATCH] Template updates --- art/themes/luciano_blocktronics/theme.hjson | 2 +- misc/menu_templates/main.in.hjson | 74 +++++++++++++++++++++ 2 files changed, 75 insertions(+), 1 deletion(-) diff --git a/art/themes/luciano_blocktronics/theme.hjson b/art/themes/luciano_blocktronics/theme.hjson index cf3b744f..6bc9b7af 100644 --- a/art/themes/luciano_blocktronics/theme.hjson +++ b/art/themes/luciano_blocktronics/theme.hjson @@ -250,7 +250,7 @@ config: { // formats quickLogTimestampFormat: "|01|02MM|08/|02DD hh:mm:ssa" - nowDateTimeFormat: "|00|11ddd|08, |11MMMM Do YYYY|08, |11h|08:|11mm|08:|11ss|03a" + nowDateTimeFormat: "|00|11ddd|08, |11MMMM Do YYYY|08, |11h|08:|11mm|03a" lastLoginDateTimeFormat: "|00|10ddd hh|08:|10mm|02a" // header diff --git a/misc/menu_templates/main.in.hjson b/misc/menu_templates/main.in.hjson index 24651adc..85857fc7 100644 --- a/misc/menu_templates/main.in.hjson +++ b/misc/menu_templates/main.in.hjson @@ -153,6 +153,10 @@ value: { command: "MRC" } action: @menu:mrc } + { + value: { command: "!WFC" } + action: @menu:mainMenuWaitingForCaller + } { value: { command: "2FA" } action: [ @@ -193,6 +197,76 @@ } } + mainMenuWaitingForCaller: { + desc: -WFC- + module: wfc + + config: { + art: { + main: wfc + help: wfchelp + } + } + + form: { + 0: { + mci: { + VM1: { + focus: true + } + VM2: { + focus: false + acceptsFocus: false + acceptsInput: false + } + } + + actionKeys: [ + { + keys: [ "a", "shift + a" ] + action: @method:toggleAvailable + } + { + keys: [ "v", "shift + v" ] + action: @method:toggleVisible + } + { + keys: [ "?", "h", "shift + h" ] + action: @method:displayHelp + } + { + keys: [ "1", "2", "3", "4", "5", "6", "7", "8", "9" ] + action: @method:setNodeStatusSelection + } + { + keys: [ "k", "shift + k" ] + action: @method:kickSelectedNode + } + { + keys: [ "escape", "q", "shift + q" ] + action: @systemMethod:prevMenu + } + ] + } + + // confirmKickNodePrompt + 3: { + submit: { + *: [ + { + value: { promptValue: 0 } + action: @method:kickNodeYes + } + { + value: { promptValue: 1 } + action: @method:kickNodeNo + } + ] + } + } + } + } + mrc: { desc: MRC Chat module: mrc