MENG21 commited on
Commit
b3d40a2
·
1 Parent(s): b102460
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -133,12 +133,9 @@ def main():
133
  for index, record in student_records.iterrows():
134
  st.markdown(f"### Course: {record['COURSE']}")
135
 
136
- col1, col2 = st.columns(2)
137
 
138
  with col1:
139
- st.markdown("<p class='big-font'>Name</p>", unsafe_allow_html=True)
140
- st.write(f"{record['NAME']}")
141
-
142
  st.markdown("<p class='big-font'>ID</p>", unsafe_allow_html=True)
143
  st.write(f"{record['ID']}")
144
 
@@ -150,7 +147,8 @@ def main():
150
  else:
151
  grade_display = f"{grade:.2f}"
152
  st.write(grade_display)
153
-
 
154
  st.markdown("<p class='big-font'>Remarks</p>", unsafe_allow_html=True)
155
  remarks = record['REMARKS']
156
  if remarks == "Passed":
 
133
  for index, record in student_records.iterrows():
134
  st.markdown(f"### Course: {record['COURSE']}")
135
 
136
+ col1, col2, col3 = st.columns(3)
137
 
138
  with col1:
 
 
 
139
  st.markdown("<p class='big-font'>ID</p>", unsafe_allow_html=True)
140
  st.write(f"{record['ID']}")
141
 
 
147
  else:
148
  grade_display = f"{grade:.2f}"
149
  st.write(grade_display)
150
+
151
+ with col3:
152
  st.markdown("<p class='big-font'>Remarks</p>", unsafe_allow_html=True)
153
  remarks = record['REMARKS']
154
  if remarks == "Passed":