ecc57d439692dcb21464b0b7546296d9809d1fae
[Evergreen.git] / Open-ILS / src / reporter / widgets.example.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <widgets>
3         
4         <!-- String selection from user input -->
5         <widget-family name="string-input" datatype="text">
6                 <label>String matching from user input</label>
7         
8                 <widget name="exact">
9                         <label>Exactly match a user supplied string</label>
10                         <description>
11                                 This widget filters a column based on an exact string
12                                 match.
13                         </description>
14                 </widget>
15         
16                 <widget name="multistring">
17                         <label>Exactly match one of several user supplied strings</label>
18                         <description>
19                                 This widget filters a column based on an set of strings.
20                         </description>
21                 </widget>
22         
23                 <widget name="initial-substring">
24                         <label>Match the begining of a string from user input</label>
25                         <description>
26                                 This widget filters a column based on an initial substring
27                                 match.
28                         </description>
29                 </widget>
30         </widget-family>
31         
32         
33         <!-- String selection from in-database data -->
34         <widget-family name="string-choose" datatype="text">
35                 <label>String filter from known data</label>
36         
37                 <widget name="dropdown">
38                         <label>Exactly match a string chosen from a dropdown</label>
39                         <description>
40                                 This widget filters a column based on an exact string match.
41                         </description>
42                 </widget>
43                 
44                 <widget name="multiselect">
45                         <label>Match multiple strings chosen from a multiselect box</label>
46                         <description>
47                                 This widget filters a column based on multiple strings.
48                         </description>
49                 </widget>
50         </widget-family>
51         
52         
53         <!-- Specific time range selection family -->
54         <widget-family name="specifc-timerange" datatype="timestamptz">
55                 <label>Specific time-range widgets</label>
56         
57                 <widget name="any">
58                         <label>User defined time range</label>
59                         <description>
60                                 This widget allows the user to pick an arbitrary time range
61                                 on which to report.
62                         </description>
63                 </widget>
64                 
65                 <widget name="day">
66                         <label>Choose a specific date</label>
67                         <description>
68                                 This widget allows the user to pick a specific date on which
69                                 to report.
70                         </description>
71                 </widget>
72         
73                 <widget name="week">
74                         <label>Choose a specific week of the year</label>
75                         <description>
76                                 This widget allows the user to pick a specific week of the year
77                                 on which to report.
78                         </description>
79                 </widget>
80                 
81                 <widget name="multiweek">
82                         <label>Choose a range of weeks of the year</label>
83                         <description>
84                                 This widget allows the user to pick a range of weeks of the year
85                                 on which to report.
86                         </description>
87                 </widget>
88                 
89                 <widget name="month">
90                         <label>Choose a specific year and month</label>
91                         <description>
92                                 This widget allows the user to pick a specific year and month
93                                 on which to report.
94                         </description>
95                 </widget>
96                 
97                 <widget name="multimonth">
98                         <label>Choose a range of months</label>
99                         <description>
100                                 This widget allows the user to pick a range of month on which to
101                                 report.
102                         </description>
103                 </widget>
104                 
105                 <widget name="quarter">
106                         <label>Choose a specific year and quarter</label>
107                         <description>
108                                 This widget allows the user to pick a specific year and
109                                 quarter on which to report.
110                         </description>
111                 </widget>
112                 
113                 <widget name="multiquarter">
114                         <label>Choose a range of quarters</label>
115                         <description>
116                                 This widget allows the user to pick a range of quarter on which
117                                 to report.
118                         </description>
119                 </widget>
120                 
121                 <widget name="year">
122                         <label>Choose a specific year</label>
123                         <description>
124                                 This widget allows the user to pick a specific year on which to
125                                 report.
126                         </description>
127                 </widget>
128                 
129                 <widget name="multiyear">
130                         <label>Choose a range of years</label>
131                         <description>
132                                 This widget allows the user to pick a range of years on which to
133                                 report.
134                         </description>
135                 </widget>
136         </widget-family>
137         
138         <!-- Specific time range selection family -->
139         <widget-family name="relative-timerange" datatype="timestamptz">
140                 <label>Relative time-range widgets</label>
141                 
142                 <widget name="day">
143                         <label>Choose a date relative to the report runtime</label>
144                         <description>
145                                 This widget allows the user to pick a date relative to the
146                                 report runtime on which to report.
147                         </description>
148                 </widget>
149                 
150                 <widget name="week">
151                         <label>Choose a week (sun-sat) relative to the report runtime</label>
152                         <description>
153                                 This widget allows the user to pick a week (sun-sat)  relative
154                                 to the report runtime on which to report.
155                         </description>
156                 </widget>
157                 
158                 <widget name="month">
159                         <label>Choose a month relative to the report runtime</label>
160                         <description>
161                                 This widget allows the user to pick a month relative to the
162                                 report runtime on which to report.
163                         </description>
164                 </widget>
165                 
166                 <widget name="quarter">
167                         <label>Choose a quarter relative to the report runtime</label>
168                         <description>
169                                 This widget allows the user to pick a quarter relative to the
170                                 report runtime on which to report.
171                         </description>
172                 </widget>
173                 
174                 <widget name="year">
175                         <label>Choose a year relative to the report runtime</label>
176                         <description>
177                                 This widget allows the user to pick a year relative to the
178                                 report runtime on which to report.
179                         </description>
180                 </widget>
181         </widget-family>
182 </widgets>
183