diff options
Diffstat (limited to 'resources/tools/dash/app/pal/routes.py')
-rw-r--r-- | resources/tools/dash/app/pal/routes.py | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/resources/tools/dash/app/pal/routes.py b/resources/tools/dash/app/pal/routes.py index 16680c4436..200d7afeba 100644 --- a/resources/tools/dash/app/pal/routes.py +++ b/resources/tools/dash/app/pal/routes.py @@ -11,17 +11,21 @@ # See the License for the specific language governing permissions and # limitations under the License. -"""Routes for parent Flask app.""" +"""Routes for parent Flask app. +""" + from flask import current_app as app from flask import render_template -@app.route("/") +@app.route(u"/") def home(): - """Landing page.""" + """Landing page. + """ + return render_template( - "index.jinja2", - title="FD.io CSIT", - description="Performance Dashboard", - template="home-template" + u"index.jinja2", + title=u"FD.io CSIT", + description=u"Performance Dashboard", + template=u"home-template" ) |