23 lines
646 B
Python
23 lines
646 B
Python
from flask import Flask, render_template
|
|
app = Flask(__name__)
|
|
|
|
@app.route('/')
|
|
def index():
|
|
return render_template('index.html', title='Test', text='Hallo, Fooboar')
|
|
|
|
@app.route('/form')
|
|
def form():
|
|
return render_template('form.html', title='Test', text='Hallo, Fooboar')
|
|
|
|
@app.route('/result')
|
|
def result():
|
|
return render_template('result.html', title='Test', text='Hallo, Fooboar')
|
|
|
|
@app.route('/admin')
|
|
def admin():
|
|
return render_template('admin.html', title='Test', text='Hallo, Admin Fooboar')
|
|
|
|
@app.route('/answers')
|
|
def answers():
|
|
return render_template('answers.html', title='Test', text='Hallo, Admin Fooboar')
|