()
| 692 | # main page for employees |
| 693 | def page2(): |
| 694 | def back_to_main_from_page2(): |
| 695 | frame1.grid_forget() |
| 696 | global frame |
| 697 | frame = Frame(tk, bg="black") |
| 698 | frame.grid(padx=500, pady=250) |
| 699 | |
| 700 | button = Button(frame, text="Admin", command=admin_login) |
| 701 | button.grid(row=0, pady=20) |
| 702 | |
| 703 | button = Button(frame, text="Employee", command=employee_login) |
| 704 | button.grid(row=1, pady=20) |
| 705 | |
| 706 | button = Button(frame, text="Exit", command=tk.destroy) |
| 707 | button.grid(row=2, pady=20) |
| 708 | tk.mainloop() |
| 709 | |
| 710 | frame.grid_forget() |
| 711 | global frame1 |
nothing calls this directly
no outgoing calls
no test coverage detected