Пример #1
0
def team():
	""" Render the departures team's data.
	"""
	return render_template("display_data.html",
						   title="Data for Departures Team",
						   columns=('Time', 'Destination',),
						   data=data_for(buzzer.team),
						   show_logout=True)
Пример #2
0
def crew():
	""" Render the booking crew's data.
	"""
	return render_template("display_data.html",
						   title="Data for Booking Crew",
						   columns=('Destination', 'Time',),
						   data=data_for(buzzer.crew),
						   show_logout=True)
Пример #3
0
def pilot():
	""" Render the pilot's data.
	"""
	return render_template("display_data.html",
						   title="Data for Pilots",
						   columns=('Destination', 'Times',),
						   data=data_for(buzzer.pilot),
						   show_logout=True)