()
| 1105 | # mai page for admin |
| 1106 | def page1(): |
| 1107 | def back_to_main2(): |
| 1108 | admin_frame.grid_forget() |
| 1109 | global frame |
| 1110 | frame = Frame(tk, bg="black") |
| 1111 | frame.grid(padx=500, pady=250) |
| 1112 | |
| 1113 | button = Button(frame, text="Admin", command=admin_login) |
| 1114 | button.grid(row=0, pady=20) |
| 1115 | |
| 1116 | button = Button(frame, text="Employee", command=employee_login) |
| 1117 | button.grid(row=1, pady=20) |
| 1118 | |
| 1119 | button = Button(frame, text="Exit", command=tk.destroy) |
| 1120 | button.grid(row=2, pady=20) |
| 1121 | tk.mainloop() |
| 1122 | |
| 1123 | mainloop() |
| 1124 | |
| 1125 | name = entry1.get() |
| 1126 | password = entry2.get() |
nothing calls this directly
no outgoing calls
no test coverage detected