Update app.py
Browse files
app.py
CHANGED
|
@@ -80,6 +80,49 @@ This issue is particularly evident for companies, which are involved in multiple
|
|
| 80 |
Whether you\'re a Project Developer or a Verifier, our interface can transform how you interact with the voluntary carbon market.
|
| 81 |
\n Click on the button to access corresponding portal.""")
|
| 82 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
tab1, tab2, tab3, tab4 = st.tabs(["Verra", "Carbon Credits", "Voluntary Carbon Market", "NBS"])
|
| 84 |
|
| 85 |
with tab1:
|
|
@@ -135,48 +178,6 @@ Agroforestry: Integrating trees into agricultural systems to improve soil health
|
|
| 135 |
Coastal ecosystem restoration: Rebuilding mangroves, salt marshes, and coral reefs to protect against sea-level rise and enhance marine biodiversity.
|
| 136 |
NBS projects play a significant role in the voluntary carbon market by generating carbon credits, as they help to reduce or remove greenhouse gas emissions through natural means.
|
| 137 |
""")
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
left, right = st.columns(2)
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
if 'page_redirect' not in st.session_state or st.session_state.page_redirect != "developer":
|
| 147 |
-
|
| 148 |
-
with left:
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
with st.popover("Project Developer"):
|
| 152 |
-
st.write("Project Developer Log-in")
|
| 153 |
-
entered_code = st.text_input("Please, enter the passcode to proceed:")
|
| 154 |
-
if st.button("Submit", key="developer_submit"):
|
| 155 |
-
if entered_code == PASS_CODE_dev:
|
| 156 |
-
st.session_state.page_redirect = "developer"
|
| 157 |
-
st.success("Code correct! Redirecting to Project Developer page...")
|
| 158 |
-
st.rerun()
|
| 159 |
-
|
| 160 |
-
else:
|
| 161 |
-
st.error("Incorrect code. Please try again.")
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
if 'page_redirect' not in st.session_state or st.session_state.page_redirect != "developer":
|
| 165 |
-
|
| 166 |
-
with right:
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
with st.popover("Verification Entity"):
|
| 170 |
-
st.write("Verification Entity Log-in")
|
| 171 |
-
entered_code = st.text_input("Enter the passcode to proceed:")
|
| 172 |
-
if st.button("Submit", key="verifier_submit"):
|
| 173 |
-
if entered_code == PASS_CODE_ver:
|
| 174 |
-
st.session_state.page_redirect = "verifier"
|
| 175 |
-
st.success("Code correct! Redirecting to Verification Entity page...")
|
| 176 |
-
st.rerun()
|
| 177 |
-
|
| 178 |
-
else:
|
| 179 |
-
st.error("Incorrect code. Please try again.")
|
| 180 |
|
| 181 |
|
| 182 |
|
|
|
|
| 80 |
Whether you\'re a Project Developer or a Verifier, our interface can transform how you interact with the voluntary carbon market.
|
| 81 |
\n Click on the button to access corresponding portal.""")
|
| 82 |
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
left, right = st.columns(2)
|
| 87 |
+
|
| 88 |
+
|
| 89 |
+
if 'page_redirect' not in st.session_state or st.session_state.page_redirect != "developer":
|
| 90 |
+
|
| 91 |
+
with left:
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
with st.popover("Project Developer"):
|
| 95 |
+
st.write("Project Developer Log-in")
|
| 96 |
+
entered_code = st.text_input("Please, enter the passcode to proceed:")
|
| 97 |
+
if st.button("Submit", key="developer_submit"):
|
| 98 |
+
if entered_code == PASS_CODE_dev:
|
| 99 |
+
st.session_state.page_redirect = "developer"
|
| 100 |
+
st.success("Code correct! Redirecting to Project Developer page...")
|
| 101 |
+
st.rerun()
|
| 102 |
+
|
| 103 |
+
else:
|
| 104 |
+
st.error("Incorrect code. Please try again.")
|
| 105 |
+
|
| 106 |
+
|
| 107 |
+
if 'page_redirect' not in st.session_state or st.session_state.page_redirect != "developer":
|
| 108 |
+
|
| 109 |
+
with right:
|
| 110 |
+
|
| 111 |
+
|
| 112 |
+
with st.popover("Verification Entity"):
|
| 113 |
+
st.write("Verification Entity Log-in")
|
| 114 |
+
entered_code = st.text_input("Enter the passcode to proceed:")
|
| 115 |
+
if st.button("Submit", key="verifier_submit"):
|
| 116 |
+
if entered_code == PASS_CODE_ver:
|
| 117 |
+
st.session_state.page_redirect = "verifier"
|
| 118 |
+
st.success("Code correct! Redirecting to Verification Entity page...")
|
| 119 |
+
st.rerun()
|
| 120 |
+
|
| 121 |
+
else:
|
| 122 |
+
st.error("Incorrect code. Please try again.")
|
| 123 |
+
|
| 124 |
+
|
| 125 |
+
|
| 126 |
tab1, tab2, tab3, tab4 = st.tabs(["Verra", "Carbon Credits", "Voluntary Carbon Market", "NBS"])
|
| 127 |
|
| 128 |
with tab1:
|
|
|
|
| 178 |
Coastal ecosystem restoration: Rebuilding mangroves, salt marshes, and coral reefs to protect against sea-level rise and enhance marine biodiversity.
|
| 179 |
NBS projects play a significant role in the voluntary carbon market by generating carbon credits, as they help to reduce or remove greenhouse gas emissions through natural means.
|
| 180 |
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 181 |
|
| 182 |
|
| 183 |
|