From ddc2eb4059380b93b2a00738532590c53cd64125 Mon Sep 17 00:00:00 2001 From: Andrea Date: Sat, 12 Sep 2015 12:05:51 -0500 Subject: [PATCH] Added a search bar to the index.html --- web/flask_app.py | 6 +++--- web/static/index.html | 9 ++++++++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/web/flask_app.py b/web/flask_app.py index 885ea82..ab96366 100644 --- a/web/flask_app.py +++ b/web/flask_app.py @@ -27,9 +27,9 @@ def json_serial(obj): def skill_pair_default(o): if isinstance(o, SkillPair): - return dict(secondary_term=o.secondary_term, - number_of_times=o.number_of_times, - ratio=str(o.ratio)) + return dict(secondary_term=o.secondary_term, + number_of_times=o.number_of_times, + ratio=str(o.ratio)) app.config.from_pyfile('settings.cfg') diff --git a/web/static/index.html b/web/static/index.html index 514fc39..ad46a82 100644 --- a/web/static/index.html +++ b/web/static/index.html @@ -11,10 +11,17 @@

{{ title }}

+ +