changeset 0 | e1d4d7a8255a |
child 8 | e72d0e847d5d |
-1:000000000000 | 0:e1d4d7a8255a |
---|---|
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(): |
|
16 return render_template('index.html') |
|
17 |
|
18 |
|
19 @app.route('/annot') |
|
20 def page_annot(): |
|
21 return render_template('annot.html') |