KEYCLOAK-360 fixed account template menu

This commit is contained in:
Viliam Rockai 2014-03-11 17:40:54 +01:00
parent d1b1a98a0a
commit 0dbd4417af
3 changed files with 38 additions and 20 deletions

View file

@ -19,23 +19,21 @@
<body class="admin-console user ${bodyClass}">
<header class="navbar navbar-default navbar-pf navbar-main header">
<div>
<nav class="navbar" role="navigation">
<div class="container">
<div class="navbar-header">
<div class="navbar-title">
</div>
</div>
<div class="navbar-collapse">
<ul class="nav navbar-nav navbar-utility">
<#if referrer?has_content && referrer.baseUrl?has_content><li><a href="${referrer.baseUrl}">Back to ${referrer.name}</a></li></#if>
<li><a href="${url.logoutUrl}">Sign Out</a></li>
</ul>
</div>
</div>
</nav>
</div>
<nav class="navbar" role="navigation">
<div class="navbar-header">
<div class="container">
<h1 class="navbar-title">Keycloak</h1>
</div>
</div>
<div class="navbar-collapse navbar-collapse-1">
<div class="container">
<ul class="nav navbar-nav navbar-utility">
<#if referrer?has_content && referrer.baseUrl?has_content><li><a href="${referrer.baseUrl}">Back to ${referrer.name}</a></li></#if>
<li><a href="${url.logoutUrl}">Sign Out</a></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="container">

View file

@ -11,13 +11,33 @@ body {
header .navbar {
margin-bottom: 0;
min-height: inherit;
}
.header .container {
position: relative;
}
.navbar-title {
background-image: url('../img/keycloak-logo.png');
height: 40px;
background-image: url('../img/logo.png');
height: 25px;
background-repeat: no-repeat;
margin: 18px 0;
width: 103px;
margin: 3px 10px 5px;
text-indent: -99999px;
}
.navbar-pf .navbar-utility {
top: auto;
bottom: 0;
right: 15px;
}
.navbar-pf .navbar-utility > li > a {
color: #fff !important;
padding-bottom: 12px;
padding-top: 11px;
border-left: medium none;
}
.container {

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB