Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,14 +6,17 @@ with gr.Blocks(title="Lab Rat App") as demo:
|
|
| 6 |
accountcreationlink=lines[0]
|
| 7 |
mainstudentapp=lines[1]
|
| 8 |
adultapprover=lines[2]
|
|
|
|
| 9 |
|
| 10 |
gr.Label(value="Lab Rat App Launch Pad",show_label=False, color="green")
|
| 11 |
gr.Markdown("### When using this app, you will only navigate using the buttons in the app - do not click the back button on your browser.\n### Clicking the refresh button will reset the page and bring you back to the login screen. Any unsaved progress will be lost, so be sure to save before hitting refresh or before closing the window")
|
| 12 |
with gr.Row():
|
| 13 |
with gr.Column():
|
| 14 |
createbtn=gr.Button(value="Create Student Account",link=accountcreationlink)
|
| 15 |
-
studentbtn=gr.Button(value="Student Login",link=mainstudentapp)
|
| 16 |
parentbtn=gr.Button(value="Parent Approval",link=mainstudentapp)
|
|
|
|
|
|
|
| 17 |
with gr.Column():
|
| 18 |
teacherbtn=gr.Button(value="Teacher Login",link=adultapprover)
|
| 19 |
adminbtn=gr.Button(value="Fair Admin Login",link=adultapprover)
|
|
|
|
| 6 |
accountcreationlink=lines[0]
|
| 7 |
mainstudentapp=lines[1]
|
| 8 |
adultapprover=lines[2]
|
| 9 |
+
labratlite=lines[3]
|
| 10 |
|
| 11 |
gr.Label(value="Lab Rat App Launch Pad",show_label=False, color="green")
|
| 12 |
gr.Markdown("### When using this app, you will only navigate using the buttons in the app - do not click the back button on your browser.\n### Clicking the refresh button will reset the page and bring you back to the login screen. Any unsaved progress will be lost, so be sure to save before hitting refresh or before closing the window")
|
| 13 |
with gr.Row():
|
| 14 |
with gr.Column():
|
| 15 |
createbtn=gr.Button(value="Create Student Account",link=accountcreationlink)
|
| 16 |
+
studentbtn=gr.Button(value="Student Login - Full App",link=mainstudentapp)
|
| 17 |
parentbtn=gr.Button(value="Parent Approval",link=mainstudentapp)
|
| 18 |
+
studentlitebtn=gr.Button(value="Lab Rat Lite Student Login *",link=mainstudentapp)
|
| 19 |
+
gr.Markdown("Only use the Lab Rat Lite app if instructed to do so by your teacher")
|
| 20 |
with gr.Column():
|
| 21 |
teacherbtn=gr.Button(value="Teacher Login",link=adultapprover)
|
| 22 |
adminbtn=gr.Button(value="Fair Admin Login",link=adultapprover)
|