From 9d64e0510ce33a80c3c74e2dbbb3d9a69364e247 Mon Sep 17 00:00:00 2001 From: wlodekm Date: Sat, 9 Nov 2024 12:38:31 +0200 Subject: initial --- v2/screen/login.ts | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 v2/screen/login.ts (limited to 'v2/screen/login.ts') diff --git a/v2/screen/login.ts b/v2/screen/login.ts new file mode 100644 index 0000000..c9e4fec --- /dev/null +++ b/v2/screen/login.ts @@ -0,0 +1,33 @@ +import { ElemType } from "../screenbuilder.ts"; + +export default { + elements: [ + { + type: ElemType.TextElem, + id: 'username-label', + data: ["Username: \n"] + }, + { + type: ElemType.InputElem, + id: 'username-input', + data: [false] + }, + { + type: ElemType.TextElem, + id: 'password-label', + data: ["Password: \n"] + }, + { + type: ElemType.InputElem, + id: 'password-input', + data: [true] + }, + { + type: ElemType.ButtonElem, + id: 'done-btn', + data: ["Done"] + } + ], + focus: "username-input", + name: 'login' +} \ No newline at end of file -- cgit 1.4.1-2-gfad0