Esempio n. 1
0
	def GET(self):
		
		# get the friend and warrior queues from spreadsheets
		friendq  = cv.names_no_null("Friend-Q", 1)
		warriorq = cv.names_no_null("Warrior-Q", 1)
		
		#render the pairing_gui webpage and pass queues as data to it
		return render.pairing_gui(list_of_names = [friendq, warriorq])
Esempio n. 2
0
	def GET(self):
		
		# get the friend and warrior queues from spreadsheets
		friendq  = cv.names_no_null("Friend-Q", 1)
		friendni = cv.names_no_null("Friend-Q", 2)

		warriorq = cv.names_no_null("Warrior-Q", 1)

		#render the pairing_gui webpage and pass queues as data to it
		return render.pairing_gui(list_of_names = [friendq, warriorq, friendni])
Esempio n. 3
0
	def GET(self):
		#display warrior names for dropdown list
		warriors = cv.names_no_null('Current-Pairings', 1)
		
		#for testing
		#warriors = ['Hannah', "montana"]
		return render.end_pair(table = [warriors])
Esempio n. 4
0
	def GET(self):
		#display warrior names for dropdown list
		warriors = cv.names_no_null('Current-Pairings', 1)
		
		#for testing
		#warriors = ['Hannah', "montana"]
		return render.end_pair(table = [warriors])