adding mike's widgets
[working/Evergreen.git] / Open-ILS / src / reporter / templates / widgets / specific-timerange.multiquarter
1 [%
2
3 USE date;
4 USE start = DateTime(now = 1);
5
6 PROCESS inputs;
7
8 WRAPPER html/table ;
9
10         WRAPPER html/row;
11                 INCLUDE html/cell content='Year';
12                 INCLUDE html/cell content='Quarter';
13         END;
14
15         WRAPPER html/row;
16                 WRAPPER html/cell;
17                         INCLUDE text name=input_prefix _ ':year' size=4 value=start.year;
18                 END;
19                 WRAPPER html/cell;
20                         WRAPPER select name=input_prefix _ ':quarter';
21                                 FOR i IN [1,2,3,4];
22                                         INCLUDE option value=i;
23                                 END;
24                         END;
25                 END;
26                 WRAPPER html/cell;
27                         'For ';
28                         INCLUDE text name=input_prefix _ ':quarter-count' value=2;
29                         ' quarters';
30                 END;
31         END;
32
33 END;
34
35 %]