From 8748af53c4e12a7034c9bc107c502c32c593aadf Mon Sep 17 00:00:00 2001 From: K Sai Kiran Date: Thu, 25 Jun 2020 16:23:32 +0530 Subject: [PATCH] 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 --- osm_nbi/html_out.py | 5 ++++- osm_nbi/html_public/favicon.ico | Bin 0 -> 10462 bytes 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 osm_nbi/html_public/favicon.ico 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 0000000000000000000000000000000000000000..c588094113587fda56a0ce6f8ecca59396a8cb6c GIT binary patch literal 10462 zcmd5?30zd=+W!k0uBf4@S)rL)mg_aw6x>(T*u>nR$h5T7Rx8sm%iS>76csX+TvKFK z*=HCSU}hNheG`}T+D%(-)_nhG;J}FRh4=d1`<;HT&w0++25CdM*MHU0Px=~ zNO&4}1ON&62;Lm>{6Boj=c8@W(v5TsM_-N>9RIJb_Gn`%PoK#c+IK!CEn0`yzwyJ0 zY5(9Ev}Mb%q^yCvpYmZSlsmiLbz^GnqVO$>_gy-<+~|j>n+1 z9eCSNh~trzIieJ&Lu0Wk@;tUh7ve-%K8}SI;CNU$&V*dXxzH;J2{+(yTnKzmAHeEQ z9WiVeAA=n&~j00vI1(cW1LusER`czmPZSp1N7`9=2PBh#MTFlXDF*j9mZ8Y5A%=u{h6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