()
| 1084 | |
| 1085 | |
| 1086 | def back_to_main(): |
| 1087 | page1_frame.grid_forget() |
| 1088 | global frame |
| 1089 | frame = Frame(tk, bg="black") |
| 1090 | frame.grid(padx=500, pady=250) |
| 1091 | |
| 1092 | button = Button(frame, text="Admin", command=admin_login) |
| 1093 | button.grid(row=0, pady=20) |
| 1094 | |
| 1095 | button = Button(frame, text="Employee", command=employee_login) |
| 1096 | button.grid(row=1, pady=20) |
| 1097 | |
| 1098 | button = Button(frame, text="Exit", command=tk.destroy) |
| 1099 | button.grid(row=2, pady=20) |
| 1100 | tk.mainloop() |
| 1101 | |
| 1102 | mainloop() |
| 1103 | |
| 1104 | |
| 1105 | # mai page for admin |
nothing calls this directly
no outgoing calls
no test coverage detected