diff --git a/examples.html b/examples.html index aacfd5d..8370fa4 100644 --- a/examples.html +++ b/examples.html @@ -129,7 +129,12 @@
- examples/default TUI screenshot + examples/default TUI screenshot
@@ -184,7 +189,12 @@
- examples/canvas TUI screenshot + examples/canvas TUI screenshot
@@ -239,7 +249,12 @@
- examples/keybindings TUI screenshot + examples/keybindings TUI screenshot
diff --git a/index.html b/index.html index 70ac9be..1fc8cc2 100644 --- a/index.html +++ b/index.html @@ -250,7 +250,12 @@
- Screenshot of the examples/default TUI app built with tui-pages + Screenshot of the examples/default TUI app built with tui-pages

examples/default · cargo run

@@ -575,7 +580,12 @@ pub fn keymaps() -> KeyMap {
- default example screenshot + default example screenshot
@@ -588,7 +598,12 @@ pub fn keymaps() -> KeyMap {
- canvas example screenshot + canvas example screenshot
@@ -601,7 +616,12 @@ pub fn keymaps() -> KeyMap {
- keybindings example screenshot + keybindings example screenshot
diff --git a/static/img/terminal-canvas-light.svg b/static/img/terminal-canvas-light.svg new file mode 100644 index 0000000..50b4f97 --- /dev/null +++ b/static/img/terminal-canvas-light.svg @@ -0,0 +1,58 @@ + + + + + + + Form Editor Help + + + ┌─ Contact ───────────────────────────────────────┐ + │ Tab to move between fields · Enter to submit. │ + └────────────────────────────────────────────────┘ + + Name: + + │Ada + + + + Email: + │ada@example.test + + + + │ Clear + + │ Quit + + + ┌──────────────────────────────────────────────┐ + └──────────────────────────────────────────────┘ + ┌─────────────┐ ┌─────────────┐ + └─────────────┘ └─────────────┘ + + + tab next · shift+tab prev · enter submit + canvas feature enabled + diff --git a/static/img/terminal-canvas.svg b/static/img/terminal-canvas.svg index 3bf6814..dd6fdba 100644 --- a/static/img/terminal-canvas.svg +++ b/static/img/terminal-canvas.svg @@ -1,52 +1,69 @@ - + + - - - - + - - - + + Form Editor Help + - examples/canvas — login page + + ┌─ Contact ───────────────────────────────────────┐ + │ Tab to move between fields · Enter to submit. │ + └────────────────────────────────────────────────┘ - Sign in - Use Tab to move between fields. Enter to submit. + + Name: + + │Ada + + - USERNAME - - filip - - - + + Email: + │ada@example.test + - PASSWORD - - •••••••••••• + + + + │ Clear + + + │ Quit + - - Sign in - esc · cancel + + ┌──────────────────────────────────────────────┐ + └──────────────────────────────────────────────┘ + ┌─────────────┐ ┌─────────────┐ + └─────────────┘ └─────────────┘ - - tab next · shift+tab prev · enter submit - canvas feature enabled + + + tab next · shift+tab prev · enter submit + canvas feature enabled diff --git a/static/img/terminal-default-light.svg b/static/img/terminal-default-light.svg new file mode 100644 index 0000000..7b4d9e5 --- /dev/null +++ b/static/img/terminal-default-light.svg @@ -0,0 +1,82 @@ + + + + + + + + Login + + Register + Admin_Panel + Quit + + + ╭─ Register ─────────────────────────╮ + + + + + + + + + + + + + + + + + + ╰────────────────────────────────────╯ + + Create your account + + Email + ada@acme.io + + Password + •••••••••• + + Confirm + •••••••••• + + Role + a + + dmin + + + + admin + accountant + + ╭────────────────╮ + │ Create account │ + ╰────────────────╯ + enter ↵ + + + INS + [+] + tui-pages v0.7.2 │ 60 FPS + + diff --git a/static/img/terminal-default.svg b/static/img/terminal-default.svg index 35b3242..58d562f 100644 --- a/static/img/terminal-default.svg +++ b/static/img/terminal-default.svg @@ -1,57 +1,95 @@ - + + - - - - + + + - - - + + Login + + Register + Admin_Panel + Quit + - examples/default — cargo run + + ╭─ Register ─────────────────────────╮ + + + + + + + + + + + + + + + + + + ╰────────────────────────────────────╯ - Pages: - - Home - Settings - About - Quit + + Create your account - + + Email + ada@acme.io - Home - Choose a section to open. + Password + •••••••••• - + Confirm + •••••••••• - - - ▸ Dashboard - enter + + Role + a + + dmin - Accounts - Transactions - Reports - Settings + + + + admin + accountant + + + ╭────────────────╮ + │ Create account │ + ╰────────────────╯ + enter ↵ + + + + INS + [+] + tui-pages v0.7.2 │ 60 FPS - - - ↑↓ move · enter select · q quit - tui-pages v0.7.2 diff --git a/static/img/terminal-keybindings-light.svg b/static/img/terminal-keybindings-light.svg new file mode 100644 index 0000000..c9f675e --- /dev/null +++ b/static/img/terminal-keybindings-light.svg @@ -0,0 +1,68 @@ + + + + + + + Form Editor Help + + + ▸ Accounts + Transactions + Reports + Settings + + + + ╔═ Keybindings ══════════════════════════════════╗ + ║ ║ + + ║ MOVEMENT ║ + ║ j / k + move down / up ║ + ║ gg / G + top / bottom of list ║ + + ║ ACTIONS ║ + ║ enter + select / activate ║ + ║ / + search ║ + ║ ctrl+s + save ║ + + ║ APP ║ + ║ ? + toggle this dialog ║ + ║ esc + close / cancel ║ + ║ q + quit ║ + + ║ ║ + ╚════════════════════════════════════════════════╝ + + + esc close · ? toggle this dialog + dialog feature enabled + diff --git a/static/img/terminal-keybindings.svg b/static/img/terminal-keybindings.svg index 8b3bc39..31c207c 100644 --- a/static/img/terminal-keybindings.svg +++ b/static/img/terminal-keybindings.svg @@ -1,71 +1,79 @@ - + + - - - - + - - - + + Form Editor Help + - examples/keybindings — modal open + + ▸ Accounts + Transactions + Reports + Settings - - ▸ Accounts - Transactions - Reports - Settings - Press ? for help + + + + + ╔═ Keybindings ══════════════════════════════════╗ + ║ ║ - - - Keybindings - + + ║ MOVEMENT ║ + ║ j / k + move down / up ║ + ║ gg / G + top / bottom of list ║ - MOVEMENT - - j - move down + + ║ ACTIONS ║ + ║ enter + select / activate ║ + ║ / + search ║ + ║ ctrl+s + save ║ - - k - move up + + ║ APP ║ + ║ ? + toggle this dialog ║ + ║ esc + close / cancel ║ + ║ q + quit ║ - - gg - top of list + ║ ║ + ╚════════════════════════════════════════════════╝ - ACTIONS - - enter - select - - - / - search - - - ctrl+s - save - - - press esc to close - - - esc close · ? toggle this dialog - dialog feature enabled + + + esc close · ? toggle this dialog + dialog feature enabled