DigitalTransG2 commited on
Commit
65515d4
·
verified ·
1 Parent(s): 702a19b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -32,13 +32,13 @@ def firebase_put(path, data):
32
  # ===================================================
33
  # GLOBAL LOGIN (applies to all roles)
34
  # ===================================================
35
- st.sidebar.title("🎓Professor Dashboard🎓")
36
 
37
  if "logged_in" not in st.session_state:
38
  st.session_state.logged_in = False
39
 
40
  if not st.session_state.logged_in:
41
- st.subheader("🔐 Login Required")
42
 
43
  username = st.text_input("Username")
44
  password = st.text_input("Password", type="password")
@@ -65,7 +65,7 @@ menu = st.sidebar.selectbox("Select Mode", ["Professor Panel", "Student Evaluati
65
  # ===================================================
66
  if menu == "Professor Panel":
67
 
68
- st.header("🏫Professor Panel🏫")
69
  st.success("You are logged in as Professor")
70
  st.subheader("Create New Quiz")
71
 
@@ -115,7 +115,7 @@ if menu == "Professor Panel":
115
  # ===================================================
116
  elif menu == "Student Evaluation":
117
 
118
- st.header("📊Student Evaluation📊")
119
 
120
  # Refresh button
121
  if st.button("🌀Refresh Data🌀"):
 
32
  # ===================================================
33
  # GLOBAL LOGIN (applies to all roles)
34
  # ===================================================
35
+ st.sidebar.title("🎓Professor Dashboard")
36
 
37
  if "logged_in" not in st.session_state:
38
  st.session_state.logged_in = False
39
 
40
  if not st.session_state.logged_in:
41
+ st.subheader("🛡️ Professor Access")
42
 
43
  username = st.text_input("Username")
44
  password = st.text_input("Password", type="password")
 
65
  # ===================================================
66
  if menu == "Professor Panel":
67
 
68
+ st.header("🏫Professor Panel")
69
  st.success("You are logged in as Professor")
70
  st.subheader("Create New Quiz")
71
 
 
115
  # ===================================================
116
  elif menu == "Student Evaluation":
117
 
118
+ st.header("📊Student Evaluation")
119
 
120
  # Refresh button
121
  if st.button("🌀Refresh Data🌀"):