web ui title
Bug #1477807 reported by
tom murray
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Won't Fix
|
Low
|
Rajiv Sah | |||
Trunk |
Fix Committed
|
Low
|
Rajiv Sah |
Bug Description
this is with contrail 2.20 but also applies to earlier versions.
I deal with many cluster sites at a time. I find that all the Web UI screens have a title of "Contrail Controller" so it becomes very hard to distinguish which webui belongs to which site.
To help this, i would like to see some sort of site identifier in the title to help manage all those windows.
information type: | Proprietary → Public |
To post a comment you must log in.
I changed /usr/src/ contrail/ contrail- web-core/ webroot/ html/dashboard. html
from
<title>Contrail Controller</title>
to
<title id="site"> </title> location. hostname; getElementById( "site") .innerHTML = "Contrail Controller - " + site;
<script>
var site = window.
document.
</script>
and /usr/src/ contrail/ contrail- web-core/ webroot/ html/login. html
from
<title>Contrail Controller Login</title>
to
<title id="site"> </title> location. hostname; getElementById( "site") .innerHTML = "Contrail Controller Login - " + site;
<script>
var site = window.
document.
</script>
This makes a basic title, but probably something could be extracted from the configuration to have a nicer site name