def jeff19(): if request.method == 'POST' and model.is_jeff(): #data = dict(request.form) #print(data) return render_template('jeff/jeff19.html') else: return "You should not be here"
def police(): if request.method == 'POST' and model.is_jeff(): #data = dict(request.form) #print(data) msg = "Remember to press Enter to Send" return render_template('jeff/police.html', message=msg) else: return "You should not be here"
def chest(): if request.method == 'POST' and model.is_jeff(): #data = dict(request.form) #print(data) msg = "After entering your code, press Enter on your keyboard" return render_template('jeff/chestlock.html', message=msg) else: return "You should not be here"
def chest_code(): if request.method == 'POST' and model.is_jeff(): data = dict(request.form) #print(data) if (data['code'] == 'A5V9M12'): return render_template('/jeff/chest_success.html') else: msg = "That's not the right code. Perhaps Taylor can help?" return render_template('/jeff/chestlock.html', message=msg) else: return "You should not be here"
def solve(): if request.method == 'POST' and model.is_jeff(): data = dict(request.form) #print(data) if (data['name'].lower() == 'michael'): return render_template('/jeff/success.html') else: msg = "The police already know that person has an alibi. Try again. Perhaps Taylor can help?" return render_template('/jeff/police.html', message=msg) else: return "You should not be here"