diff --git a/demo/app.py b/demo/app.py index e6b6a69..d881419 100644 --- a/demo/app.py +++ b/demo/app.py @@ -12,6 +12,11 @@ def index(): return render_template('index.html') +@app.route('/popup') +def popup(): + return render_template('popover.html') + + @app.route('/translate', methods=['POST']) def translate(): lines = request.form['code'] diff --git a/demo/templates/base.html b/demo/templates/base.html index 7b61cd9..88041e5 100644 --- a/demo/templates/base.html +++ b/demo/templates/base.html @@ -2,64 +2,21 @@