youngtsai commited on
Commit
4d86a6c
·
verified ·
1 Parent(s): a0d67c4

Update assignment_ui.py

Browse files
Files changed (1) hide show
  1. assignment_ui.py +10 -1
assignment_ui.py CHANGED
@@ -539,7 +539,16 @@ def create_assignment_ui(user_data, assignment_service, submission_service, dash
539
  with gr.Row():
540
  download_assignments_button = gr.Button("下載作業列表 CSV")
541
  assignments_df_file = gr.File()
542
-
 
 
 
 
 
 
 
 
 
543
  with gr.Row():
544
  submissions_df = gr.Dataframe(
545
  label="所有提交的作業",
 
539
  with gr.Row():
540
  download_assignments_button = gr.Button("下載作業列表 CSV")
541
  assignments_df_file = gr.File()
542
+ with gr.Row():
543
+ gr.HTML("""
544
+ <div style="background-color: #f8f9fa; padding: 30px; border-radius: 15px; font-family: 'Helvetica', sans-serif;">
545
+ <h2 style="color: #007bff; font-size: 28px; margin-bottom: 20px;">📝 學生回傳作業</h2>
546
+ <div style="background-color: #e9ecef; padding: 15px; border-radius: 10px; margin-bottom: 20px;">
547
+ <span style="color:#4e80ee; font-weight: bold;">提醒:</span>
548
+ <span>評分已獲得綠燈 🟢 的同學,請老師聯繫樂寫公益學習網(cooldeark@gmail.com)以建立帳號</span>
549
+ </div>
550
+ <div style="background-color: white; border-radius: 10px; padding: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.05);">
551
+ """)
552
  with gr.Row():
553
  submissions_df = gr.Dataframe(
554
  label="所有提交的作業",