Spaces:
Sleeping
Sleeping
File size: 2,458 Bytes
12b6218 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
import streamlit as st
import exercises.about_course as about_course
import exercises.capping_ex as capping_ex
import exercises.variograms as variograms
import exercises.cut_off as cut_off
import exercises.block_modelling as block_modelling
import exercises.geo_interp as geo_interp
import exercises.reporting as reporting
import exercises.interp as interp
max_width = 1200
padding_top = 0
padding_right = 0
padding_left = 0
padding_bottom = 0
COLOR = '#180c52'
BACKGROUND_COLOR = 'white'
st.markdown(
f"""
<style>
.reportview-container .main .block-container{{
max-width: {max_width}px;
padding-top: {padding_top}rem;
padding-right: {padding_right}rem;
padding-left: {padding_left}rem;
padding-bottom: {padding_bottom}rem;
}}
.reportview-container .main {{
color: {COLOR};
background-color: {BACKGROUND_COLOR};
}}
</style>
""",
unsafe_allow_html=True,
)
st.sidebar.image("..//pdac2021_res_est_course_link2//055CF2A4-98DC-488C-B5A6-15CC02C9974E.png", width=100)
# Capping Exercise - interactive
# Compositing - Q&A
# Variograms - interactive
# Interpolation - interactive
# Compositing - Q&A
radio_options = ["01 About the Course",
"02 Geological Interp",
"03 Capping",
"04 Variograms",
"05 Interpolation",
"06 Cut-Off Grade",
"07 Reporting/Classification"]
exercise=st.sidebar.radio("",
options=radio_options,
index=0,
key=None)
if exercise == radio_options[0]:
about_course.about_course()
if exercise == radio_options[1]:
st.write("Page available during nominated exercise session")
# geo_interp.geo_interp()
if exercise == radio_options[2]:
st.write("Page available during nominated exercise session")
# capping_ex.capping_ex()
if exercise == radio_options[3]:
st.write("Page available during nominated exercise session")
# variograms.variograms()
if exercise == radio_options[4]:
# block_modelling.block_modelling()
st.write("Page available during nominated exercise session")
# interp.block_modelling()
if exercise == radio_options[5]:
st.write("Page available during nominated exercise session")
# cut_off.cut_off()
if exercise == radio_options[6]:
# st.write("Page available during nominated exercise session")
reporting.reporting()
|