0
|
1 |
|
|
2 |
# |
|
3 |
# See LICENCE for detail |
|
4 |
# Copyright (c) 2014 IRI |
|
5 |
# |
|
6 |
|
|
7 |
import uuid |
|
8 |
|
|
9 |
from flask import Flask, render_template |
|
10 |
|
|
11 |
app = Flask(__name__) |
|
12 |
app.secret_key = str(uuid.uuid4()) |
|
13 |
|
|
14 |
@app.route('/') |
|
15 |
def page_home(): |
8
|
16 |
return render_template('index.html') |
|
17 |
#return render_template('annotationclient.html', logging=True) |
0
|
18 |
|
|
19 |
|
|
20 |
@app.route('/annot') |
|
21 |
def page_annot(): |
8
|
22 |
return render_template('annot.html') |
|
23 |
|
|
24 |
|
|
25 |
@app.route('/annotationclient') |
|
26 |
def page_annotationclient(): |
|
27 |
return render_template('annotationclient.html', logging=True) |