2013-09-26 12:08:03 +00:00
|
|
|
<#macro mainLayout active bodyClass>
|
|
|
|
<!doctype html>
|
|
|
|
<html>
|
2013-09-20 13:15:16 +00:00
|
|
|
<head>
|
2013-09-26 12:08:03 +00:00
|
|
|
<meta charset="utf-8">
|
2015-03-20 09:36:42 +00:00
|
|
|
<title>${msg("accountManagementTitle")}</title>
|
2014-01-28 11:52:18 +00:00
|
|
|
<link rel="icon" href="${url.resourcesPath}/img/favicon.ico">
|
|
|
|
<#if properties.styles?has_content>
|
|
|
|
<#list properties.styles?split(' ') as style>
|
|
|
|
<link href="${url.resourcesPath}/${style}" rel="stylesheet" />
|
|
|
|
</#list>
|
|
|
|
</#if>
|
|
|
|
<#if properties.scripts?has_content>
|
|
|
|
<#list properties.scripts?split(' ') as script>
|
|
|
|
<script type="text/javascript" src="${url.resourcesPath}/${script}"></script>
|
|
|
|
</#list>
|
|
|
|
</#if>
|
2013-09-20 13:15:16 +00:00
|
|
|
</head>
|
2013-09-26 12:08:03 +00:00
|
|
|
<body class="admin-console user ${bodyClass}">
|
|
|
|
|
2014-02-17 11:20:22 +00:00
|
|
|
<header class="navbar navbar-default navbar-pf navbar-main header">
|
2014-03-11 16:40:54 +00:00
|
|
|
<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">
|
2015-02-21 16:36:47 +00:00
|
|
|
<#if realm.internationalizationEnabled>
|
|
|
|
<li>
|
2015-03-23 20:03:56 +00:00
|
|
|
<div class="kc-dropdown" id="kc-locale-dropdown">
|
|
|
|
<a href="#" id="kc-current-locale-link">${locale.current}</a>
|
2015-03-16 17:14:23 +00:00
|
|
|
<ul>
|
|
|
|
<#list locale.supported as l>
|
|
|
|
<li class="kc-dropdown-item"><a href="${l.url}">${l.label}</a></li>
|
|
|
|
</#list>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2015-02-21 16:36:47 +00:00
|
|
|
<li>
|
|
|
|
</#if>
|
2015-03-20 09:36:42 +00:00
|
|
|
<#if referrer?has_content && referrer.url?has_content><li><a href="${referrer.url}" id="referrer">${msg("backTo",referrer.name)}</a></li></#if>
|
|
|
|
<li><a href="${url.logoutUrl}">${msg("doSignOut")}</a></li>
|
2014-03-11 16:40:54 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
2014-02-17 11:20:22 +00:00
|
|
|
</header>
|
2013-08-20 13:28:51 +00:00
|
|
|
|
2014-02-17 11:20:22 +00:00
|
|
|
<div class="container">
|
|
|
|
<div class="bs-sidebar col-sm-3 ng-scope">
|
2013-09-26 12:08:03 +00:00
|
|
|
<ul>
|
2015-03-20 09:36:42 +00:00
|
|
|
<li class="<#if active=='account'>active</#if>"><a href="${url.accountUrl}">${msg("account")}</a></li>
|
|
|
|
<#if features.passwordUpdateSupported><li class="<#if active=='password'>active</#if>"><a href="${url.passwordUrl}">${msg("password")}</a></li></#if>
|
|
|
|
<li class="<#if active=='totp'>active</#if>"><a href="${url.totpUrl}">${msg("authenticator")}</a></li>
|
|
|
|
<#if features.identityFederation><li class="<#if active=='social'>active</#if>"><a href="${url.socialUrl}">${msg("federatedIdentity")}</a></li></#if>
|
|
|
|
<li class="<#if active=='sessions'>active</#if>"><a href="${url.sessionsUrl}">${msg("sessions")}</a></li>
|
2015-04-23 15:53:16 +00:00
|
|
|
<li class="<#if active=='applications'>active</#if>"><a href="${url.applicationsUrl}">${msg("applications")}</a></li>
|
2015-03-20 09:36:42 +00:00
|
|
|
<#if features.log><li class="<#if active=='log'>active</#if>"><a href="${url.logUrl}">${msg("log")}</a></li></#if>
|
2013-09-26 12:08:03 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2013-08-20 13:28:51 +00:00
|
|
|
|
2014-02-17 11:20:22 +00:00
|
|
|
<div class="col-md-9 content-area">
|
|
|
|
<#if message?has_content>
|
|
|
|
<div class="alert alert-${message.type}">
|
|
|
|
<#if message.type=='success' ><span class="pficon pficon-ok"></span></#if>
|
|
|
|
<#if message.type=='error' ><span class="pficon pficon-error-octagon"></span><span class="pficon pficon-error-exclamation"></span></#if>
|
|
|
|
${message.summary}
|
|
|
|
</div>
|
|
|
|
</#if>
|
|
|
|
|
|
|
|
<#nested "content">
|
2013-09-26 12:08:03 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-02-17 11:20:22 +00:00
|
|
|
|
2013-09-20 13:15:16 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
</#macro>
|