annot-server/webapp.py
changeset 8 e72d0e847d5d
parent 0 e1d4d7a8255a
child 13 435d5c15275a
equal deleted inserted replaced
7:813fec862542 8:e72d0e847d5d
    11 app = Flask(__name__)
    11 app = Flask(__name__)
    12 app.secret_key = str(uuid.uuid4())
    12 app.secret_key = str(uuid.uuid4())
    13 
    13 
    14 @app.route('/')
    14 @app.route('/')
    15 def page_home():
    15 def page_home():
    16    return render_template('index.html')
    16     return render_template('index.html')
       
    17     #return render_template('annotationclient.html', logging=True)
    17 
    18 
    18 
    19 
    19 @app.route('/annot')
    20 @app.route('/annot')
    20 def page_annot():
    21 def page_annot():
    21    return render_template('annot.html')
    22     return render_template('annot.html')
       
    23 
       
    24 
       
    25 @app.route('/annotationclient')
       
    26 def page_annotationclient():
       
    27     return render_template('annotationclient.html', logging=True)