Update app.py
Browse files
app.py
CHANGED
|
@@ -5,37 +5,20 @@ import streamlit as st
|
|
| 5 |
|
| 6 |
PASS_CODE = "12345"
|
| 7 |
|
| 8 |
-
|
| 9 |
-
st.markdown(
|
| 10 |
-
"""
|
| 11 |
-
<style>
|
| 12 |
-
.css-nzvw1x {
|
| 13 |
-
background-color: #061E42 !important;
|
| 14 |
-
background-image: none !important;
|
| 15 |
-
}
|
| 16 |
-
.css-1aw8i8e {
|
| 17 |
-
background-image: none !important;
|
| 18 |
-
color: #FFFFFF !important
|
| 19 |
-
}
|
| 20 |
-
.css-ecnl2d {
|
| 21 |
-
background-color: #496C9F !important;
|
| 22 |
-
color: #496C9F !important
|
| 23 |
-
}
|
| 24 |
-
.css-15zws4i {
|
| 25 |
-
background-color: #496C9F !important;
|
| 26 |
-
color: #FFFFFF !important
|
| 27 |
-
}
|
| 28 |
-
</style>
|
| 29 |
-
""",
|
| 30 |
-
unsafe_allow_html=True
|
| 31 |
-
)
|
| 32 |
-
|
| 33 |
st.sidebar.title("Navigation")
|
| 34 |
page = st.sidebar.radio("Go to", ["Home", "About us", "Guidelines & Standarts used"])
|
| 35 |
|
| 36 |
if page == "Home":
|
| 37 |
-
if 'page_redirect'
|
| 38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
st.title("Hi! Welcome to the NBS Project Submission Platform")
|
| 40 |
st.write("Please use the sidebar to navigate between options.")
|
| 41 |
|
|
|
|
| 5 |
|
| 6 |
PASS_CODE = "12345"
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
st.sidebar.title("Navigation")
|
| 9 |
page = st.sidebar.radio("Go to", ["Home", "About us", "Guidelines & Standarts used"])
|
| 10 |
|
| 11 |
if page == "Home":
|
| 12 |
+
if 'page_redirect' in st.session_state and st.session_state.page_redirect == "developer":
|
| 13 |
+
# Developer Page
|
| 14 |
+
st.title("Project Developer Portal")
|
| 15 |
+
st.write("You can submit your project for evaluation here.")
|
| 16 |
+
# Import and run the developer's page
|
| 17 |
+
import developer
|
| 18 |
+
developer.project_developer_page()
|
| 19 |
+
|
| 20 |
+
else:
|
| 21 |
+
# Home page - before access to developer page
|
| 22 |
st.title("Hi! Welcome to the NBS Project Submission Platform")
|
| 23 |
st.write("Please use the sidebar to navigate between options.")
|
| 24 |
|