-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.py
More file actions
31 lines (22 loc) · 742 Bytes
/
app.py
File metadata and controls
31 lines (22 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def index():
return render_template('index.html', page='home', logged_in=False)
@app.route('/login')
def login():
return render_template('login.html', page='login', logged_in=False)
@app.route('/streaming')
def streaming():
return render_template('streaming.html', page='streaming', logged_in=True)
@app.route('/video')
def video():
return render_template('video.html', page='video', logged_in=True)
@app.route('/report')
def report():
return render_template('report.html', page='report', logged_in=True)
@app.route('/signup')
def signup():
return render_template('signup.html')
if __name__ == '__main__':
app.run(debug=True)