-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
74 lines (63 loc) · 2.2 KB
/
main.py
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
import streamlit as st
from PIL import Image
from helper import defaultConfig
#Config
defaultConfig()
# Header
img = Image.open("./media/UCoE-Web-Logo.png")
st.image(img)
st.title('Admission process')
# Tabs
tab1, tab2, tab3 = st.tabs(["Personal", "Marks", "Admission"])
with tab1:
# -Aadhar
# -leaving
# -photo of student
# -Student domicile certificate
# - Student Medical certificate
# -if defence certificate
# -Gap certificate
col1, col2 = st.columns(2)
with col1:
upload_photo = st.file_uploader("Photo of Student")
upload_adhaar = st.file_uploader("Adhaar card")
upload_lc = st.file_uploader("Leaving Certificate")
migrant = st.checkbox("Click If you are Migrant Student")
if migrant:
upload_migrant = st.file_uploader("Migrant Certificate")
gap = st.checkbox("Click if you have Gap Certificate")
if gap:
upload_gap = st.file_uploader("Gap certificate")
defence = st.checkbox("click if you have Defence Certificate")
if defence:
upload_defence = st.file_uploader(" Defence Certificate")
with col2:
upload_domicile = st.file_uploader("Student domicile certificate")
upload_medical = st.file_uploader("Student Medical certificate")
upload_income = st.file_uploader("Income Certificate")
upload_caste = st.file_uploader("Caste Certificate")
with tab2:
# 10/12/cet/jee
upload_ten = st.file_uploader("10th Marksheet")
upload_twelve = st.file_uploader("12th Marksheet")
cet = st.checkbox("Click to take Addmission with CET")
jee = st.checkbox("Click to take Addmission with JEE")
if cet:
upload_cet = st.file_uploader("CET Marksheet")
if jee:
upload_jee = st.file_uploader("JEE Marksheet")
with tab3:
# -Cap receipt( cum Acknowledgement letter)
# -Addmission reporting/
# seat acceptance letter
upload_cap_recipt = st.file_uploader(
"Cap receipt( cum Acknowledgement letter)")
upload_report_letter = st.file_uploader(
"Admission reporting/seat acceptance letter")
# with col2:
st.button("Submit")
# def form():
# st.markdown("")
# page_names_to_funcs = {
# "Page 2": form,
# }