Update app.py
Browse files
app.py
CHANGED
|
@@ -1,38 +1,39 @@
|
|
| 1 |
|
| 2 |
import streamlit as st
|
| 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
st.sidebar.title("Navigation")
|
| 5 |
-
page = st.sidebar.radio("Go to", ["Home", "
|
| 6 |
|
| 7 |
if page == "Home":
|
| 8 |
st.title("Hi! Welcome to the NBS Project Submission Platform")
|
| 9 |
st.write("Please use the sidebar to navigate between options.")
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
)
|
| 23 |
-
|
| 24 |
-
st.button( "Verification Entity",
|
| 25 |
-
key=None,
|
| 26 |
-
help=None,
|
| 27 |
-
on_click=None,
|
| 28 |
-
args=None,
|
| 29 |
-
kwargs=None,
|
| 30 |
-
type="secondary",
|
| 31 |
-
icon=None,
|
| 32 |
-
disabled=False,
|
| 33 |
-
use_container_width=False
|
| 34 |
-
)
|
| 35 |
-
|
| 36 |
|
| 37 |
|
| 38 |
# about page
|
|
|
|
| 1 |
|
| 2 |
import streamlit as st
|
| 3 |
|
| 4 |
+
st.markdown(
|
| 5 |
+
"""
|
| 6 |
+
<style>
|
| 7 |
+
|
| 8 |
+
.css-1d391kg {
|
| 9 |
+
width: 250px;
|
| 10 |
+
}
|
| 11 |
+
.css-1lcbm7u {
|
| 12 |
+
max-width: calc(100% - 300px);
|
| 13 |
+
}
|
| 14 |
+
</style>
|
| 15 |
+
""",
|
| 16 |
+
unsafe_allow_html=True
|
| 17 |
+
)
|
| 18 |
+
|
| 19 |
st.sidebar.title("Navigation")
|
| 20 |
+
page = st.sidebar.radio("Go to", ["Home", "About us", "Guidelines & Standarts used"])
|
| 21 |
|
| 22 |
if page == "Home":
|
| 23 |
st.title("Hi! Welcome to the NBS Project Submission Platform")
|
| 24 |
st.write("Please use the sidebar to navigate between options.")
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
left, right = st.columns(2)
|
| 28 |
+
if left.button("Project Developer", use_container_width=True):
|
| 29 |
+
import developer
|
| 30 |
+
developer.run()
|
| 31 |
+
|
| 32 |
+
if right.button("Verification Entity", use_container_width=True):
|
| 33 |
+
st.write("Verification Entity button clicked.")
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
|
| 39 |
# about page
|