2052man commited on
Commit
c52b5d6
1 Parent(s): 010dc77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -39,7 +39,7 @@ def has_system_availability(schedule_data, class_selected, day_selected, start_t
39
 
40
  # Convert string day and time to datetime
41
  def get_class_datetime(day_selected, start_time_selected):
42
- days_of_week = ["شنبه", "یکشنبه", "دوشنبه", "سه‌شنبه", "چهارشنبه", "پنج‌شنبه", "جمعه"]
43
  today = JalaliDate.today().to_gregorian()
44
  current_day_index = today.weekday() # This returns the current day of the week as an integer (0=Monday, 6=Sunday)
45
 
@@ -96,10 +96,10 @@ def login_page():
96
  def schedule_page():
97
  st.title("برنامه کلاسی")
98
 
99
- classes = ["فیزیک", "ریاضی", "شیمی", "برنامه‌نویسی"]
100
- days = ["شنبه", "یکشنبه", "دوشنبه", "سه‌شنبه", "چهارشنبه", "پنج‌شنبه", "جمعه"]
101
- start_times = ["08:00", "10:00", "12:00", "14:00"]
102
- systems = ["سیستم ۱", "سیستم ۲", "سیستم ۳", "سیستم ۴", "سیستم ۵", "سیستم ۶"]
103
 
104
  st.header("مدیریت کلاس‌ها")
105
 
 
39
 
40
  # Convert string day and time to datetime
41
  def get_class_datetime(day_selected, start_time_selected):
42
+ days_of_week = ["شنبه", "یکشنبه", "دوشنبه", "سه‌شنبه", "چهارشنبه", "پنج‌شنبه"]
43
  today = JalaliDate.today().to_gregorian()
44
  current_day_index = today.weekday() # This returns the current day of the week as an integer (0=Monday, 6=Sunday)
45
 
 
96
  def schedule_page():
97
  st.title("برنامه کلاسی")
98
 
99
+ classes = ["تعمیرات موبایل"]
100
+ days = ["شنبه", "یکشنبه", "دوشنبه", "سه‌شنبه", "چهارشنبه", "پنج‌شنبه"]
101
+ start_times = ["10:30","12:00","13:30","15:00","16:30","18:00","19:30"]
102
+ systems = ["ست ۱", "ست ۲", "ست ۳", "ست ۴", "ست ۵", "ست ۶"]
103
 
104
  st.header("مدیریت کلاس‌ها")
105