-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
342 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.abstra | ||
|
||
.git | ||
.gitignore | ||
|
||
__pycache__ | ||
.venv | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,196 @@ | ||
{ | ||
"version": "0.1", | ||
"workspace": { | ||
"name": "Untitled Workspace", | ||
"sidebar": [ | ||
{ | ||
"id": "uump60km1q", | ||
"name": "New form", | ||
"path": "uump60km1q", | ||
"type": "form", | ||
"visible": false | ||
}, | ||
{ | ||
"id": "ffo71a8o297", | ||
"name": "New form", | ||
"path": "ffo71a8o297", | ||
"type": "form", | ||
"visible": false | ||
}, | ||
{ | ||
"id": "9guq86u39n8", | ||
"name": "New form", | ||
"path": "9guq86u39n8", | ||
"type": "form", | ||
"visible": false | ||
}, | ||
{ | ||
"id": "idqq7zzpa7t", | ||
"name": "New form", | ||
"path": "idqq7zzpa7t", | ||
"type": "form", | ||
"visible": false | ||
}, | ||
{ | ||
"id": "er4h3amo0i", | ||
"name": "New form", | ||
"path": "er4h3amo0i", | ||
"type": "form", | ||
"visible": false | ||
}, | ||
{ | ||
"id": "fen6uffg3x6", | ||
"name": "New form", | ||
"path": "fen6uffg3x6", | ||
"type": "form", | ||
"visible": false | ||
} | ||
], | ||
"root": null, | ||
"theme": null, | ||
"logo_url": null, | ||
"brand_name": null, | ||
"main_color": null, | ||
"font_family": null, | ||
"font_color": null | ||
}, | ||
"jobs": [], | ||
"hooks": [], | ||
"forms": [ | ||
{ | ||
"id": "uump60km1q", | ||
"path": "uump60km1q", | ||
"title": "New form", | ||
"is_initial": true, | ||
"auto_start": false, | ||
"allow_restart": false, | ||
"end_message": null, | ||
"start_message": null, | ||
"error_message": null, | ||
"welcome_title": null, | ||
"timeout_message": null, | ||
"start_button_text": null, | ||
"restart_button_text": null, | ||
"file": "new_form_uump60km1q.py", | ||
"workflow_position": [ | ||
198.9012345679012, | ||
290.92592592592587 | ||
], | ||
"transitions": [ | ||
{ | ||
"target_path": "ffo71a8o297", | ||
"target_type": "forms", | ||
"label": "", | ||
"id": "cw59bv44ac" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "ffo71a8o297", | ||
"path": "ffo71a8o297", | ||
"title": "New form", | ||
"is_initial": false, | ||
"auto_start": false, | ||
"allow_restart": false, | ||
"end_message": null, | ||
"start_message": null, | ||
"error_message": null, | ||
"welcome_title": null, | ||
"timeout_message": null, | ||
"start_button_text": null, | ||
"restart_button_text": null, | ||
"file": "new_form_ffo71a8o297.py", | ||
"workflow_position": [ | ||
485.320987654321, | ||
290.9259259259259 | ||
], | ||
"transitions": [] | ||
}, | ||
{ | ||
"id": "9guq86u39n8", | ||
"path": "9guq86u39n8", | ||
"title": "New form", | ||
"is_initial": true, | ||
"auto_start": false, | ||
"allow_restart": false, | ||
"end_message": null, | ||
"start_message": null, | ||
"error_message": null, | ||
"welcome_title": null, | ||
"timeout_message": null, | ||
"start_button_text": null, | ||
"restart_button_text": null, | ||
"file": "new_form_9guq86u39n8.py", | ||
"workflow_position": [ | ||
810.0123456790124, | ||
281.0493827160493 | ||
], | ||
"transitions": [] | ||
}, | ||
{ | ||
"id": "idqq7zzpa7t", | ||
"path": "idqq7zzpa7t", | ||
"title": "New form", | ||
"is_initial": true, | ||
"auto_start": false, | ||
"allow_restart": false, | ||
"end_message": null, | ||
"start_message": null, | ||
"error_message": null, | ||
"welcome_title": null, | ||
"timeout_message": null, | ||
"start_button_text": null, | ||
"restart_button_text": null, | ||
"file": "new_form_idqq7zzpa7t.py", | ||
"workflow_position": [ | ||
1287.7901234567898, | ||
278.58024691358025 | ||
], | ||
"transitions": [] | ||
}, | ||
{ | ||
"id": "er4h3amo0i", | ||
"path": "er4h3amo0i", | ||
"title": "New form", | ||
"is_initial": true, | ||
"auto_start": false, | ||
"allow_restart": false, | ||
"end_message": null, | ||
"start_message": null, | ||
"error_message": null, | ||
"welcome_title": null, | ||
"timeout_message": null, | ||
"start_button_text": null, | ||
"restart_button_text": null, | ||
"file": "new_form_er4h3amo0i.py", | ||
"workflow_position": [ | ||
1116.185185185185, | ||
131.66666666666666 | ||
], | ||
"transitions": [] | ||
}, | ||
{ | ||
"id": "fen6uffg3x6", | ||
"path": "fen6uffg3x6", | ||
"title": "New form", | ||
"is_initial": true, | ||
"auto_start": false, | ||
"allow_restart": false, | ||
"end_message": null, | ||
"start_message": null, | ||
"error_message": null, | ||
"welcome_title": null, | ||
"timeout_message": null, | ||
"start_button_text": null, | ||
"restart_button_text": null, | ||
"file": "new_form_fen6uffg3x6.py", | ||
"workflow_position": [ | ||
858.1604938271605, | ||
146.48148148148147 | ||
], | ||
"transitions": [] | ||
} | ||
], | ||
"dashes": [], | ||
"scripts": [] | ||
} |
23 changes: 23 additions & 0 deletions
23
Abstra-Templates/Students Attendance/new_form_9guq86u39n8.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import abstra.forms as af | ||
import abstra.workflows as aw | ||
|
||
""" | ||
Abstra forms are the simplest way to build user interfaces for your workflows. | ||
""" | ||
|
||
name = af.read("Hello there! What is your name?") | ||
af.display(f"Hello {name}!") | ||
|
||
|
||
# You can save and get information from the workflow context | ||
stage = aw.get_stage() | ||
stage["name"] = name | ||
|
||
ans = af.read_multiple_choice("Are you familiar with Abstra?", ["Yes", "No"]) | ||
|
||
if ans == "Yes": | ||
af.display("Great! Have fun!") | ||
else: | ||
af.display_link( | ||
"https://docs.abstra.io/forms/overview", link_text="Check out the docs!" | ||
) |
23 changes: 23 additions & 0 deletions
23
Abstra-Templates/Students Attendance/new_form_er4h3amo0i.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import abstra.forms as af | ||
import abstra.workflows as aw | ||
|
||
""" | ||
Abstra forms are the simplest way to build user interfaces for your workflows. | ||
""" | ||
|
||
name = af.read("Hello there! What is your name?") | ||
af.display(f"Hello {name}!") | ||
|
||
|
||
# You can save and get information from the workflow context | ||
stage = aw.get_stage() | ||
stage["name"] = name | ||
|
||
ans = af.read_multiple_choice("Are you familiar with Abstra?", ["Yes", "No"]) | ||
|
||
if ans == "Yes": | ||
af.display("Great! Have fun!") | ||
else: | ||
af.display_link( | ||
"https://docs.abstra.io/forms/overview", link_text="Check out the docs!" | ||
) |
23 changes: 23 additions & 0 deletions
23
Abstra-Templates/Students Attendance/new_form_fen6uffg3x6.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import abstra.forms as af | ||
import abstra.workflows as aw | ||
|
||
""" | ||
Abstra forms are the simplest way to build user interfaces for your workflows. | ||
""" | ||
|
||
name = af.read("Hello there! What is your name?") | ||
af.display(f"Hello {name}!") | ||
|
||
|
||
# You can save and get information from the workflow context | ||
stage = aw.get_stage() | ||
stage["name"] = name | ||
|
||
ans = af.read_multiple_choice("Are you familiar with Abstra?", ["Yes", "No"]) | ||
|
||
if ans == "Yes": | ||
af.display("Great! Have fun!") | ||
else: | ||
af.display_link( | ||
"https://docs.abstra.io/forms/overview", link_text="Check out the docs!" | ||
) |
23 changes: 23 additions & 0 deletions
23
Abstra-Templates/Students Attendance/new_form_ffo71a8o297.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import abstra.forms as af | ||
import abstra.workflows as aw | ||
|
||
""" | ||
Abstra forms are the simplest way to build user interfaces for your workflows. | ||
""" | ||
|
||
name = af.read("Hello there! What is your name?") | ||
af.display(f"Hello {name}!") | ||
|
||
|
||
# You can save and get information from the workflow context | ||
stage = aw.get_stage() | ||
stage["name"] = name | ||
|
||
ans = af.read_multiple_choice("Are you familiar with Abstra?", ["Yes", "No"]) | ||
|
||
if ans == "Yes": | ||
af.display("Great! Have fun!") | ||
else: | ||
af.display_link( | ||
"https://docs.abstra.io/forms/overview", link_text="Check out the docs!" | ||
) |
23 changes: 23 additions & 0 deletions
23
Abstra-Templates/Students Attendance/new_form_idqq7zzpa7t.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import abstra.forms as af | ||
import abstra.workflows as aw | ||
|
||
""" | ||
Abstra forms are the simplest way to build user interfaces for your workflows. | ||
""" | ||
|
||
name = af.read("Hello there! What is your name?") | ||
af.display(f"Hello {name}!") | ||
|
||
|
||
# You can save and get information from the workflow context | ||
stage = aw.get_stage() | ||
stage["name"] = name | ||
|
||
ans = af.read_multiple_choice("Are you familiar with Abstra?", ["Yes", "No"]) | ||
|
||
if ans == "Yes": | ||
af.display("Great! Have fun!") | ||
else: | ||
af.display_link( | ||
"https://docs.abstra.io/forms/overview", link_text="Check out the docs!" | ||
) |
23 changes: 23 additions & 0 deletions
23
Abstra-Templates/Students Attendance/new_form_uump60km1q.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import abstra.forms as af | ||
import abstra.workflows as aw | ||
|
||
""" | ||
Abstra forms are the simplest way to build user interfaces for your workflows. | ||
""" | ||
|
||
name = af.read("Hello there! What is your name?") | ||
af.display(f"Hello {name}!") | ||
|
||
|
||
# You can save and get information from the workflow context | ||
stage = aw.get_stage() | ||
stage["name"] = name | ||
|
||
ans = af.read_multiple_choice("Are you familiar with Abstra?", ["Yes", "No"]) | ||
|
||
if ans == "Yes": | ||
af.display("Great! Have fun!") | ||
else: | ||
af.display_link( | ||
"https://docs.abstra.io/forms/overview", link_text="Check out the docs!" | ||
) |
Empty file.
Empty file.