diff options
author | wlodekm <[email protected]> | 2024-11-09 12:38:31 +0200 |
---|---|---|
committer | wlodekm <[email protected]> | 2024-11-09 12:38:31 +0200 |
commit | 9d64e0510ce33a80c3c74e2dbbb3d9a69364e247 (patch) | |
tree | ee785581b0220a848a8d9ea1512472e16d208a15 /v2/screen/login.ts |
initial
Diffstat (limited to 'v2/screen/login.ts')
-rw-r--r-- | v2/screen/login.ts | 33 |
1 files changed, 33 insertions, 0 deletions
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 |