From: K Sai Kiran Date: Thu, 25 Jun 2020 10:53:32 +0000 (+0530) Subject: Added NS subscription to html_out X-Git-Tag: v8.0.0rc2~7 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F60%2F9160%2F2;p=osm%2FNBI.git Added NS subscription to html_out Added Ns subscription url to html_out. Since in html there was no explict link for favicon.ico, browser by default makes GET request to /favicon.ico NBI reponse was 404. Added OSM favicon.ico and gave explicit link to static folder. Change-Id: Id0088ca09bfc5000e487ab44ac678fab49919c37 Signed-off-by: K Sai Kiran --- diff --git a/osm_nbi/html_out.py b/osm_nbi/html_out.py index 82362ec..b344aff 100644 --- a/osm_nbi/html_out.py +++ b/osm_nbi/html_out.py @@ -26,7 +26,8 @@ html_start = """ -Welcome to OSM + Welcome to OSM +
@@ -48,6 +49,7 @@ html_start = """ SDNs K8s_clusters K8s_repos + NS_Subs logout
@@ -71,6 +73,7 @@ html_auth2 = """ OSM Login +
diff --git a/osm_nbi/html_public/favicon.ico b/osm_nbi/html_public/favicon.ico new file mode 100644 index 0000000..c588094 Binary files /dev/null and b/osm_nbi/html_public/favicon.ico differ