Started moving SFU over to Flask
This commit is contained in:
13
app/routes.py
Normal file
13
app/routes.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from app import app
|
||||
from flask import render_template
|
||||
from main import loadClients
|
||||
|
||||
@app.route('/')
|
||||
@app.route('/index')
|
||||
|
||||
def index():
|
||||
ClientName = []
|
||||
|
||||
ClientName = loadClients()
|
||||
|
||||
return render_template('index.html', title='SFU', ClientName=ClientName)
|
||||
Reference in New Issue
Block a user