Add title in name

This commit is contained in:
David Walsh
2019-05-07 12:55:14 -04:00
parent 03ccc8b2e3
commit ec08e572fb
2 changed files with 4 additions and 1 deletions

View File

@@ -198,5 +198,8 @@ function getMasterName()
service.callService(request, function(result) {
console.log('Master Name = ' + result.host);
document.getElementById("MasterName").innerHTML = result.host;
var title = result.host + " Lab UI"
document.title = title;
document.getElementById("Title").innerHTML = title;
});
}

View File

@@ -53,7 +53,7 @@ Tutorials can be found here: http://www.w3schools.com/bootstrap/default.asp
<body>
<div class="container">
<div id="jumbotronTitle" class="jumbotron text-center">
<h1>Lab UI</h1>
<h1 id="Title">Lab UI</h1>
</div>
<div class="container">