general.xhtml 1.65 KB
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:user="http://java.sun.com/jsf/composite/cditools/user"
	xmlns:tools="http://java.sun.com/jsf/composite/cditools">
<h:body>
	<ui:composition
		template="/layout/#{sessionHandler.fullscreen}/template.xhtml">
		<f:metadata>
			<f:viewParam name="userid" value="#{userView.userid}" />
			<f:event type="preRenderView" listener="#{userView.initView}" />
		</f:metadata>
		
		<ui:define name="topbar">
			<h:link outcome="/admin/info/index" class="userbackbutton" value="">
				<div>
					<img src="#{request.contextPath}/resources/style/blipview/img/arrow.png" />
					
				</div>
			</h:link>
		</ui:define>
		<ui:define name="content">

			<h:link outcome="/admin/info/shop" class="usertile" value="">
				<div>
					<img src="#{request.contextPath}/resources/style/blipview/img/shop.png" />
					<h:outputText value="#{i18n['infoview.shop']}" />
				</div>
				<f:param name="userid" value="#{userView.user.id}" />
			</h:link>
			
			<h:link outcome="/admin/info/computerplaces" class="usertile" value="">
				<div>
					<img src="#{request.contextPath}/resources/style/blipview/img/computer.png" />
					<h:outputText value="#{i18n['infoview.computerplace']}" />
				</div>
			</h:link>


		</ui:define>

		<ui:define name="sidebar">

			<user:tileview />

		</ui:define>

	</ui:composition>
</h:body>
</html>