|
|
@ -54,7 +54,7 @@ class AddLocationPage(rio.Component):
|
|
|
|
await asyncio.sleep(2)
|
|
|
|
await asyncio.sleep(2)
|
|
|
|
self.popup_show = False
|
|
|
|
self.popup_show = False
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
self.popup_message = "\n Part added! \n\n"
|
|
|
|
self.popup_message = "\n Location added! \n\n"
|
|
|
|
self.popup_show = True
|
|
|
|
self.popup_show = True
|
|
|
|
self.popup_color = 'success'
|
|
|
|
self.popup_color = 'success'
|
|
|
|
self.name: str = ""
|
|
|
|
self.name: str = ""
|
|
|
@ -76,7 +76,7 @@ class AddLocationPage(rio.Component):
|
|
|
|
return rio.Column(
|
|
|
|
return rio.Column(
|
|
|
|
rio.Popup(
|
|
|
|
rio.Popup(
|
|
|
|
anchor=rio.Text(
|
|
|
|
anchor=rio.Text(
|
|
|
|
text="Add a part below:",
|
|
|
|
text="Add a location below:",
|
|
|
|
style='heading1',
|
|
|
|
style='heading1',
|
|
|
|
align_x = 0.5
|
|
|
|
align_x = 0.5
|
|
|
|
),
|
|
|
|
),
|
|
|
|