Exemplo n.º 1
0
		def booking():
			if 'u_email' in session:
				sch_record = dbconn.viewS()
				rst_records =dbconn.viewRoute()
				jty_records = dbconn.viewJetty()
				return render_template('booking.html',  records=rst_records,Sch_records=sch_record, j_records = jty_records )
			return redirect(url_for('login'))
Exemplo n.º 2
0
		def schedules():
			route_record = dbconn.viewR()
			sch_record = dbconn.viewS()
			rst_records =dbconn.viewRoute()
			return render_template('schedules.html',  records=rst_records,Sch_records=sch_record,  Rou_records = route_record)
Exemplo n.º 3
0
		def jetties():
			route_record = dbconn.viewR()
			sch_record = dbconn.viewS()
			rst_records =dbconn.viewRoute()
			return render_template('jetties.html', Rou_records = route_record,Sch_records=sch_record,  records=rst_records)