X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fdash%2Fapp%2Fpal%2Froutes.py;h=63bbb304f0474342274b8aeea867683e269362d7;hp=16680c4436d334fc5c2e6db3a46c1ae0519c1832;hb=1daa6fdc0bae284dee1b61f34534e59b60b7526a;hpb=a5e8351152d9513811e2d6d9eaaf2180e35e002d diff --git a/resources/tools/dash/app/pal/routes.py b/resources/tools/dash/app/pal/routes.py index 16680c4436..63bbb304f0 100644 --- a/resources/tools/dash/app/pal/routes.py +++ b/resources/tools/dash/app/pal/routes.py @@ -11,17 +11,20 @@ # 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_layout.jinja2", + title=u"FD.io CSIT", + description=u"Performance Dashboard", + template=u"d-flex h-100 text-center text-white bg-dark" )