No need for the menu icon to link to the homepage, as pgAdmin is a SPA. Fixes #2479

REL-1_X
Murtuza Zabuawala 2017-06-20 10:28:35 +01:00 committed by Dave Page
parent d2ba57c1ab
commit 34518d328e
1 changed files with 4 additions and 1 deletions

View File

@ -88,6 +88,9 @@ require.onResourceLoad = function (context, map, depMaps) {
text-align: center;
color: #fff;
}
.pgadmin_header_logo {
cursor: default;
}
</style>
<div id="pg-spinner">
<div class="pg-sp-content">
@ -104,7 +107,7 @@ require.onResourceLoad = function (context, map, depMaps) {
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{ '#' if config.SERVER_MODE else '?key=' + current_app.PGADMIN_KEY }}">
<a class="navbar-brand pgadmin_header_logo" onClick="return false;" href="{{ '#' }}">
<i class="app-icon {{ config.APP_ICON }}"></i>
<span>&nbsp;{{ config.APP_NAME }}</span>
</a>