damagecontrol 0.5.0 → 0.5.0.1391
Sign up to get free protection for your applications and to get access to all the features.
- data/README +67 -11
- data/Rakefile +15 -6
- data/app/controllers/admin_controller.rb +0 -3
- data/app/controllers/application.rb +42 -163
- data/app/controllers/build_controller.rb +33 -0
- data/app/controllers/files_controller.rb +1 -1
- data/app/controllers/project_controller.rb +23 -65
- data/app/controllers/rails_ext.rb +247 -0
- data/app/controllers/rscm_ext.rb +52 -0
- data/app/helpers/build_helper.rb +2 -0
- data/app/views/build/email.rhtml +18 -0
- data/app/views/build/status.rhtml +20 -0
- data/app/views/build/tests.rhtml +2 -0
- data/app/views/layouts/{rscm.rhtml → default.rhtml} +10 -4
- data/app/views/project/_changesets_list.rhtml +2 -2
- data/app/views/project/_cvs.rhtml +4 -5
- data/app/views/project/_project.rhtml +9 -9
- data/app/views/project/_select_pane.rhtml +26 -0
- data/app/views/project/_tab_pane.rhtml +23 -0
- data/app/views/project/changeset.rhtml +35 -0
- data/app/views/project/view.rhtml +18 -32
- data/app/views/setup/welcome.rhtml +118 -0
- data/config/database.yml +20 -20
- data/config/environment.rb +66 -60
- data/config/environments/development.rb +3 -2
- data/config/environments/production.rb +3 -2
- data/config/environments/test.rb +3 -2
- data/config/routes.rb +15 -0
- data/lib/damagecontrol/app.rb +11 -40
- data/lib/damagecontrol/build.rb +50 -8
- data/lib/damagecontrol/directories.rb +7 -6
- data/lib/damagecontrol/poller.rb +11 -20
- data/lib/damagecontrol/project.rb +83 -16
- data/lib/damagecontrol/publisher/ambient_orb.rb +16 -0
- data/lib/damagecontrol/publisher/archive.rb +16 -0
- data/lib/damagecontrol/publisher/base.rb +25 -0
- data/lib/damagecontrol/publisher/build_duration.rb +16 -0
- data/lib/damagecontrol/publisher/email.rb +59 -0
- data/lib/damagecontrol/publisher/execute.rb +49 -0
- data/lib/damagecontrol/publisher/ftp.rb +16 -0
- data/lib/damagecontrol/publisher/growl.rb +44 -0
- data/lib/damagecontrol/publisher/irc.rb +31 -0
- data/lib/damagecontrol/publisher/jabber.rb +68 -0
- data/lib/damagecontrol/publisher/scp.rb +16 -0
- data/lib/damagecontrol/publisher/x10cm11a.rb +17 -0
- data/lib/damagecontrol/publisher/x10cm17a.rb +17 -0
- data/lib/damagecontrol/publisher/yahoo.rb +16 -0
- data/lib/damagecontrol/standard_persister.rb +2 -2
- data/lib/damagecontrol/tracker.rb +48 -6
- data/lib/damagecontrol/visitor/rss_writer.rb +1 -1
- data/lib/damagecontrol/visitor/yaml_persister.rb +10 -1
- data/public/404.html +5 -5
- data/public/500.html +5 -5
- data/public/dispatch.cgi +2 -2
- data/public/dispatch.fcgi +1 -1
- data/public/dispatch.rb +2 -2
- data/public/images/growlicon.png +0 -0
- data/public/images/megaphone.png +0 -0
- data/public/images/monotone-logo.png +0 -0
- data/public/images/publisher/ambient_orb.png +0 -0
- data/public/images/publisher/build_duration.png +0 -0
- data/public/images/publisher/email.png +0 -0
- data/public/images/publisher/execute.png +0 -0
- data/public/images/publisher/growl.png +0 -0
- data/public/images/publisher/irc.png +0 -0
- data/public/images/publisher/jabber.png +0 -0
- data/public/images/publisher/x10cm11a.png +0 -0
- data/public/images/publisher/x10cm17a.png +0 -0
- data/public/images/publisher/yahoo.png +0 -0
- data/public/index.html +70 -1
- data/public/javascripts/dateFormat.js +283 -0
- data/public/javascripts/jscalendar/ChangeLog +500 -0
- data/public/javascripts/jscalendar/README +33 -0
- data/public/javascripts/jscalendar/bugtest-hidden-selects.html +108 -0
- data/public/javascripts/jscalendar/calendar-blue.css +231 -0
- data/public/javascripts/jscalendar/calendar-blue2.css +235 -0
- data/public/javascripts/jscalendar/calendar-brown.css +224 -0
- data/public/javascripts/jscalendar/calendar-green.css +228 -0
- data/public/javascripts/jscalendar/calendar-setup.js +181 -0
- data/public/javascripts/jscalendar/calendar-setup_stripped.js +21 -0
- data/public/javascripts/jscalendar/calendar-system.css +250 -0
- data/public/javascripts/jscalendar/calendar-tas.css +238 -0
- data/public/javascripts/jscalendar/calendar-win2k-1.css +270 -0
- data/public/javascripts/jscalendar/calendar-win2k-2.css +270 -0
- data/public/javascripts/jscalendar/calendar-win2k-cold-1.css +264 -0
- data/public/javascripts/jscalendar/calendar-win2k-cold-2.css +270 -0
- data/public/javascripts/jscalendar/calendar.js +1715 -0
- data/public/javascripts/jscalendar/calendar.php +119 -0
- data/public/javascripts/jscalendar/calendar_stripped.js +12 -0
- data/public/javascripts/jscalendar/doc/html/reference-Z-S.css +0 -0
- data/public/javascripts/jscalendar/doc/html/reference.css +34 -0
- data/public/javascripts/jscalendar/doc/html/reference.html +1316 -0
- data/public/javascripts/jscalendar/doc/reference.pdf +0 -0
- data/public/javascripts/jscalendar/img.gif +0 -0
- data/public/javascripts/jscalendar/index.html +333 -0
- data/public/javascripts/jscalendar/lang/calendar-af.js +39 -0
- data/public/javascripts/jscalendar/lang/calendar-br.js +45 -0
- data/public/javascripts/jscalendar/lang/calendar-ca.js +45 -0
- data/public/javascripts/jscalendar/lang/calendar-cs-win.js +34 -0
- data/public/javascripts/jscalendar/lang/calendar-da.js +63 -0
- data/public/javascripts/jscalendar/lang/calendar-de.js +100 -0
- data/public/javascripts/jscalendar/lang/calendar-du.js +45 -0
- data/public/javascripts/jscalendar/lang/calendar-el.js +89 -0
- data/public/javascripts/jscalendar/lang/calendar-en.js +123 -0
- data/public/javascripts/jscalendar/lang/calendar-es.js +114 -0
- data/public/javascripts/jscalendar/lang/calendar-fi.js +98 -0
- data/public/javascripts/jscalendar/lang/calendar-fr.js +86 -0
- data/public/javascripts/jscalendar/lang/calendar-hr-utf8.js +49 -0
- data/public/javascripts/jscalendar/lang/calendar-hr.js +0 -0
- data/public/javascripts/jscalendar/lang/calendar-hu.js +45 -0
- data/public/javascripts/jscalendar/lang/calendar-it.js +79 -0
- data/public/javascripts/jscalendar/lang/calendar-jp.js +45 -0
- data/public/javascripts/jscalendar/lang/calendar-ko-utf8.js +120 -0
- data/public/javascripts/jscalendar/lang/calendar-ko.js +120 -0
- data/public/javascripts/jscalendar/lang/calendar-lt-utf8.js +114 -0
- data/public/javascripts/jscalendar/lang/calendar-lt.js +114 -0
- data/public/javascripts/jscalendar/lang/calendar-nl.js +45 -0
- data/public/javascripts/jscalendar/lang/calendar-no.js +45 -0
- data/public/javascripts/jscalendar/lang/calendar-pl-utf8.js +93 -0
- data/public/javascripts/jscalendar/lang/calendar-pl.js +56 -0
- data/public/javascripts/jscalendar/lang/calendar-pt.js +45 -0
- data/public/javascripts/jscalendar/lang/calendar-ro.js +66 -0
- data/public/javascripts/jscalendar/lang/calendar-ru.js +45 -0
- data/public/javascripts/jscalendar/lang/calendar-si.js +94 -0
- data/public/javascripts/jscalendar/lang/calendar-sk.js +99 -0
- data/public/javascripts/jscalendar/lang/calendar-sp.js +63 -0
- data/public/javascripts/jscalendar/lang/calendar-sv.js +93 -0
- data/public/javascripts/jscalendar/lang/calendar-tr.js +58 -0
- data/public/javascripts/jscalendar/lang/calendar-zh.js +45 -0
- data/public/javascripts/jscalendar/menuarrow.gif +0 -0
- data/public/javascripts/jscalendar/menuarrow2.gif +0 -0
- data/public/javascripts/jscalendar/release-notes.html +334 -0
- data/public/javascripts/jscalendar/simple-1.html +244 -0
- data/public/javascripts/jscalendar/simple-2.html +108 -0
- data/public/javascripts/jscalendar/simple-3.html +130 -0
- data/public/javascripts/jscalendar/test-position.html +40 -0
- data/public/javascripts/jscalendar/test.php +116 -0
- data/public/javascripts/toggle_div.js +18 -0
- data/public/stylesheets/niceones.txt +1 -0
- data/public/stylesheets/style.css +8 -1
- data/script/breakpointer +4 -5
- data/script/console +19 -27
- data/script/console_sandbox.rb +7 -0
- data/script/destroy +5 -0
- data/script/generate +3 -68
- data/script/server +6 -16
- data/test/damagecontrol/build_test.rb +8 -8
- data/test/damagecontrol/poller_test.rb +10 -18
- data/test/damagecontrol/project_test.rb +49 -13
- data/test/damagecontrol/publisher/base_test.rb +26 -0
- data/test/damagecontrol/publisher/build/email.rhtml +0 -0
- data/test/damagecontrol/publisher/email_test.rb +26 -0
- data/test/damagecontrol/publisher/fixture.rb +34 -0
- data/test/damagecontrol/publisher/growl_test.rb +15 -0
- data/test/damagecontrol/publisher/jabber_test.rb +15 -0
- data/test/damagecontrol/scm_web_test.rb +1 -1
- data/test/damagecontrol/visitor/changesets.rss +1 -1
- data/test/damagecontrol/visitor/diff_persister_test.rb +4 -4
- data/test/functional/build_controller_test.rb +17 -0
- data/test/test_helper.rb +13 -13
- metadata +185 -24
- data/app/views/project/_bugzilla.rhtml +0 -13
- data/app/views/project/_jira.rhtml +0 -19
- data/app/views/project/_mooky.rhtml +0 -23
- data/app/views/project/_rubyforge.rhtml +0 -19
- data/app/views/project/_scarab.rhtml +0 -19
- data/app/views/project/_scms.rhtml +0 -15
- data/app/views/project/_sourceforge.rhtml +0 -19
- data/app/views/project/_starteam.rhtml +0 -43
- data/app/views/project/_svn.rhtml +0 -22
- data/app/views/project/_trac.rhtml +0 -13
- data/app/views/project/_trackers.rhtml +0 -18
- data/app/views/project/changesets.rhtml +0 -31
@@ -0,0 +1,238 @@
|
|
1
|
+
/* The main calendar widget. DIV containing a table. */
|
2
|
+
|
3
|
+
div.calendar { position: relative; }
|
4
|
+
|
5
|
+
.calendar, .calendar table {
|
6
|
+
border: 1px solid #655;
|
7
|
+
font-size: 11px;
|
8
|
+
color: #000;
|
9
|
+
cursor: default;
|
10
|
+
background: #ffd;
|
11
|
+
font-family: tahoma,verdana,sans-serif;
|
12
|
+
filter:
|
13
|
+
progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#DDDCCC,EndColorStr=#FFFFFF);
|
14
|
+
}
|
15
|
+
|
16
|
+
/* Header part -- contains navigation buttons and day names. */
|
17
|
+
|
18
|
+
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
|
19
|
+
text-align: center; /* They are the navigation buttons */
|
20
|
+
padding: 2px; /* Make the buttons seem like they're pressing */
|
21
|
+
color:#363636;
|
22
|
+
}
|
23
|
+
|
24
|
+
.calendar .nav {
|
25
|
+
background: #edc url(menuarrow.gif) no-repeat 100% 100%;
|
26
|
+
}
|
27
|
+
|
28
|
+
.calendar thead .title { /* This holds the current "month, year" */
|
29
|
+
font-weight: bold; /* Pressing it will take you to the current date */
|
30
|
+
text-align: center;
|
31
|
+
background: #654;
|
32
|
+
color: #363636;
|
33
|
+
padding: 2px;
|
34
|
+
filter:
|
35
|
+
progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffffff,EndColorStr=#dddccc);
|
36
|
+
}
|
37
|
+
|
38
|
+
.calendar thead .headrow { /* Row <TR> containing navigation buttons */
|
39
|
+
/*background: #3B86A0;*/
|
40
|
+
color: #363636;
|
41
|
+
font-weight: bold;
|
42
|
+
filter:
|
43
|
+
progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffffff,EndColorStr=#3b86a0);
|
44
|
+
}
|
45
|
+
|
46
|
+
.calendar thead .name { /* Cells <TD> containing the day names */
|
47
|
+
border-bottom: 1px solid #655;
|
48
|
+
padding: 2px;
|
49
|
+
text-align: center;
|
50
|
+
color: #363636;
|
51
|
+
filter:
|
52
|
+
progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#DDDCCC,EndColorStr=#FFFFFF);
|
53
|
+
}
|
54
|
+
|
55
|
+
.calendar thead .weekend { /* How a weekend day name shows in header */
|
56
|
+
color: #f00;
|
57
|
+
}
|
58
|
+
|
59
|
+
.calendar thead .hilite { /* How do the buttons in header appear when hover */
|
60
|
+
background-color: #ffcc86;
|
61
|
+
color: #000;
|
62
|
+
border: 1px solid #b59345;
|
63
|
+
padding: 1px;
|
64
|
+
}
|
65
|
+
|
66
|
+
.calendar thead .active { /* Active (pressed) buttons in header */
|
67
|
+
background-color: #c77;
|
68
|
+
padding: 2px 0px 0px 2px;
|
69
|
+
}
|
70
|
+
|
71
|
+
.calendar thead .daynames { /* Row <TR> containing the day names */
|
72
|
+
background: #fed;
|
73
|
+
}
|
74
|
+
|
75
|
+
/* The body part -- contains all the days in month. */
|
76
|
+
|
77
|
+
.calendar tbody .day { /* Cells <TD> containing month days dates */
|
78
|
+
width: 2em;
|
79
|
+
text-align: right;
|
80
|
+
padding: 2px 4px 2px 2px;
|
81
|
+
}
|
82
|
+
.calendar tbody .day.othermonth {
|
83
|
+
font-size: 80%;
|
84
|
+
color: #aaa;
|
85
|
+
}
|
86
|
+
.calendar tbody .day.othermonth.oweekend {
|
87
|
+
color: #faa;
|
88
|
+
}
|
89
|
+
|
90
|
+
.calendar table .wn {
|
91
|
+
padding: 2px 3px 2px 2px;
|
92
|
+
border-right: 1px solid #000;
|
93
|
+
background: #fed;
|
94
|
+
}
|
95
|
+
|
96
|
+
.calendar tbody .rowhilite td {
|
97
|
+
background: #ddf;
|
98
|
+
|
99
|
+
}
|
100
|
+
|
101
|
+
.calendar tbody .rowhilite td.wn {
|
102
|
+
background: #efe;
|
103
|
+
}
|
104
|
+
|
105
|
+
.calendar tbody td.hilite { /* Hovered cells <TD> */
|
106
|
+
background: #ffe;
|
107
|
+
padding: 1px 3px 1px 1px;
|
108
|
+
border: 1px solid #bbb;
|
109
|
+
}
|
110
|
+
|
111
|
+
.calendar tbody td.active { /* Active (pressed) cells <TD> */
|
112
|
+
background: #ddc;
|
113
|
+
padding: 2px 2px 0px 2px;
|
114
|
+
}
|
115
|
+
|
116
|
+
.calendar tbody td.selected { /* Cell showing today date */
|
117
|
+
font-weight: bold;
|
118
|
+
border: 1px solid #000;
|
119
|
+
padding: 1px 3px 1px 1px;
|
120
|
+
background: #fea;
|
121
|
+
}
|
122
|
+
|
123
|
+
.calendar tbody td.weekend { /* Cells showing weekend days */
|
124
|
+
color: #f00;
|
125
|
+
}
|
126
|
+
|
127
|
+
.calendar tbody td.today { font-weight: bold; }
|
128
|
+
|
129
|
+
.calendar tbody .disabled { color: #999; }
|
130
|
+
|
131
|
+
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
|
132
|
+
visibility: hidden;
|
133
|
+
}
|
134
|
+
|
135
|
+
.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
|
136
|
+
display: none;
|
137
|
+
}
|
138
|
+
|
139
|
+
/* The footer part -- status bar and "Close" button */
|
140
|
+
|
141
|
+
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
|
142
|
+
text-align: center;
|
143
|
+
background: #988;
|
144
|
+
color: #000;
|
145
|
+
|
146
|
+
}
|
147
|
+
|
148
|
+
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
|
149
|
+
border-top: 1px solid #655;
|
150
|
+
background: #dcb;
|
151
|
+
color: #363636;
|
152
|
+
font-weight: bold;
|
153
|
+
filter:
|
154
|
+
progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#FFFFFF,EndColorStr=#DDDCCC);
|
155
|
+
}
|
156
|
+
.calendar tfoot .hilite { /* Hover style for buttons in footer */
|
157
|
+
background: #faa;
|
158
|
+
border: 1px solid #f40;
|
159
|
+
padding: 1px;
|
160
|
+
}
|
161
|
+
|
162
|
+
.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
|
163
|
+
background: #c77;
|
164
|
+
padding: 2px 0px 0px 2px;
|
165
|
+
}
|
166
|
+
|
167
|
+
/* Combo boxes (menus that display months/years for direct selection) */
|
168
|
+
|
169
|
+
.combo {
|
170
|
+
position: absolute;
|
171
|
+
display: none;
|
172
|
+
top: 0px;
|
173
|
+
left: 0px;
|
174
|
+
width: 4em;
|
175
|
+
cursor: default;
|
176
|
+
border: 1px solid #655;
|
177
|
+
background: #ffe;
|
178
|
+
color: #000;
|
179
|
+
font-size: smaller;
|
180
|
+
}
|
181
|
+
|
182
|
+
.combo .label,
|
183
|
+
.combo .label-IEfix {
|
184
|
+
text-align: center;
|
185
|
+
padding: 1px;
|
186
|
+
}
|
187
|
+
|
188
|
+
.combo .label-IEfix {
|
189
|
+
width: 4em;
|
190
|
+
}
|
191
|
+
|
192
|
+
.combo .hilite {
|
193
|
+
background: #fc8;
|
194
|
+
}
|
195
|
+
|
196
|
+
.combo .active {
|
197
|
+
border-top: 1px solid #a64;
|
198
|
+
border-bottom: 1px solid #a64;
|
199
|
+
background: #fee;
|
200
|
+
font-weight: bold;
|
201
|
+
}
|
202
|
+
|
203
|
+
.calendar td.time {
|
204
|
+
border-top: 1px solid #a88;
|
205
|
+
padding: 1px 0px;
|
206
|
+
text-align: center;
|
207
|
+
background-color: #fed;
|
208
|
+
}
|
209
|
+
|
210
|
+
.calendar td.time .hour,
|
211
|
+
.calendar td.time .minute,
|
212
|
+
.calendar td.time .ampm {
|
213
|
+
padding: 0px 3px 0px 4px;
|
214
|
+
border: 1px solid #988;
|
215
|
+
font-weight: bold;
|
216
|
+
background-color: #fff;
|
217
|
+
}
|
218
|
+
|
219
|
+
.calendar td.time .ampm {
|
220
|
+
text-align: center;
|
221
|
+
}
|
222
|
+
|
223
|
+
.calendar td.time .colon {
|
224
|
+
padding: 0px 2px 0px 3px;
|
225
|
+
font-weight: bold;
|
226
|
+
}
|
227
|
+
|
228
|
+
.calendar td.time span.hilite {
|
229
|
+
border-color: #000;
|
230
|
+
background-color: #866;
|
231
|
+
color: #fff;
|
232
|
+
}
|
233
|
+
|
234
|
+
.calendar td.time span.active {
|
235
|
+
border-color: #f00;
|
236
|
+
background-color: #000;
|
237
|
+
color: #0f0;
|
238
|
+
}
|
@@ -0,0 +1,270 @@
|
|
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: #d4d0c8;
|
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: #d4d0c8;
|
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: #848078;
|
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: #f4f0e8;
|
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: #e4e0d8;
|
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: #c4c0b8;
|
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: #f4f0e8;
|
107
|
+
}
|
108
|
+
|
109
|
+
.calendar tbody .rowhilite td {
|
110
|
+
background: #e4e0d8;
|
111
|
+
}
|
112
|
+
|
113
|
+
.calendar tbody .rowhilite td.wn {
|
114
|
+
background: #d4d0c8;
|
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: #e4e0d8;
|
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: #f4f0e8;
|
169
|
+
padding: 1px;
|
170
|
+
border: 1px solid #000;
|
171
|
+
background: #848078;
|
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: #e4e0d8;
|
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: #e4e0d8;
|
207
|
+
font-size: 90%;
|
208
|
+
padding: 1px;
|
209
|
+
}
|
210
|
+
|
211
|
+
.calendar .combo .label,
|
212
|
+
.calendar .combo .label-IEfix {
|
213
|
+
text-align: center;
|
214
|
+
padding: 1px;
|
215
|
+
}
|
216
|
+
|
217
|
+
.calendar .combo .label-IEfix {
|
218
|
+
width: 4em;
|
219
|
+
}
|
220
|
+
|
221
|
+
.calendar .combo .active {
|
222
|
+
background: #c4c0b8;
|
223
|
+
padding: 0px;
|
224
|
+
border-top: 1px solid #000;
|
225
|
+
border-right: 1px solid #fff;
|
226
|
+
border-bottom: 1px solid #fff;
|
227
|
+
border-left: 1px solid #000;
|
228
|
+
}
|
229
|
+
|
230
|
+
.calendar .combo .hilite {
|
231
|
+
background: #048;
|
232
|
+
color: #fea;
|
233
|
+
}
|
234
|
+
|
235
|
+
.calendar td.time {
|
236
|
+
border-top: 1px solid #000;
|
237
|
+
padding: 1px 0px;
|
238
|
+
text-align: center;
|
239
|
+
background-color: #f4f0e8;
|
240
|
+
}
|
241
|
+
|
242
|
+
.calendar td.time .hour,
|
243
|
+
.calendar td.time .minute,
|
244
|
+
.calendar td.time .ampm {
|
245
|
+
padding: 0px 3px 0px 4px;
|
246
|
+
border: 1px solid #889;
|
247
|
+
font-weight: bold;
|
248
|
+
background-color: #fff;
|
249
|
+
}
|
250
|
+
|
251
|
+
.calendar td.time .ampm {
|
252
|
+
text-align: center;
|
253
|
+
}
|
254
|
+
|
255
|
+
.calendar td.time .colon {
|
256
|
+
padding: 0px 2px 0px 3px;
|
257
|
+
font-weight: bold;
|
258
|
+
}
|
259
|
+
|
260
|
+
.calendar td.time span.hilite {
|
261
|
+
border-color: #000;
|
262
|
+
background-color: #766;
|
263
|
+
color: #fff;
|
264
|
+
}
|
265
|
+
|
266
|
+
.calendar td.time span.active {
|
267
|
+
border-color: #f00;
|
268
|
+
background-color: #000;
|
269
|
+
color: #0f0;
|
270
|
+
}
|