oldcal.xhtml
2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!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"> </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>