aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/dash/app/pal/routes.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2022-01-26 09:31:43 +0100
committerTibor Frank <tifrank@cisco.com>2022-02-24 08:11:41 +0100
commitb2cb835b34c7404b2aaee3ec30700c67537da66d (patch)
treed0a6ce077b6d927565294fcd7301fb727708cd06 /resources/tools/dash/app/pal/routes.py
parent9eebc3e59028014a8fc151575b99347d2871c097 (diff)
UTI: PoC - Dash application for Trending
- delete old dash demo Change-Id: I3e75c1dc18ee85c1826838af0343a4b779f71754 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/dash/app/pal/routes.py')
-rw-r--r--resources/tools/dash/app/pal/routes.py18
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"
)