Commit 416a166d authored by michael.simon's avatar michael.simon
Browse files

remove old navigation

parent 880a7f5d
......@@ -184,239 +184,7 @@
<li class="home"><a href="#{request.contextPath}/index.xhtml"><span>Startseite</span></a></li>
</h:panelGroup>
</ul>
<!--
<h:panelGroup rendered="#{! sessionManager.isLoggedIn()}">
<div style="color: #e5e5e5;"><h:outputText value="#{messages.login}" /></div>
</h:panelGroup>
<div class="submenu">
<div class="submenu-title">#{messages.user}</div>
<div class="submenu-content">
<div style="padding: 8px;">
#{messages.login_status}:<br/>
<h:panelGroup rendered="#{empty authorizationBean.loggedInSince}">
<div>
#{messages.logged_in_since_not_set}
</div>
</h:panelGroup>
<h:panelGroup rendered="#{not empty authorizationBean.loggedInSince and (authorizationBean.loggedInSince.toMinutes() ge 2)}">
<div>
#{messages.logged_in_since} #{authorizationBean.loggedInSince.toMinutes()} #{messages.minutes}
</div>
</h:panelGroup>
<h:panelGroup rendered="#{not empty authorizationBean.loggedInSince and (authorizationBean.loggedInSince.toMinutes() lt 2)}">
<div>
#{messages.logged_in_since_recently}
</div>
</h:panelGroup>
<h:panelGroup rendered="#{authorizationBean.isTwoFaElevated() and (authorizationBean.twoFaElevatedSince.toMinutes() ge 2)}">
<div>
#{messages.twofa_elevated_since} #{authorizationBean.twoFaElevatedSince.toMinutes()} #{messages.minutes}
</div>
</h:panelGroup>
<h:panelGroup rendered="#{authorizationBean.isTwoFaElevated() and (authorizationBean.twoFaElevatedSince.toMinutes() lt 2)}">
<div>
#{messages.twofa_elevated_since_recently}
</div>
</h:panelGroup>
</div>
<hr style="border: 1px solid white;"/>
<ul>
<li><span class="ui-icon ui-icon-home" style="display:inline-block; vertical-align: bottom;" /><a href="#{request.contextPath}/index.xhtml">#{messages.index}</a></li>
<li><span class="ui-icon ui-icon-star" style="display:inline-block; vertical-align: bottom;" />
<h:link outcome="#{request.contextPath}/user/index.xhtml" value="#{messages.my_data}" />
</li>
<h:panelGroup rendered="#{authorizationBean.appConfig.getConfigValue('show_user_attribute_source').equalsIgnoreCase('true')}">
<li><span class="ui-icon ui-icon-suitcase" style="display:inline-block; vertical-align: bottom;" />
<h:link outcome="#{request.contextPath}/user/attribute-sources.xhtml" value="#{messages.my_attribute_sources}" />
</li>
</h:panelGroup>
<h:panelGroup rendered="#{authorizationBean.appConfig.getConfigValue('show_ssh_keys').equalsIgnoreCase('true')}">
<li><span class="ui-icon ui-icon-suitcase" style="display:inline-block; vertical-align: bottom;" />
<h:link outcome="#{request.contextPath}/user/ssh-keys.xhtml" value="#{messages.my_ssh_keys}" />
</li>
</h:panelGroup>
<h:panelGroup rendered="#{authorizationBean.appConfig.getConfigValue('show_twofa').equalsIgnoreCase('true')}">
<li><span class="ui-icon ui-icon-suitcase" style="display:inline-block; vertical-align: bottom;" />
<h:link outcome="#{request.contextPath}/user/twofa.xhtml" value="#{messages.my_twofa}" />
</li>
</h:panelGroup>
</ul>
</div>
</div>
<ui:repeat var="registry" value="#{authorizationBean.userRegistryList}">
<div class="submenu">
<div class="submenu-title">#{registry.service.name}</div>
<div class="submenu-content">
<div>
<ul>
<li><span class="ui-icon ui-icon-script" style="display:inline-block; vertical-align: bottom;" />
<h:link outcome="/service/index.xhtml" value="#{messages.service_desc}">
<f:param name="serviceId" value="#{registry.service.id}" />
</h:link>
</li>
<li>
<span class="ui-icon ui-icon-link" style="display:inline-block; vertical-align: bottom;" />
<h:link outcome="/service/registry-detail.xhtml" value="#{messages.registry_details}">
<f:param name="regId" value="#{registry.id}" />
</h:link>
</li>
<h:panelGroup rendered="#{registry.registryStatus == 'ACTIVE' and authorizationBean.isPasswordCapable(registry.service)}">
<li>
<span class="ui-icon ui-icon-locked" style="display:inline-block; vertical-align: bottom;" />
<h:link outcome="/service/set-password.xhtml" value="#{messages.set_password}">
<f:param name="registryId" value="#{registry.id}" />
</h:link>
</li>
</h:panelGroup>
<h:panelGroup rendered="#{registry.registryStatus == 'ACTIVE' and authorizationBean.isSshPubKeyCapable(registry.service)}">
<li>
<span class="ui-icon ui-icon-locked" style="display:inline-block; vertical-align: bottom;" />
<h:link outcome="/service/set-sshkey.xhtml" value="#{messages.set_ssh_pub_key}">
<f:param name="registryId" value="#{registry.id}" />
</h:link>
</li>
</h:panelGroup>
</ul>
</div>
</div>
</div>
</ui:repeat>
<ui:repeat var="service" value="#{authorizationBean.unregisteredServiceList}">
<div class="submenu">
<div class="submenu-title">#{service.name}</div>
<div class="submenu-content">
<div>
<ul>
<li><span class="ui-icon ui-icon-script" style="display:inline-block; vertical-align: bottom;" />
<h:link outcome="/service/index.xhtml" value="#{messages.service_desc}">
<f:param name="serviceId" value="#{service.id}" />
</h:link>
</li>
</ul>
</div>
</div>
</div>
</ui:repeat>
<ui:repeat var="service" value="#{authorizationBean.serviceAdminList}">
<div class="submenu">
<div class="submenu-title">#{service.name} Admin</div>
<div class="submenu-content">
<div>
<ul>
<li><span class="ui-icon ui-icon-carat-1-e" style="display:inline-block; vertical-align: bottom;" />
<h:link outcome="/service-admin/index.xhtml" value="#{messages.service_props}">
<f:param name="serviceId" value="#{service.id}" />
</h:link>
</li>
<li><span class="ui-icon ui-icon-carat-1-e" style="display:inline-block; vertical-align: bottom;" />
<h:link outcome="/service-admin/list-service-users.xhtml" value="#{messages.service_users}">
<f:param name="serviceId" value="#{service.id}" />
</h:link>
</li>
<li><span class="ui-icon ui-icon-carat-1-e" style="display:inline-block; vertical-align: bottom;" />
<h:link outcome="/service-admin/list-service-users-for-depro.xhtml" value="#{messages.service_users_depro}">
<f:param name="serviceId" value="#{service.id}" />
</h:link>
</li>
<li><span class="ui-icon ui-icon-signal" style="display:inline-block; vertical-align: bottom;" />
<h:link outcome="/service-admin/service-stats.xhtml" value="#{messages.statistics}">
<f:param name="serviceId" value="#{service.id}" />
</h:link>
</li>
</ul>
</div>
</div>
</div>
</ui:repeat>
<ui:repeat var="service" value="#{authorizationBean.serviceHotlineList}">
<div class="submenu">
<div class="submenu-title">#{service.name} Hotline</div>
<div class="submenu-content">
<div>
<ul>
<li><span class="ui-icon ui-icon-carat-1-e" style="display:inline-block; vertical-align: bottom;" />
<h:link outcome="/service-admin/list-service-users.xhtml" value="#{messages.service_users}">
<f:param name="serviceId" value="#{service.id}" />
</h:link>
</li>
</ul>
</div>
</div>
</div>
</ui:repeat>
<ui:repeat var="service" value="#{authorizationBean.serviceApproverList}">
<div class="submenu">
<div class="submenu-title">#{service.name} Approver</div>
<div class="submenu-content">
<div>
<ul>
<li><span class="ui-icon ui-icon-carat-1-e" style="display:inline-block; vertical-align: bottom;" />
<h:link outcome="/service-approver/index.xhtml" value="#{messages.new_approvals}">
<f:param name="serviceId" value="#{service.id}" />
</h:link>
</li>
</ul>
</div>
</div>
</div>
</ui:repeat>
<ui:repeat var="service" value="#{authorizationBean.serviceSshPubKeyApproverList}">
<div class="submenu">
<div class="submenu-title">#{service.name} Key Approver</div>
<div class="submenu-content">
<div>
<ul>
<li><span class="ui-icon ui-icon-carat-1-e" style="display:inline-block; vertical-align: bottom;" />
<h:link outcome="/service-approver/list-sshkey-approvals.xhtml" value="#{messages.new_approvals}">
<f:param name="serviceId" value="#{service.id}" />
</h:link>
</li>
</ul>
</div>
</div>
</div>
</ui:repeat>
<ui:repeat var="service" value="#{authorizationBean.serviceGroupAdminList}">
<div class="submenu">
<div class="submenu-title">#{service.name} GroupAdmin</div>
<div class="submenu-content">
<div>
<ul>
<li><span class="ui-icon ui-icon-carat-1-e" style="display:inline-block; vertical-align: bottom;" />
<h:link outcome="/service-group-admin/index.xhtml" value="#{messages.groups}">
<f:param name="serviceId" value="#{service.id}" />
</h:link>
</li>
</ul>
</div>
</div>
</div>
</ui:repeat>
</h:panelGroup>
<h:panelGroup>
<h:form id="languageForm">
<div class="panel" style="padding: 10px; text-align: center;">
<p:selectOneMenu value="#{sessionManager.locale}" styleClass="language-label" panelStyleClass="language-list">
<f:selectItem itemLabel="Browsersprache" itemValue="#{null}"/>
<f:selectItems value="#{localeSwitcherBean.localeList}"
var="loc" itemLabel="#{loc.displayLanguage}" itemValue="#{loc.language}"/>
<p:ajax oncomplete="window.location.replace(window.location.href);"/>
</p:selectOneMenu>
</div>
</h:form>
</h:panelGroup>
-->
</ui:composition>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment