bfebba3e9e | 3 months ago | |
---|---|---|
inventory | 3 months ago | |
.gitignore | 3 months ago | |
Dockerfile | 3 months ago | |
README.md | 3 months ago | |
db_classes.py | 3 months ago | |
docker-compose.yml | 3 months ago | |
requirements.txt | 3 months ago | |
rio.toml | 3 months ago | |
search.py | 3 months ago |
README.md
inventory
This is a placeholder README for your project. Use it to describe what your project is about, to give new users a quick overview of what they can expect.
Inventory was created using Rio, an easy to use app & website framework for Python._
This project is based on the Multipage Website
template.
Multipage Website
This is a simple website which shows off how to add multiple pages to your Rio app. The website comes with a custom navbar that allows you to switch between the different pages.
The navbar is placed inside a rio.Overlay
component, which makes it hover
above all other components. It contains buttons to switch between pages, and
also displays the currently active page by highlighting the corresponding
button.
To avoid placing the app on each page individually, this app makes use of the
app's build method. That's right, build functions aren't just for components!
The app's build creates an instance of RootPage
, which in turn displays the
navbar and a rio.PageView
. The currently active page is then always displayed
inside of that page view.