adding widgets
[Evergreen.git] / Open-ILS / src / reporter / templates / widgets / specific-timerange.month
1 [%
2
3 USE date;
4 USE start = DateTime(now = 1);
5 USE end = DateTime(now = 1);
6
7 PROCESS inputs;
8
9 WRAPPER html/table ;
10         WRAPPER html/row;
11                 INCLUDE html/cell colspan=2 align='center' content='Start time';
12         END;
13
14         WRAPPER html/row;
15                 INCLUDE html/cell content='Year';
16                 INCLUDE html/cell content='Month';
17         END;
18
19         WRAPPER html/row;
20                 WRAPPER html/cell;
21                         INCLUDE text name=input_prefix _ ':start:year' size=4 value=start.year;
22                 END;
23                 WRAPPER html/cell;
24                         INCLUDE text name=input_prefix _ ':start:month' size=4 value=start.month;
25                 END;
26         END;
27
28         WRAPPER html/row;
29                 INCLUDE html/cell colspan=2 align='center' content='End time';
30         END;
31
32         WRAPPER html/row;
33                 INCLUDE html/cell content='Year';
34                 INCLUDE html/cell content='Month';
35         END;
36
37         WRAPPER html/row;
38                 WRAPPER html/cell;
39                         INCLUDE text name=input_prefix _ ':end:year' size=4 value=end.year;
40                 END;
41                 WRAPPER html/cell;
42                         INCLUDE text name=input_prefix _ ':end:month' size=4 value=end.month;
43                 END;
44         END;
45 END;
46
47 %]