adding batch download to frame1

git-svn-id: https://wikiteam.googlecode.com/svn/trunk@403 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
pull/117/head
emijrp 12 years ago
parent 942ea68284
commit 0b1d78031e

@ -87,17 +87,27 @@ class App:
self.notebook.add(self.frame3, text='Uploader')
#dump generator tab (1)
self.label11 = Label(self.frame1, text="Wiki URL:")
self.labelframe11 = LabelFrame(self.frame1, text="Single download")
self.labelframe11.grid(row=0, column=0)
self.labelframe12 = LabelFrame(self.frame1, text="Batch download")
self.labelframe12.grid(row=1, column=0)
#single download labelframe
self.label11 = Label(self.labelframe11, text="Wiki URL:")
self.label11.grid(row=0, column=0)
self.entry11 = Entry(self.frame1, width=40)
self.entry11 = Entry(self.labelframe11, width=40)
self.entry11.grid(row=0, column=1)
self.entry11.bind('<Return>', (lambda event: self.checkURL()))
self.optionmenu11var = StringVar(self.frame1)
self.optionmenu11var = StringVar(self.labelframe11)
self.optionmenu11var.set("api.php")
self.optionmenu11 = OptionMenu(self.frame1, self.optionmenu11var, self.optionmenu11var.get(), "index.php")
self.optionmenu11 = OptionMenu(self.labelframe11, self.optionmenu11var, self.optionmenu11var.get(), "index.php")
self.optionmenu11.grid(row=0, column=2)
self.button11 = Button(self.frame1, text="Check", command=lambda: thread.start_new_thread(self.checkURL, ()), width=5)
self.button11 = Button(self.labelframe11, text="Check", command=lambda: thread.start_new_thread(self.checkURL, ()), width=5)
self.button11.grid(row=0, column=3)
#batch download labelframe
self.label12 = Label(self.labelframe12, text="Wiki URLs:")
self.label12.grid(row=0, column=0)
self.text11 = Text(self.labelframe12, width=70, height=20)
self.text11.grid(row=0, column=1)
#downloader tab (2)
self.label25var = StringVar(self.frame2)

Loading…
Cancel
Save