oldcal.xhtml 2.5 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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:tools="http://java.sun.com/jsf/composite/tools">
<h:head>
	<title></title>

</h:head>
<h:body>
	<ui:composition template="/layout/template.xhtml">
		<ui:define name="content">
		#{calendarView.initLoc()}
	<h:outputText value="#{sessionHandler.getDynatext('calendar-top')}" escape="false" />
			<table border="0" class="dateformtable">
				<tr>
					<td id="datepickedcell">
					<h:outputScript target="head" library="script" name="jquery.min.js" />
					 <h:outputScript target="head" library="script" name="clockscript.js" />

					<div class="clock bigclock">&nbsp;</div>

					<tools:dateselect id="dselect" submitaction="#{calendarView.sendDate()}" datefield="#{calendarView.currentDate}" /></td>
					<td>
					<h2><h:outputText value="#{calendarView.currentDate.time}">
						<f:convertDateTime timeZone="#{userprefs.timezone}" pattern="#{sessionHandler.datePattern}" />
					</h:outputText></h2>
					<h1>Alakerta</h1>
					
					<tools:locationDaytable colstart="0" colend="9" actionview="#{calendarView}" colname='lyontipaikat'
						rows="#{calendarView.getFormattedTimestuff('lyontipaikat').rows}"
						cols="#{calendarView.getFormattedTimestuff('lyontipaikat').locations}" /></td>
				</tr>
				<tr>
					<td>
					<h2><h:outputText value="#{calendarView.currentDate.time}">
						<f:convertDateTime timeZone="#{userprefs.timezone}" pattern="#{sessionHandler.datePattern}" />
					</h:outputText></h2>
					<h1>Simulaattori</h1>
					<tools:locationDaytable colstart="0" colend="1" actionview="#{calendarView}" colname='simulaattori'
						rows="#{calendarView.getFormattedTimestuff('simulaattori').rows}"
						cols="#{calendarView.getFormattedTimestuff('simulaattori').locations}" /></td>
					<td>
					<h2><h:outputText value="#{calendarView.currentDate.time}">
						<f:convertDateTime timeZone="#{userprefs.timezone}" pattern="#{sessionHandler.datePattern}" />
					</h:outputText></h2>
					<h1>Yläkerta</h1>
					<tools:locationDaytable colstart="10" colend="19" actionview="#{calendarView}" colname='lyontipaikat'
						rows="#{calendarView.getFormattedTimestuff('lyontipaikat').rows}"
						cols="#{calendarView.getFormattedTimestuff('lyontipaikat').locations}" /></td>
				</tr>
			</table>
		</ui:define>
	</ui:composition>
</h:body>
</html>