calendariffic 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +21 -0
- data/README +76 -0
- data/Rakefile +175 -0
- data/assets/images/calendariffic/calendar.png +0 -0
- data/assets/images/calendariffic/date.png +0 -0
- data/assets/images/calendariffic/date_add.png +0 -0
- data/assets/images/calendariffic/date_delete.png +0 -0
- data/assets/images/calendariffic/date_edit.png +0 -0
- data/assets/images/calendariffic/date_error.png +0 -0
- data/assets/images/calendariffic/date_go.png +0 -0
- data/assets/images/calendariffic/date_link.png +0 -0
- data/assets/images/calendariffic/date_magnify.png +0 -0
- data/assets/images/calendariffic/date_next.png +0 -0
- data/assets/images/calendariffic/date_previous.png +0 -0
- data/assets/images/calendariffic/img.gif +0 -0
- data/assets/images/calendariffic/menuarrow.gif +0 -0
- data/assets/images/calendariffic/menuarrow2.gif +0 -0
- data/assets/images/calendariffic/skins/aqua/active-bg.gif +0 -0
- data/assets/images/calendariffic/skins/aqua/dark-bg.gif +0 -0
- data/assets/images/calendariffic/skins/aqua/hover-bg.gif +0 -0
- data/assets/images/calendariffic/skins/aqua/menuarrow.gif +0 -0
- data/assets/images/calendariffic/skins/aqua/normal-bg.gif +0 -0
- data/assets/images/calendariffic/skins/aqua/rowhover-bg.gif +0 -0
- data/assets/images/calendariffic/skins/aqua/status-bg.gif +0 -0
- data/assets/images/calendariffic/skins/aqua/theme.css +236 -0
- data/assets/images/calendariffic/skins/aqua/title-bg.gif +0 -0
- data/assets/images/calendariffic/skins/aqua/today-bg.gif +0 -0
- data/assets/javascripts/calendariffic/ChangeLog +761 -0
- data/assets/javascripts/calendariffic/README +33 -0
- data/assets/javascripts/calendariffic/calendar-setup.js +211 -0
- data/assets/javascripts/calendariffic/calendar-setup_stripped.js +21 -0
- data/assets/javascripts/calendariffic/calendar.js +1799 -0
- data/assets/javascripts/calendariffic/calendar_stripped.js +14 -0
- data/assets/javascripts/calendariffic/doc/html/field-button.jpg +0 -0
- data/assets/javascripts/calendariffic/doc/html/reference-Z-S.css +193 -0
- data/assets/javascripts/calendariffic/doc/html/reference.css +34 -0
- data/assets/javascripts/calendariffic/doc/html/reference.html +1738 -0
- data/assets/javascripts/calendariffic/doc/reference.pdf +0 -0
- data/assets/javascripts/calendariffic/lang/calendar-af.js +44 -0
- data/assets/javascripts/calendariffic/lang/calendar-al.js +106 -0
- data/assets/javascripts/calendariffic/lang/calendar-bg.js +129 -0
- data/assets/javascripts/calendariffic/lang/calendar-big5-utf8.js +128 -0
- data/assets/javascripts/calendariffic/lang/calendar-big5.js +128 -0
- data/assets/javascripts/calendariffic/lang/calendar-br.js +113 -0
- data/assets/javascripts/calendariffic/lang/calendar-ca.js +128 -0
- data/assets/javascripts/calendariffic/lang/calendar-cs-utf8.js +71 -0
- data/assets/javascripts/calendariffic/lang/calendar-cs-win.js +71 -0
- data/assets/javascripts/calendariffic/lang/calendar-da.js +128 -0
- data/assets/javascripts/calendariffic/lang/calendar-de.js +128 -0
- data/assets/javascripts/calendariffic/lang/calendar-du.js +50 -0
- data/assets/javascripts/calendariffic/lang/calendar-el.js +94 -0
- data/assets/javascripts/calendariffic/lang/calendar-en.js +127 -0
- data/assets/javascripts/calendariffic/lang/calendar-es.js +129 -0
- data/assets/javascripts/calendariffic/lang/calendar-fi.js +103 -0
- data/assets/javascripts/calendariffic/lang/calendar-fr.js +130 -0
- data/assets/javascripts/calendariffic/lang/calendar-he-utf8.js +128 -0
- data/assets/javascripts/calendariffic/lang/calendar-hr-utf8.js +54 -0
- data/assets/javascripts/calendariffic/lang/calendar-hr.js +0 -0
- data/assets/javascripts/calendariffic/lang/calendar-hu.js +129 -0
- data/assets/javascripts/calendariffic/lang/calendar-it.js +129 -0
- data/assets/javascripts/calendariffic/lang/calendar-jp.js +50 -0
- data/assets/javascripts/calendariffic/lang/calendar-ko-utf8.js +125 -0
- data/assets/javascripts/calendariffic/lang/calendar-ko.js +125 -0
- data/assets/javascripts/calendariffic/lang/calendar-lt-utf8.js +119 -0
- data/assets/javascripts/calendariffic/lang/calendar-lt.js +119 -0
- data/assets/javascripts/calendariffic/lang/calendar-lv.js +128 -0
- data/assets/javascripts/calendariffic/lang/calendar-nl.js +79 -0
- data/assets/javascripts/calendariffic/lang/calendar-no.js +119 -0
- data/assets/javascripts/calendariffic/lang/calendar-pl-utf8.js +100 -0
- data/assets/javascripts/calendariffic/lang/calendar-pl.js +61 -0
- data/assets/javascripts/calendariffic/lang/calendar-pt.js +128 -0
- data/assets/javascripts/calendariffic/lang/calendar-ro.js +71 -0
- data/assets/javascripts/calendariffic/lang/calendar-ru.js +128 -0
- data/assets/javascripts/calendariffic/lang/calendar-ru_win_.js +128 -0
- data/assets/javascripts/calendariffic/lang/calendar-si.js +101 -0
- data/assets/javascripts/calendariffic/lang/calendar-sk.js +104 -0
- data/assets/javascripts/calendariffic/lang/calendar-sp.js +115 -0
- data/assets/javascripts/calendariffic/lang/calendar-sv.js +98 -0
- data/assets/javascripts/calendariffic/lang/calendar-tr.js +63 -0
- data/assets/javascripts/calendariffic/lang/calendar-zh.js +124 -0
- data/assets/javascripts/calendariffic/lang/cn_utf8.js +128 -0
- data/assets/stylesheets/calendariffic/calendar-blue.css +232 -0
- data/assets/stylesheets/calendariffic/calendar-blue2.css +236 -0
- data/assets/stylesheets/calendariffic/calendar-brown.css +225 -0
- data/assets/stylesheets/calendariffic/calendar-green.css +229 -0
- data/assets/stylesheets/calendariffic/calendar-system.css +251 -0
- data/assets/stylesheets/calendariffic/calendar-tas.css +239 -0
- data/assets/stylesheets/calendariffic/calendar-win2k-1.css +271 -0
- data/assets/stylesheets/calendariffic/calendar-win2k-2.css +271 -0
- data/assets/stylesheets/calendariffic/calendar-win2k-cold-1.css +265 -0
- data/assets/stylesheets/calendariffic/calendar-win2k-cold-2.css +271 -0
- data/calendariffic.gemspec +167 -0
- data/doc/created.rid +1 -0
- data/doc/files/README.html +263 -0
- data/doc/fr_class_index.html +27 -0
- data/doc/fr_file_index.html +28 -0
- data/doc/fr_method_index.html +27 -0
- data/doc/index.html +24 -0
- data/doc/rdoc-style.css +208 -0
- data/init.rb +2 -0
- data/install.rb +6 -0
- data/lib/calendariffic.rb +73 -0
- data/rails/init.rb +1 -0
- data/tasks/calendariffic_tasks.rake +4 -0
- data/test/calendariffic_test.rb +8 -0
- data/uninstall.rb +1 -0
- metadata +181 -0
@@ -0,0 +1,265 @@
|
|
1
|
+
/* The main calendar widget. DIV containing a table. */
|
2
|
+
|
3
|
+
.calendar {
|
4
|
+
position: relative;
|
5
|
+
display: none;
|
6
|
+
border-top: 2px solid #fff;
|
7
|
+
border-right: 2px solid #000;
|
8
|
+
border-bottom: 2px solid #000;
|
9
|
+
border-left: 2px solid #fff;
|
10
|
+
font-size: 11px;
|
11
|
+
color: #000;
|
12
|
+
cursor: default;
|
13
|
+
background: #c8d0d4;
|
14
|
+
font-family: tahoma,verdana,sans-serif;
|
15
|
+
}
|
16
|
+
|
17
|
+
.calendar table {
|
18
|
+
border-top: 1px solid #000;
|
19
|
+
border-right: 1px solid #fff;
|
20
|
+
border-bottom: 1px solid #fff;
|
21
|
+
border-left: 1px solid #000;
|
22
|
+
font-size: 11px;
|
23
|
+
color: #000;
|
24
|
+
cursor: default;
|
25
|
+
background: #c8d0d4;
|
26
|
+
font-family: tahoma,verdana,sans-serif;
|
27
|
+
}
|
28
|
+
|
29
|
+
/* Header part -- contains navigation buttons and day names. */
|
30
|
+
|
31
|
+
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
|
32
|
+
text-align: center;
|
33
|
+
padding: 1px;
|
34
|
+
border-top: 1px solid #fff;
|
35
|
+
border-right: 1px solid #000;
|
36
|
+
border-bottom: 1px solid #000;
|
37
|
+
border-left: 1px solid #fff;
|
38
|
+
}
|
39
|
+
|
40
|
+
.calendar .nav {
|
41
|
+
background: transparent url(menuarrow.gif) no-repeat 100% 100%;
|
42
|
+
}
|
43
|
+
|
44
|
+
.calendar thead .title { /* This holds the current "month, year" */
|
45
|
+
font-weight: bold;
|
46
|
+
padding: 1px;
|
47
|
+
border: 1px solid #000;
|
48
|
+
background: #788084;
|
49
|
+
color: #fff;
|
50
|
+
text-align: center;
|
51
|
+
}
|
52
|
+
|
53
|
+
.calendar thead .headrow { /* Row <TR> containing navigation buttons */
|
54
|
+
}
|
55
|
+
|
56
|
+
.calendar thead .daynames { /* Row <TR> containing the day names */
|
57
|
+
}
|
58
|
+
|
59
|
+
.calendar thead .name { /* Cells <TD> containing the day names */
|
60
|
+
border-bottom: 1px solid #000;
|
61
|
+
padding: 2px;
|
62
|
+
text-align: center;
|
63
|
+
background: #e8f0f4;
|
64
|
+
}
|
65
|
+
|
66
|
+
.calendar thead .weekend { /* How a weekend day name shows in header */
|
67
|
+
color: #f00;
|
68
|
+
}
|
69
|
+
|
70
|
+
.calendar thead .hilite { /* How do the buttons in header appear when hover */
|
71
|
+
border-top: 2px solid #fff;
|
72
|
+
border-right: 2px solid #000;
|
73
|
+
border-bottom: 2px solid #000;
|
74
|
+
border-left: 2px solid #fff;
|
75
|
+
padding: 0px;
|
76
|
+
background-color: #d8e0e4;
|
77
|
+
}
|
78
|
+
|
79
|
+
.calendar thead .active { /* Active (pressed) buttons in header */
|
80
|
+
padding: 2px 0px 0px 2px;
|
81
|
+
border-top: 1px solid #000;
|
82
|
+
border-right: 1px solid #fff;
|
83
|
+
border-bottom: 1px solid #fff;
|
84
|
+
border-left: 1px solid #000;
|
85
|
+
background-color: #b8c0c4;
|
86
|
+
}
|
87
|
+
|
88
|
+
/* The body part -- contains all the days in month. */
|
89
|
+
|
90
|
+
.calendar tbody .day { /* Cells <TD> containing month days dates */
|
91
|
+
width: 2em;
|
92
|
+
text-align: right;
|
93
|
+
padding: 2px 4px 2px 2px;
|
94
|
+
}
|
95
|
+
.calendar tbody .day.othermonth {
|
96
|
+
font-size: 80%;
|
97
|
+
color: #aaa;
|
98
|
+
}
|
99
|
+
.calendar tbody .day.othermonth.oweekend {
|
100
|
+
color: #faa;
|
101
|
+
}
|
102
|
+
|
103
|
+
.calendar table .wn {
|
104
|
+
padding: 2px 3px 2px 2px;
|
105
|
+
border-right: 1px solid #000;
|
106
|
+
background: #e8f4f0;
|
107
|
+
}
|
108
|
+
|
109
|
+
.calendar tbody .rowhilite td {
|
110
|
+
background: #d8e4e0;
|
111
|
+
}
|
112
|
+
|
113
|
+
.calendar tbody .rowhilite td.wn {
|
114
|
+
background: #c8d4d0;
|
115
|
+
}
|
116
|
+
|
117
|
+
.calendar tbody td.hilite { /* Hovered cells <TD> */
|
118
|
+
padding: 1px 3px 1px 1px;
|
119
|
+
border: 1px solid;
|
120
|
+
border-color: #fff #000 #000 #fff;
|
121
|
+
}
|
122
|
+
|
123
|
+
.calendar tbody td.active { /* Active (pressed) cells <TD> */
|
124
|
+
padding: 2px 2px 0px 2px;
|
125
|
+
border: 1px solid;
|
126
|
+
border-color: #000 #fff #fff #000;
|
127
|
+
}
|
128
|
+
|
129
|
+
.calendar tbody td.selected { /* Cell showing selected date */
|
130
|
+
font-weight: bold;
|
131
|
+
padding: 2px 2px 0px 2px;
|
132
|
+
border: 1px solid;
|
133
|
+
border-color: #000 #fff #fff #000;
|
134
|
+
background: #d8e0e4;
|
135
|
+
}
|
136
|
+
|
137
|
+
.calendar tbody td.weekend { /* Cells showing weekend days */
|
138
|
+
color: #f00;
|
139
|
+
}
|
140
|
+
|
141
|
+
.calendar tbody td.today { /* Cell showing today date */
|
142
|
+
font-weight: bold;
|
143
|
+
color: #00f;
|
144
|
+
}
|
145
|
+
|
146
|
+
.calendar tbody .disabled { color: #999; }
|
147
|
+
|
148
|
+
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
|
149
|
+
visibility: hidden;
|
150
|
+
}
|
151
|
+
|
152
|
+
.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
|
153
|
+
display: none;
|
154
|
+
}
|
155
|
+
|
156
|
+
/* The footer part -- status bar and "Close" button */
|
157
|
+
|
158
|
+
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
|
159
|
+
}
|
160
|
+
|
161
|
+
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
|
162
|
+
background: #e8f0f4;
|
163
|
+
padding: 1px;
|
164
|
+
border: 1px solid #000;
|
165
|
+
background: #788084;
|
166
|
+
color: #fff;
|
167
|
+
text-align: center;
|
168
|
+
}
|
169
|
+
|
170
|
+
.calendar tfoot .hilite { /* Hover style for buttons in footer */
|
171
|
+
border-top: 1px solid #fff;
|
172
|
+
border-right: 1px solid #000;
|
173
|
+
border-bottom: 1px solid #000;
|
174
|
+
border-left: 1px solid #fff;
|
175
|
+
padding: 1px;
|
176
|
+
background: #d8e0e4;
|
177
|
+
}
|
178
|
+
|
179
|
+
.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
|
180
|
+
padding: 2px 0px 0px 2px;
|
181
|
+
border-top: 1px solid #000;
|
182
|
+
border-right: 1px solid #fff;
|
183
|
+
border-bottom: 1px solid #fff;
|
184
|
+
border-left: 1px solid #000;
|
185
|
+
}
|
186
|
+
|
187
|
+
/* Combo boxes (menus that display months/years for direct selection) */
|
188
|
+
|
189
|
+
.calendar .combo {
|
190
|
+
position: absolute;
|
191
|
+
display: none;
|
192
|
+
width: 4em;
|
193
|
+
top: 0px;
|
194
|
+
left: 0px;
|
195
|
+
cursor: default;
|
196
|
+
border-top: 1px solid #fff;
|
197
|
+
border-right: 1px solid #000;
|
198
|
+
border-bottom: 1px solid #000;
|
199
|
+
border-left: 1px solid #fff;
|
200
|
+
background: #d8e0e4;
|
201
|
+
font-size: 90%;
|
202
|
+
padding: 1px;
|
203
|
+
z-index: 100;
|
204
|
+
}
|
205
|
+
|
206
|
+
.calendar .combo .label,
|
207
|
+
.calendar .combo .label-IEfix {
|
208
|
+
text-align: center;
|
209
|
+
padding: 1px;
|
210
|
+
}
|
211
|
+
|
212
|
+
.calendar .combo .label-IEfix {
|
213
|
+
width: 4em;
|
214
|
+
}
|
215
|
+
|
216
|
+
.calendar .combo .active {
|
217
|
+
background: #c8d0d4;
|
218
|
+
padding: 0px;
|
219
|
+
border-top: 1px solid #000;
|
220
|
+
border-right: 1px solid #fff;
|
221
|
+
border-bottom: 1px solid #fff;
|
222
|
+
border-left: 1px solid #000;
|
223
|
+
}
|
224
|
+
|
225
|
+
.calendar .combo .hilite {
|
226
|
+
background: #048;
|
227
|
+
color: #aef;
|
228
|
+
}
|
229
|
+
|
230
|
+
.calendar td.time {
|
231
|
+
border-top: 1px solid #000;
|
232
|
+
padding: 1px 0px;
|
233
|
+
text-align: center;
|
234
|
+
background-color: #e8f0f4;
|
235
|
+
}
|
236
|
+
|
237
|
+
.calendar td.time .hour,
|
238
|
+
.calendar td.time .minute,
|
239
|
+
.calendar td.time .ampm {
|
240
|
+
padding: 0px 3px 0px 4px;
|
241
|
+
border: 1px solid #889;
|
242
|
+
font-weight: bold;
|
243
|
+
background-color: #fff;
|
244
|
+
}
|
245
|
+
|
246
|
+
.calendar td.time .ampm {
|
247
|
+
text-align: center;
|
248
|
+
}
|
249
|
+
|
250
|
+
.calendar td.time .colon {
|
251
|
+
padding: 0px 2px 0px 3px;
|
252
|
+
font-weight: bold;
|
253
|
+
}
|
254
|
+
|
255
|
+
.calendar td.time span.hilite {
|
256
|
+
border-color: #000;
|
257
|
+
background-color: #667;
|
258
|
+
color: #fff;
|
259
|
+
}
|
260
|
+
|
261
|
+
.calendar td.time span.active {
|
262
|
+
border-color: #f00;
|
263
|
+
background-color: #000;
|
264
|
+
color: #0f0;
|
265
|
+
}
|
@@ -0,0 +1,271 @@
|
|
1
|
+
/* The main calendar widget. DIV containing a table. */
|
2
|
+
|
3
|
+
.calendar {
|
4
|
+
position: relative;
|
5
|
+
display: none;
|
6
|
+
border-top: 2px solid #fff;
|
7
|
+
border-right: 2px solid #000;
|
8
|
+
border-bottom: 2px solid #000;
|
9
|
+
border-left: 2px solid #fff;
|
10
|
+
font-size: 11px;
|
11
|
+
color: #000;
|
12
|
+
cursor: default;
|
13
|
+
background: #c8d4d0;
|
14
|
+
font-family: tahoma,verdana,sans-serif;
|
15
|
+
}
|
16
|
+
|
17
|
+
.calendar table {
|
18
|
+
border-top: 1px solid #000;
|
19
|
+
border-right: 1px solid #fff;
|
20
|
+
border-bottom: 1px solid #fff;
|
21
|
+
border-left: 1px solid #000;
|
22
|
+
font-size: 11px;
|
23
|
+
color: #000;
|
24
|
+
cursor: default;
|
25
|
+
background: #c8d4d0;
|
26
|
+
font-family: tahoma,verdana,sans-serif;
|
27
|
+
}
|
28
|
+
|
29
|
+
/* Header part -- contains navigation buttons and day names. */
|
30
|
+
|
31
|
+
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
|
32
|
+
text-align: center;
|
33
|
+
padding: 1px;
|
34
|
+
border-top: 1px solid #fff;
|
35
|
+
border-right: 1px solid #000;
|
36
|
+
border-bottom: 1px solid #000;
|
37
|
+
border-left: 1px solid #fff;
|
38
|
+
}
|
39
|
+
|
40
|
+
.calendar .nav {
|
41
|
+
background: transparent url(menuarrow.gif) no-repeat 100% 100%;
|
42
|
+
}
|
43
|
+
|
44
|
+
.calendar thead .title { /* This holds the current "month, year" */
|
45
|
+
font-weight: bold;
|
46
|
+
padding: 1px;
|
47
|
+
border: 1px solid #000;
|
48
|
+
background: #788480;
|
49
|
+
color: #fff;
|
50
|
+
text-align: center;
|
51
|
+
}
|
52
|
+
|
53
|
+
.calendar thead .headrow { /* Row <TR> containing navigation buttons */
|
54
|
+
}
|
55
|
+
|
56
|
+
.calendar thead .daynames { /* Row <TR> containing the day names */
|
57
|
+
}
|
58
|
+
|
59
|
+
.calendar thead .name { /* Cells <TD> containing the day names */
|
60
|
+
border-bottom: 1px solid #000;
|
61
|
+
padding: 2px;
|
62
|
+
text-align: center;
|
63
|
+
background: #e8f4f0;
|
64
|
+
}
|
65
|
+
|
66
|
+
.calendar thead .weekend { /* How a weekend day name shows in header */
|
67
|
+
color: #f00;
|
68
|
+
}
|
69
|
+
|
70
|
+
.calendar thead .hilite { /* How do the buttons in header appear when hover */
|
71
|
+
border-top: 2px solid #fff;
|
72
|
+
border-right: 2px solid #000;
|
73
|
+
border-bottom: 2px solid #000;
|
74
|
+
border-left: 2px solid #fff;
|
75
|
+
padding: 0px;
|
76
|
+
background-color: #d8e4e0;
|
77
|
+
}
|
78
|
+
|
79
|
+
.calendar thead .active { /* Active (pressed) buttons in header */
|
80
|
+
padding: 2px 0px 0px 2px;
|
81
|
+
border-top: 1px solid #000;
|
82
|
+
border-right: 1px solid #fff;
|
83
|
+
border-bottom: 1px solid #fff;
|
84
|
+
border-left: 1px solid #000;
|
85
|
+
background-color: #b8c4c0;
|
86
|
+
}
|
87
|
+
|
88
|
+
/* The body part -- contains all the days in month. */
|
89
|
+
|
90
|
+
.calendar tbody .day { /* Cells <TD> containing month days dates */
|
91
|
+
width: 2em;
|
92
|
+
text-align: right;
|
93
|
+
padding: 2px 4px 2px 2px;
|
94
|
+
}
|
95
|
+
.calendar tbody .day.othermonth {
|
96
|
+
font-size: 80%;
|
97
|
+
color: #aaa;
|
98
|
+
}
|
99
|
+
.calendar tbody .day.othermonth.oweekend {
|
100
|
+
color: #faa;
|
101
|
+
}
|
102
|
+
|
103
|
+
.calendar table .wn {
|
104
|
+
padding: 2px 3px 2px 2px;
|
105
|
+
border-right: 1px solid #000;
|
106
|
+
background: #e8f4f0;
|
107
|
+
}
|
108
|
+
|
109
|
+
.calendar tbody .rowhilite td {
|
110
|
+
background: #d8e4e0;
|
111
|
+
}
|
112
|
+
|
113
|
+
.calendar tbody .rowhilite td.wn {
|
114
|
+
background: #c8d4d0;
|
115
|
+
}
|
116
|
+
|
117
|
+
.calendar tbody td.hilite { /* Hovered cells <TD> */
|
118
|
+
padding: 1px 3px 1px 1px;
|
119
|
+
border-top: 1px solid #fff;
|
120
|
+
border-right: 1px solid #000;
|
121
|
+
border-bottom: 1px solid #000;
|
122
|
+
border-left: 1px solid #fff;
|
123
|
+
}
|
124
|
+
|
125
|
+
.calendar tbody td.active { /* Active (pressed) cells <TD> */
|
126
|
+
padding: 2px 2px 0px 2px;
|
127
|
+
border-top: 1px solid #000;
|
128
|
+
border-right: 1px solid #fff;
|
129
|
+
border-bottom: 1px solid #fff;
|
130
|
+
border-left: 1px solid #000;
|
131
|
+
}
|
132
|
+
|
133
|
+
.calendar tbody td.selected { /* Cell showing selected date */
|
134
|
+
font-weight: bold;
|
135
|
+
border-top: 1px solid #000;
|
136
|
+
border-right: 1px solid #fff;
|
137
|
+
border-bottom: 1px solid #fff;
|
138
|
+
border-left: 1px solid #000;
|
139
|
+
padding: 2px 2px 0px 2px;
|
140
|
+
background: #d8e4e0;
|
141
|
+
}
|
142
|
+
|
143
|
+
.calendar tbody td.weekend { /* Cells showing weekend days */
|
144
|
+
color: #f00;
|
145
|
+
}
|
146
|
+
|
147
|
+
.calendar tbody td.today { /* Cell showing today date */
|
148
|
+
font-weight: bold;
|
149
|
+
color: #00f;
|
150
|
+
}
|
151
|
+
|
152
|
+
.calendar tbody .disabled { color: #999; }
|
153
|
+
|
154
|
+
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
|
155
|
+
visibility: hidden;
|
156
|
+
}
|
157
|
+
|
158
|
+
.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
|
159
|
+
display: none;
|
160
|
+
}
|
161
|
+
|
162
|
+
/* The footer part -- status bar and "Close" button */
|
163
|
+
|
164
|
+
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
|
165
|
+
}
|
166
|
+
|
167
|
+
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
|
168
|
+
background: #e8f4f0;
|
169
|
+
padding: 1px;
|
170
|
+
border: 1px solid #000;
|
171
|
+
background: #788480;
|
172
|
+
color: #fff;
|
173
|
+
text-align: center;
|
174
|
+
}
|
175
|
+
|
176
|
+
.calendar tfoot .hilite { /* Hover style for buttons in footer */
|
177
|
+
border-top: 1px solid #fff;
|
178
|
+
border-right: 1px solid #000;
|
179
|
+
border-bottom: 1px solid #000;
|
180
|
+
border-left: 1px solid #fff;
|
181
|
+
padding: 1px;
|
182
|
+
background: #d8e4e0;
|
183
|
+
}
|
184
|
+
|
185
|
+
.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
|
186
|
+
padding: 2px 0px 0px 2px;
|
187
|
+
border-top: 1px solid #000;
|
188
|
+
border-right: 1px solid #fff;
|
189
|
+
border-bottom: 1px solid #fff;
|
190
|
+
border-left: 1px solid #000;
|
191
|
+
}
|
192
|
+
|
193
|
+
/* Combo boxes (menus that display months/years for direct selection) */
|
194
|
+
|
195
|
+
.calendar .combo {
|
196
|
+
position: absolute;
|
197
|
+
display: none;
|
198
|
+
width: 4em;
|
199
|
+
top: 0px;
|
200
|
+
left: 0px;
|
201
|
+
cursor: default;
|
202
|
+
border-top: 1px solid #fff;
|
203
|
+
border-right: 1px solid #000;
|
204
|
+
border-bottom: 1px solid #000;
|
205
|
+
border-left: 1px solid #fff;
|
206
|
+
background: #d8e4e0;
|
207
|
+
font-size: 90%;
|
208
|
+
padding: 1px;
|
209
|
+
z-index: 100;
|
210
|
+
}
|
211
|
+
|
212
|
+
.calendar .combo .label,
|
213
|
+
.calendar .combo .label-IEfix {
|
214
|
+
text-align: center;
|
215
|
+
padding: 1px;
|
216
|
+
}
|
217
|
+
|
218
|
+
.calendar .combo .label-IEfix {
|
219
|
+
width: 4em;
|
220
|
+
}
|
221
|
+
|
222
|
+
.calendar .combo .active {
|
223
|
+
background: #c8d4d0;
|
224
|
+
padding: 0px;
|
225
|
+
border-top: 1px solid #000;
|
226
|
+
border-right: 1px solid #fff;
|
227
|
+
border-bottom: 1px solid #fff;
|
228
|
+
border-left: 1px solid #000;
|
229
|
+
}
|
230
|
+
|
231
|
+
.calendar .combo .hilite {
|
232
|
+
background: #048;
|
233
|
+
color: #aef;
|
234
|
+
}
|
235
|
+
|
236
|
+
.calendar td.time {
|
237
|
+
border-top: 1px solid #000;
|
238
|
+
padding: 1px 0px;
|
239
|
+
text-align: center;
|
240
|
+
background-color: #e8f0f4;
|
241
|
+
}
|
242
|
+
|
243
|
+
.calendar td.time .hour,
|
244
|
+
.calendar td.time .minute,
|
245
|
+
.calendar td.time .ampm {
|
246
|
+
padding: 0px 3px 0px 4px;
|
247
|
+
border: 1px solid #889;
|
248
|
+
font-weight: bold;
|
249
|
+
background-color: #fff;
|
250
|
+
}
|
251
|
+
|
252
|
+
.calendar td.time .ampm {
|
253
|
+
text-align: center;
|
254
|
+
}
|
255
|
+
|
256
|
+
.calendar td.time .colon {
|
257
|
+
padding: 0px 2px 0px 3px;
|
258
|
+
font-weight: bold;
|
259
|
+
}
|
260
|
+
|
261
|
+
.calendar td.time span.hilite {
|
262
|
+
border-color: #000;
|
263
|
+
background-color: #667;
|
264
|
+
color: #fff;
|
265
|
+
}
|
266
|
+
|
267
|
+
.calendar td.time span.active {
|
268
|
+
border-color: #f00;
|
269
|
+
background-color: #000;
|
270
|
+
color: #0f0;
|
271
|
+
}
|
@@ -0,0 +1,167 @@
|
|
1
|
+
## This is the rakegem gemspec template. Make sure you read and understand
|
2
|
+
## all of the comments. Some sections require modification, and others can
|
3
|
+
## be deleted if you don't need them. Once you understand the contents of
|
4
|
+
## this file, feel free to delete any comments that begin with two hash marks.
|
5
|
+
## You can find comprehensive Gem::Specification documentation, at
|
6
|
+
## http://docs.rubygems.org/read/chapter/20
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.specification_version = 2 if s.respond_to? :specification_version=
|
9
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
10
|
+
s.rubygems_version = '1.3.5'
|
11
|
+
|
12
|
+
## Leave these as is they will be modified for you by the rake gemspec task.
|
13
|
+
## If your rubyforge_project name is different, then edit it and comment out
|
14
|
+
## the sub! line in the Rakefile
|
15
|
+
s.name = 'calendariffic'
|
16
|
+
s.version = '0.0.1'
|
17
|
+
s.date = '2012-02-08'
|
18
|
+
s.rubyforge_project = 'calendariffic'
|
19
|
+
|
20
|
+
## Make sure your summary is short. The description may be as long
|
21
|
+
## as you like.
|
22
|
+
s.summary = "Calendar gem giving ActionView calendar helper."
|
23
|
+
s.description = "This gems provides some helpers for ActionView to
|
24
|
+
make creating calendar helpers in forms easier."
|
25
|
+
|
26
|
+
## List the primary authors. If there are a bunch of authors, it's probably
|
27
|
+
## better to set the email to an email list or something. If you don't have
|
28
|
+
## a custom homepage, consider using your GitHub URL or the like.
|
29
|
+
s.authors = ["Michael Noack"]
|
30
|
+
s.email = 'michael@noack.com.au'
|
31
|
+
s.homepage = 'http://github.com/mnoack/calendariffic'
|
32
|
+
|
33
|
+
## This gets added to the $LOAD_PATH so that 'lib/NAME.rb' can be required as
|
34
|
+
## require 'NAME.rb' or'/lib/NAME/file.rb' can be as require 'NAME/file.rb'
|
35
|
+
s.require_paths = %w[lib]
|
36
|
+
|
37
|
+
## Specify any RDoc options here. You'll want to add your README and
|
38
|
+
## LICENSE files to the extra_rdoc_files list.
|
39
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
40
|
+
s.extra_rdoc_files = %w[README LICENSE]
|
41
|
+
|
42
|
+
## List your runtime dependencies here. Runtime dependencies are those
|
43
|
+
## that are needed for an end user to actually USE your code.
|
44
|
+
s.add_dependency('activerecord', [">= 2.3.0"])
|
45
|
+
|
46
|
+
## List your development dependencies here. Development dependencies are
|
47
|
+
## those that are only needed during development
|
48
|
+
s.add_development_dependency('rspec', [">= 2.0.0", "< 3.0.0"])
|
49
|
+
|
50
|
+
## Leave this section as-is. It will be automatically generated from the
|
51
|
+
## contents of your Git repository via the gemspec task. DO NOT REMOVE
|
52
|
+
## THE MANIFEST COMMENTS, they are used as delimiters by the task.
|
53
|
+
# = MANIFEST =
|
54
|
+
s.files = %w[
|
55
|
+
LICENSE
|
56
|
+
README
|
57
|
+
Rakefile
|
58
|
+
assets/images/calendariffic/calendar.png
|
59
|
+
assets/images/calendariffic/date.png
|
60
|
+
assets/images/calendariffic/date_add.png
|
61
|
+
assets/images/calendariffic/date_delete.png
|
62
|
+
assets/images/calendariffic/date_edit.png
|
63
|
+
assets/images/calendariffic/date_error.png
|
64
|
+
assets/images/calendariffic/date_go.png
|
65
|
+
assets/images/calendariffic/date_link.png
|
66
|
+
assets/images/calendariffic/date_magnify.png
|
67
|
+
assets/images/calendariffic/date_next.png
|
68
|
+
assets/images/calendariffic/date_previous.png
|
69
|
+
assets/images/calendariffic/img.gif
|
70
|
+
assets/images/calendariffic/menuarrow.gif
|
71
|
+
assets/images/calendariffic/menuarrow2.gif
|
72
|
+
assets/images/calendariffic/skins/aqua/active-bg.gif
|
73
|
+
assets/images/calendariffic/skins/aqua/dark-bg.gif
|
74
|
+
assets/images/calendariffic/skins/aqua/hover-bg.gif
|
75
|
+
assets/images/calendariffic/skins/aqua/menuarrow.gif
|
76
|
+
assets/images/calendariffic/skins/aqua/normal-bg.gif
|
77
|
+
assets/images/calendariffic/skins/aqua/rowhover-bg.gif
|
78
|
+
assets/images/calendariffic/skins/aqua/status-bg.gif
|
79
|
+
assets/images/calendariffic/skins/aqua/theme.css
|
80
|
+
assets/images/calendariffic/skins/aqua/title-bg.gif
|
81
|
+
assets/images/calendariffic/skins/aqua/today-bg.gif
|
82
|
+
assets/javascripts/calendariffic/ChangeLog
|
83
|
+
assets/javascripts/calendariffic/README
|
84
|
+
assets/javascripts/calendariffic/calendar-setup.js
|
85
|
+
assets/javascripts/calendariffic/calendar-setup_stripped.js
|
86
|
+
assets/javascripts/calendariffic/calendar.js
|
87
|
+
assets/javascripts/calendariffic/calendar_stripped.js
|
88
|
+
assets/javascripts/calendariffic/doc/html/field-button.jpg
|
89
|
+
assets/javascripts/calendariffic/doc/html/reference-Z-S.css
|
90
|
+
assets/javascripts/calendariffic/doc/html/reference.css
|
91
|
+
assets/javascripts/calendariffic/doc/html/reference.html
|
92
|
+
assets/javascripts/calendariffic/doc/reference.pdf
|
93
|
+
assets/javascripts/calendariffic/lang/calendar-af.js
|
94
|
+
assets/javascripts/calendariffic/lang/calendar-al.js
|
95
|
+
assets/javascripts/calendariffic/lang/calendar-bg.js
|
96
|
+
assets/javascripts/calendariffic/lang/calendar-big5-utf8.js
|
97
|
+
assets/javascripts/calendariffic/lang/calendar-big5.js
|
98
|
+
assets/javascripts/calendariffic/lang/calendar-br.js
|
99
|
+
assets/javascripts/calendariffic/lang/calendar-ca.js
|
100
|
+
assets/javascripts/calendariffic/lang/calendar-cs-utf8.js
|
101
|
+
assets/javascripts/calendariffic/lang/calendar-cs-win.js
|
102
|
+
assets/javascripts/calendariffic/lang/calendar-da.js
|
103
|
+
assets/javascripts/calendariffic/lang/calendar-de.js
|
104
|
+
assets/javascripts/calendariffic/lang/calendar-du.js
|
105
|
+
assets/javascripts/calendariffic/lang/calendar-el.js
|
106
|
+
assets/javascripts/calendariffic/lang/calendar-en.js
|
107
|
+
assets/javascripts/calendariffic/lang/calendar-es.js
|
108
|
+
assets/javascripts/calendariffic/lang/calendar-fi.js
|
109
|
+
assets/javascripts/calendariffic/lang/calendar-fr.js
|
110
|
+
assets/javascripts/calendariffic/lang/calendar-he-utf8.js
|
111
|
+
assets/javascripts/calendariffic/lang/calendar-hr-utf8.js
|
112
|
+
assets/javascripts/calendariffic/lang/calendar-hr.js
|
113
|
+
assets/javascripts/calendariffic/lang/calendar-hu.js
|
114
|
+
assets/javascripts/calendariffic/lang/calendar-it.js
|
115
|
+
assets/javascripts/calendariffic/lang/calendar-jp.js
|
116
|
+
assets/javascripts/calendariffic/lang/calendar-ko-utf8.js
|
117
|
+
assets/javascripts/calendariffic/lang/calendar-ko.js
|
118
|
+
assets/javascripts/calendariffic/lang/calendar-lt-utf8.js
|
119
|
+
assets/javascripts/calendariffic/lang/calendar-lt.js
|
120
|
+
assets/javascripts/calendariffic/lang/calendar-lv.js
|
121
|
+
assets/javascripts/calendariffic/lang/calendar-nl.js
|
122
|
+
assets/javascripts/calendariffic/lang/calendar-no.js
|
123
|
+
assets/javascripts/calendariffic/lang/calendar-pl-utf8.js
|
124
|
+
assets/javascripts/calendariffic/lang/calendar-pl.js
|
125
|
+
assets/javascripts/calendariffic/lang/calendar-pt.js
|
126
|
+
assets/javascripts/calendariffic/lang/calendar-ro.js
|
127
|
+
assets/javascripts/calendariffic/lang/calendar-ru.js
|
128
|
+
assets/javascripts/calendariffic/lang/calendar-ru_win_.js
|
129
|
+
assets/javascripts/calendariffic/lang/calendar-si.js
|
130
|
+
assets/javascripts/calendariffic/lang/calendar-sk.js
|
131
|
+
assets/javascripts/calendariffic/lang/calendar-sp.js
|
132
|
+
assets/javascripts/calendariffic/lang/calendar-sv.js
|
133
|
+
assets/javascripts/calendariffic/lang/calendar-tr.js
|
134
|
+
assets/javascripts/calendariffic/lang/calendar-zh.js
|
135
|
+
assets/javascripts/calendariffic/lang/cn_utf8.js
|
136
|
+
assets/stylesheets/calendariffic/calendar-blue.css
|
137
|
+
assets/stylesheets/calendariffic/calendar-blue2.css
|
138
|
+
assets/stylesheets/calendariffic/calendar-brown.css
|
139
|
+
assets/stylesheets/calendariffic/calendar-green.css
|
140
|
+
assets/stylesheets/calendariffic/calendar-system.css
|
141
|
+
assets/stylesheets/calendariffic/calendar-tas.css
|
142
|
+
assets/stylesheets/calendariffic/calendar-win2k-1.css
|
143
|
+
assets/stylesheets/calendariffic/calendar-win2k-2.css
|
144
|
+
assets/stylesheets/calendariffic/calendar-win2k-cold-1.css
|
145
|
+
assets/stylesheets/calendariffic/calendar-win2k-cold-2.css
|
146
|
+
calendariffic.gemspec
|
147
|
+
doc/created.rid
|
148
|
+
doc/files/README.html
|
149
|
+
doc/fr_class_index.html
|
150
|
+
doc/fr_file_index.html
|
151
|
+
doc/fr_method_index.html
|
152
|
+
doc/index.html
|
153
|
+
doc/rdoc-style.css
|
154
|
+
init.rb
|
155
|
+
install.rb
|
156
|
+
lib/calendariffic.rb
|
157
|
+
rails/init.rb
|
158
|
+
tasks/calendariffic_tasks.rake
|
159
|
+
test/calendariffic_test.rb
|
160
|
+
uninstall.rb
|
161
|
+
]
|
162
|
+
# = MANIFEST =
|
163
|
+
|
164
|
+
## Test files will be grabbed from the file list. Make sure the path glob
|
165
|
+
## matches what you actually use.
|
166
|
+
s.test_files = s.files.select { |path| path =~ /^test\/test_.*\.rb/ }
|
167
|
+
end
|
data/doc/created.rid
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Fri Jun 01 17:11:51 -0400 2007
|