in ignite-tc-helper-web/src/main/webapp/js/common-1.6.js [153:197]
function showMenu(menuData) {
var userName = menuData.result;
var logoImage="";
var res = "";
if (!isDefinedAndFilled(userName)) {
res += "<div class=\"navbar\">";
res += logoImage;
res += "<div class='topnav-right'>";
res += "<a href='/login.html'>Login</a>";
res += "</div>";
res += "</div>";
} else {
res += "<div class=\"navbar\">";
res += "<a href=\"/\" title='Home Page'><img src='/img/leaf-icon-png-7066.png' width='16px' height='16px'></a>";
res += "<a href=\"/prs.html\" title='PR or branch check'>PR Check</a>";
res += "<a href=\"/guard.html\" title='Monitoring: Current test failures in tracked Branches'>Test Status</a>";
res += "<a href=\"/trends.html\" title='Monitoring: Test failures trends and graphs'>Master Trends</a>";
res += "<a href=\"/longRunningTestsReport.html\" title='Monitoring: Long running tests report''>Test Durations</a>";
res += "<a href=\"/buildtime.html\" title='Top suites time usage'>Suite Durations</a>";
res += "<a href=\"/compare.html\" title='Compare builds tests test'>Compare builds</a>";
res += "<a href=\"/issues.html\" title='Detected issues list'>Issues history</a>";
res += "<a href=\"/visas.html\" title='Issued TC Bot Visa history'>Visas history</a>";
res += "<a href=\"/mutes.html\" title='Muted tests list'>Muted tests</a>";
res += "<a href=\"/mutedissues/index.html\" title='Muted issues list'>Muted issues</a>";
res += "<a href=\"/board/index.html\" title='Board'>Board</a>";
res += "<div class='topnav-right'>";
if(isDefinedAndFilled(menuData.authorizedState) && !menuData.authorizedState) {
res += "<a onclick='authorizeServer()' href='javascript:void(0);'>Authorize Server</a>";
}
res += "<a href='/monitoring.html'>Server state</a>";
res += "<a id='userName' href='/user.html'>" + userName + "</a>";
var logout = "/login.html" + "?exit=true&backref=" + encodeURIComponent(window.location.href);
res += "<a href='" + logout + "'>Logout</a>";
res += "</div>";
res += "</div>";
}
$(document.body).prepend(res);
}