campbellhay-bureau 4.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +4 -0
  3. data/campbellhay-bureau.gemspec +14 -0
  4. data/gempush +8 -0
  5. data/lib/_static/_test.txt +1 -0
  6. data/lib/_static/css/main.css +586 -0
  7. data/lib/_static/css/plugin.asmselect.css +63 -0
  8. data/lib/_static/css/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  9. data/lib/_static/css/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  10. data/lib/_static/css/ui-darkness/images/ui-bg_glass_20_555555_1x400.png +0 -0
  11. data/lib/_static/css/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png +0 -0
  12. data/lib/_static/css/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  13. data/lib/_static/css/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  14. data/lib/_static/css/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  15. data/lib/_static/css/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  16. data/lib/_static/css/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  17. data/lib/_static/css/ui-darkness/images/ui-icons_222222_256x240.png +0 -0
  18. data/lib/_static/css/ui-darkness/images/ui-icons_4b8e0b_256x240.png +0 -0
  19. data/lib/_static/css/ui-darkness/images/ui-icons_a83300_256x240.png +0 -0
  20. data/lib/_static/css/ui-darkness/images/ui-icons_cccccc_256x240.png +0 -0
  21. data/lib/_static/css/ui-darkness/images/ui-icons_ffffff_256x240.png +0 -0
  22. data/lib/_static/css/ui-darkness/jquery-ui-1.9.1.custom.css +378 -0
  23. data/lib/_static/css/ui-darkness/jquery-ui-1.9.1.custom.min.css +5 -0
  24. data/lib/_static/img/backend_small_icons.png +0 -0
  25. data/lib/_static/img/btn.png +0 -0
  26. data/lib/_static/img/btn_old.png +0 -0
  27. data/lib/_static/img/file.png +0 -0
  28. data/lib/_static/img/handle.png +0 -0
  29. data/lib/_static/img/help/clone-button.png +0 -0
  30. data/lib/_static/img/help/create-button.png +0 -0
  31. data/lib/_static/img/help/delete-button.png +0 -0
  32. data/lib/_static/img/help/delete-warning.png +0 -0
  33. data/lib/_static/img/help/document.png +0 -0
  34. data/lib/_static/img/help/edit-button.png +0 -0
  35. data/lib/_static/img/help/form.png +0 -0
  36. data/lib/_static/img/help/image-dimensions.png +0 -0
  37. data/lib/_static/img/help/list.png +0 -0
  38. data/lib/_static/img/help/logout.png +0 -0
  39. data/lib/_static/img/help/move-button.png +0 -0
  40. data/lib/_static/img/help/overview.png +0 -0
  41. data/lib/_static/img/help/preview-button.png +0 -0
  42. data/lib/_static/img/help/relationships.png +0 -0
  43. data/lib/_static/img/help/reload-button.png +0 -0
  44. data/lib/_static/img/help/save-or-cancel.png +0 -0
  45. data/lib/_static/img/help/search.png +0 -0
  46. data/lib/_static/img/help/sub-section.png +0 -0
  47. data/lib/_static/img/help/x-list.png +0 -0
  48. data/lib/_static/img/placeholder.nutshell.jpg +0 -0
  49. data/lib/_static/img/placeholder.stash_thumb.gif +0 -0
  50. data/lib/_static/img/small-loader.gif +0 -0
  51. data/lib/_static/img/underwood_btn.png +0 -0
  52. data/lib/_static/js/addon.timepicker.js +20 -0
  53. data/lib/_static/js/jquery-ui-1.9.1.custom.js +8364 -0
  54. data/lib/_static/js/jquery-ui-1.9.1.custom.min.js +6 -0
  55. data/lib/_static/js/main.js +347 -0
  56. data/lib/_static/js/plugin.asmselect.js +407 -0
  57. data/lib/_static/js/plugin.form.js +23 -0
  58. data/lib/_static/js/plugin.mapolygon.js +3 -0
  59. data/lib/_static/js/plugin.quickmask.js +68 -0
  60. data/lib/_static/js/plugin.quicksearch.js +1 -0
  61. data/lib/_static/js/plugin.speechify.js +4 -0
  62. data/lib/_static/js/plugin.underwood.js +4 -0
  63. data/lib/_templates/_test.txt +1 -0
  64. data/lib/_templates/head.html +23 -0
  65. data/lib/_templates/help.html +104 -0
  66. data/lib/_templates/layout.html +13 -0
  67. data/lib/bureau/adapter.rb +114 -0
  68. data/lib/bureau.rb +122 -0
  69. data/lib/mongo_bureau.rb +214 -0
  70. data/lib/sequel_bureau_adapter.rb +188 -0
  71. data/test/spec_bureau.rb +123 -0
  72. data/test/spec_bureau_adapter.rb +71 -0
  73. metadata +126 -0
@@ -0,0 +1,378 @@
1
+ /*! jQuery UI - v1.9.1 - 2012-11-22
2
+ * http://jqueryui.com
3
+ * Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.autocomplete.css, jquery.ui.datepicker.css, jquery.ui.menu.css, jquery.ui.slider.css
4
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Segoe%20UI%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=6px&bgColorHeader=333333&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=25&borderColorHeader=333333&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=000000&bgTextureContent=05_inset_soft.png&bgImgOpacityContent=25&borderColorContent=666666&fcContent=ffffff&iconColorContent=cccccc&bgColorDefault=555555&bgTextureDefault=02_glass.png&bgImgOpacityDefault=20&borderColorDefault=666666&fcDefault=eeeeee&iconColorDefault=cccccc&bgColorHover=0078a3&bgTextureHover=02_glass.png&bgImgOpacityHover=40&borderColorHover=59b4d4&fcHover=ffffff&iconColorHover=ffffff&bgColorActive=f58400&bgTextureActive=05_inset_soft.png&bgImgOpacityActive=30&borderColorActive=ffaf0f&fcActive=ffffff&iconColorActive=222222&bgColorHighlight=eeeeee&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=80&borderColorHighlight=cccccc&fcHighlight=2e7db2&iconColorHighlight=4b8e0b&bgColorError=ffc73d&bgTextureError=02_glass.png&bgImgOpacityError=40&borderColorError=ffb73d&fcError=111111&iconColorError=a83300&bgColorOverlay=5c5c5c&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=50&opacityOverlay=80&bgColorShadow=cccccc&bgTextureShadow=01_flat.png&bgImgOpacityShadow=30&opacityShadow=60&thicknessShadow=7px&offsetTopShadow=-7px&offsetLeftShadow=-7px&cornerRadiusShadow=8px
5
+ * Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */
6
+
7
+ /* Layout helpers
8
+ ----------------------------------*/
9
+ .ui-helper-hidden { display: none; }
10
+ .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
11
+ .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
12
+ .ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; }
13
+ .ui-helper-clearfix:after { clear: both; }
14
+ .ui-helper-clearfix { zoom: 1; }
15
+ .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
16
+
17
+
18
+ /* Interaction Cues
19
+ ----------------------------------*/
20
+ .ui-state-disabled { cursor: default !important; }
21
+
22
+
23
+ /* Icons
24
+ ----------------------------------*/
25
+
26
+ /* states and images */
27
+ .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
28
+
29
+
30
+ /* Misc visuals
31
+ ----------------------------------*/
32
+
33
+ /* Overlays */
34
+ .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
35
+ .ui-resizable { position: relative;}
36
+ .ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; }
37
+ .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
38
+ .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
39
+ .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
40
+ .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
41
+ .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
42
+ .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
43
+ .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
44
+ .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
45
+ .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
46
+ .ui-autocomplete {
47
+ position: absolute;
48
+ top: 0; /* #8656 */
49
+ cursor: default;
50
+ }
51
+
52
+ /* workarounds */
53
+ * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
54
+ .ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
55
+ .ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
56
+ .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
57
+ .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
58
+ .ui-datepicker .ui-datepicker-prev { left:2px; }
59
+ .ui-datepicker .ui-datepicker-next { right:2px; }
60
+ .ui-datepicker .ui-datepicker-prev-hover { left:1px; }
61
+ .ui-datepicker .ui-datepicker-next-hover { right:1px; }
62
+ .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
63
+ .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
64
+ .ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
65
+ .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
66
+ .ui-datepicker select.ui-datepicker-month,
67
+ .ui-datepicker select.ui-datepicker-year { width: 49%;}
68
+ .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
69
+ .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
70
+ .ui-datepicker td { border: 0; padding: 1px; }
71
+ .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
72
+ .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
73
+ .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
74
+ .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
75
+
76
+ /* with multiple calendars */
77
+ .ui-datepicker.ui-datepicker-multi { width:auto; }
78
+ .ui-datepicker-multi .ui-datepicker-group { float:left; }
79
+ .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
80
+ .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
81
+ .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
82
+ .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
83
+ .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
84
+ .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
85
+ .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
86
+ .ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
87
+
88
+ /* RTL support */
89
+ .ui-datepicker-rtl { direction: rtl; }
90
+ .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
91
+ .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
92
+ .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
93
+ .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
94
+ .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
95
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
96
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
97
+ .ui-datepicker-rtl .ui-datepicker-group { float:right; }
98
+ .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
99
+ .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
100
+
101
+ /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
102
+ .ui-datepicker-cover {
103
+ position: absolute; /*must have*/
104
+ z-index: -1; /*must have*/
105
+ filter: mask(); /*must have*/
106
+ top: -4px; /*must have*/
107
+ left: -4px; /*must have*/
108
+ width: 200px; /*must have*/
109
+ height: 200px; /*must have*/
110
+ }.ui-menu { list-style:none; padding: 2px; margin: 0; display:block; outline: none; }
111
+ .ui-menu .ui-menu { margin-top: -3px; position: absolute; }
112
+ .ui-menu .ui-menu-item { margin: 0; padding: 0; zoom: 1; width: 100%; }
113
+ .ui-menu .ui-menu-divider { margin: 5px -2px 5px -2px; height: 0; font-size: 0; line-height: 0; border-width: 1px 0 0 0; }
114
+ .ui-menu .ui-menu-item a { text-decoration: none; display: block; padding: 2px .4em; line-height: 1.5; zoom: 1; font-weight: normal; }
115
+ .ui-menu .ui-menu-item a.ui-state-focus,
116
+ .ui-menu .ui-menu-item a.ui-state-active { font-weight: normal; margin: -1px; }
117
+
118
+ .ui-menu .ui-state-disabled { font-weight: normal; margin: .4em 0 .2em; line-height: 1.5; }
119
+ .ui-menu .ui-state-disabled a { cursor: default; }
120
+
121
+ /* icon support */
122
+ .ui-menu-icons { position: relative; }
123
+ .ui-menu-icons .ui-menu-item a { position: relative; padding-left: 2em; }
124
+
125
+ /* left-aligned */
126
+ .ui-menu .ui-icon { position: absolute; top: .2em; left: .2em; }
127
+
128
+ /* right-aligned */
129
+ .ui-menu .ui-menu-icon { position: static; float: right; }
130
+ .ui-slider { position: relative; text-align: left; }
131
+ .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
132
+ .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
133
+
134
+ .ui-slider-horizontal { height: .8em; }
135
+ .ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
136
+ .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
137
+ .ui-slider-horizontal .ui-slider-range-min { left: 0; }
138
+ .ui-slider-horizontal .ui-slider-range-max { right: 0; }
139
+
140
+ .ui-slider-vertical { width: .8em; height: 100px; }
141
+ .ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
142
+ .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
143
+ .ui-slider-vertical .ui-slider-range-min { bottom: 0; }
144
+ .ui-slider-vertical .ui-slider-range-max { top: 0; }
145
+ /* Component containers
146
+ ----------------------------------*/
147
+ .ui-widget { font-family: Segoe UI,Arial,sans-serif; font-size: 1.1em; }
148
+ .ui-widget .ui-widget { font-size: 1em; }
149
+ .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Segoe UI,Arial,sans-serif; font-size: 1em; }
150
+ .ui-widget-content { border: 1px solid #666666; background: #000000 url(images/ui-bg_inset-soft_25_000000_1x100.png) 50% bottom repeat-x; color: #ffffff; }
151
+ .ui-widget-content a { color: #ffffff; }
152
+ .ui-widget-header { border: 1px solid #333333; background: #333333 url(images/ui-bg_gloss-wave_25_333333_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; }
153
+ .ui-widget-header a { color: #ffffff; }
154
+
155
+ /* Interaction states
156
+ ----------------------------------*/
157
+ .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #666666; background: #555555 url(images/ui-bg_glass_20_555555_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eeeeee; }
158
+ .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #eeeeee; text-decoration: none; }
159
+ .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #59b4d4; background: #0078a3 url(images/ui-bg_glass_40_0078a3_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #ffffff; }
160
+ .ui-state-hover a, .ui-state-hover a:hover, .ui-state-hover a:link, .ui-state-hover a:visited { color: #ffffff; text-decoration: none; }
161
+ .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #ffaf0f; background: #f58400 url(images/ui-bg_inset-soft_30_f58400_1x100.png) 50% 50% repeat-x; font-weight: bold; color: #ffffff; }
162
+ .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #ffffff; text-decoration: none; }
163
+
164
+ /* Interaction Cues
165
+ ----------------------------------*/
166
+ .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #cccccc; background: #eeeeee url(images/ui-bg_highlight-soft_80_eeeeee_1x100.png) 50% top repeat-x; color: #2e7db2; }
167
+ .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #2e7db2; }
168
+ .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #ffb73d; background: #ffc73d url(images/ui-bg_glass_40_ffc73d_1x400.png) 50% 50% repeat-x; color: #111111; }
169
+ .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #111111; }
170
+ .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #111111; }
171
+ .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
172
+ .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
173
+ .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
174
+ .ui-state-disabled .ui-icon { filter:Alpha(Opacity=35); } /* For IE8 - See #6059 */
175
+
176
+ /* Icons
177
+ ----------------------------------*/
178
+
179
+ /* states and images */
180
+ .ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_cccccc_256x240.png); }
181
+ .ui-widget-content .ui-icon {background-image: url(images/ui-icons_cccccc_256x240.png); }
182
+ .ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }
183
+ .ui-state-default .ui-icon { background-image: url(images/ui-icons_cccccc_256x240.png); }
184
+ .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }
185
+ .ui-state-active .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
186
+ .ui-state-highlight .ui-icon {background-image: url(images/ui-icons_4b8e0b_256x240.png); }
187
+ .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_a83300_256x240.png); }
188
+
189
+ /* positioning */
190
+ .ui-icon-carat-1-n { background-position: 0 0; }
191
+ .ui-icon-carat-1-ne { background-position: -16px 0; }
192
+ .ui-icon-carat-1-e { background-position: -32px 0; }
193
+ .ui-icon-carat-1-se { background-position: -48px 0; }
194
+ .ui-icon-carat-1-s { background-position: -64px 0; }
195
+ .ui-icon-carat-1-sw { background-position: -80px 0; }
196
+ .ui-icon-carat-1-w { background-position: -96px 0; }
197
+ .ui-icon-carat-1-nw { background-position: -112px 0; }
198
+ .ui-icon-carat-2-n-s { background-position: -128px 0; }
199
+ .ui-icon-carat-2-e-w { background-position: -144px 0; }
200
+ .ui-icon-triangle-1-n { background-position: 0 -16px; }
201
+ .ui-icon-triangle-1-ne { background-position: -16px -16px; }
202
+ .ui-icon-triangle-1-e { background-position: -32px -16px; }
203
+ .ui-icon-triangle-1-se { background-position: -48px -16px; }
204
+ .ui-icon-triangle-1-s { background-position: -64px -16px; }
205
+ .ui-icon-triangle-1-sw { background-position: -80px -16px; }
206
+ .ui-icon-triangle-1-w { background-position: -96px -16px; }
207
+ .ui-icon-triangle-1-nw { background-position: -112px -16px; }
208
+ .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
209
+ .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
210
+ .ui-icon-arrow-1-n { background-position: 0 -32px; }
211
+ .ui-icon-arrow-1-ne { background-position: -16px -32px; }
212
+ .ui-icon-arrow-1-e { background-position: -32px -32px; }
213
+ .ui-icon-arrow-1-se { background-position: -48px -32px; }
214
+ .ui-icon-arrow-1-s { background-position: -64px -32px; }
215
+ .ui-icon-arrow-1-sw { background-position: -80px -32px; }
216
+ .ui-icon-arrow-1-w { background-position: -96px -32px; }
217
+ .ui-icon-arrow-1-nw { background-position: -112px -32px; }
218
+ .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
219
+ .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
220
+ .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
221
+ .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
222
+ .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
223
+ .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
224
+ .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
225
+ .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
226
+ .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
227
+ .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
228
+ .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
229
+ .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
230
+ .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
231
+ .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
232
+ .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
233
+ .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
234
+ .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
235
+ .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
236
+ .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
237
+ .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
238
+ .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
239
+ .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
240
+ .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
241
+ .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
242
+ .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
243
+ .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
244
+ .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
245
+ .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
246
+ .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
247
+ .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
248
+ .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
249
+ .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
250
+ .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
251
+ .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
252
+ .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
253
+ .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
254
+ .ui-icon-arrow-4 { background-position: 0 -80px; }
255
+ .ui-icon-arrow-4-diag { background-position: -16px -80px; }
256
+ .ui-icon-extlink { background-position: -32px -80px; }
257
+ .ui-icon-newwin { background-position: -48px -80px; }
258
+ .ui-icon-refresh { background-position: -64px -80px; }
259
+ .ui-icon-shuffle { background-position: -80px -80px; }
260
+ .ui-icon-transfer-e-w { background-position: -96px -80px; }
261
+ .ui-icon-transferthick-e-w { background-position: -112px -80px; }
262
+ .ui-icon-folder-collapsed { background-position: 0 -96px; }
263
+ .ui-icon-folder-open { background-position: -16px -96px; }
264
+ .ui-icon-document { background-position: -32px -96px; }
265
+ .ui-icon-document-b { background-position: -48px -96px; }
266
+ .ui-icon-note { background-position: -64px -96px; }
267
+ .ui-icon-mail-closed { background-position: -80px -96px; }
268
+ .ui-icon-mail-open { background-position: -96px -96px; }
269
+ .ui-icon-suitcase { background-position: -112px -96px; }
270
+ .ui-icon-comment { background-position: -128px -96px; }
271
+ .ui-icon-person { background-position: -144px -96px; }
272
+ .ui-icon-print { background-position: -160px -96px; }
273
+ .ui-icon-trash { background-position: -176px -96px; }
274
+ .ui-icon-locked { background-position: -192px -96px; }
275
+ .ui-icon-unlocked { background-position: -208px -96px; }
276
+ .ui-icon-bookmark { background-position: -224px -96px; }
277
+ .ui-icon-tag { background-position: -240px -96px; }
278
+ .ui-icon-home { background-position: 0 -112px; }
279
+ .ui-icon-flag { background-position: -16px -112px; }
280
+ .ui-icon-calendar { background-position: -32px -112px; }
281
+ .ui-icon-cart { background-position: -48px -112px; }
282
+ .ui-icon-pencil { background-position: -64px -112px; }
283
+ .ui-icon-clock { background-position: -80px -112px; }
284
+ .ui-icon-disk { background-position: -96px -112px; }
285
+ .ui-icon-calculator { background-position: -112px -112px; }
286
+ .ui-icon-zoomin { background-position: -128px -112px; }
287
+ .ui-icon-zoomout { background-position: -144px -112px; }
288
+ .ui-icon-search { background-position: -160px -112px; }
289
+ .ui-icon-wrench { background-position: -176px -112px; }
290
+ .ui-icon-gear { background-position: -192px -112px; }
291
+ .ui-icon-heart { background-position: -208px -112px; }
292
+ .ui-icon-star { background-position: -224px -112px; }
293
+ .ui-icon-link { background-position: -240px -112px; }
294
+ .ui-icon-cancel { background-position: 0 -128px; }
295
+ .ui-icon-plus { background-position: -16px -128px; }
296
+ .ui-icon-plusthick { background-position: -32px -128px; }
297
+ .ui-icon-minus { background-position: -48px -128px; }
298
+ .ui-icon-minusthick { background-position: -64px -128px; }
299
+ .ui-icon-close { background-position: -80px -128px; }
300
+ .ui-icon-closethick { background-position: -96px -128px; }
301
+ .ui-icon-key { background-position: -112px -128px; }
302
+ .ui-icon-lightbulb { background-position: -128px -128px; }
303
+ .ui-icon-scissors { background-position: -144px -128px; }
304
+ .ui-icon-clipboard { background-position: -160px -128px; }
305
+ .ui-icon-copy { background-position: -176px -128px; }
306
+ .ui-icon-contact { background-position: -192px -128px; }
307
+ .ui-icon-image { background-position: -208px -128px; }
308
+ .ui-icon-video { background-position: -224px -128px; }
309
+ .ui-icon-script { background-position: -240px -128px; }
310
+ .ui-icon-alert { background-position: 0 -144px; }
311
+ .ui-icon-info { background-position: -16px -144px; }
312
+ .ui-icon-notice { background-position: -32px -144px; }
313
+ .ui-icon-help { background-position: -48px -144px; }
314
+ .ui-icon-check { background-position: -64px -144px; }
315
+ .ui-icon-bullet { background-position: -80px -144px; }
316
+ .ui-icon-radio-on { background-position: -96px -144px; }
317
+ .ui-icon-radio-off { background-position: -112px -144px; }
318
+ .ui-icon-pin-w { background-position: -128px -144px; }
319
+ .ui-icon-pin-s { background-position: -144px -144px; }
320
+ .ui-icon-play { background-position: 0 -160px; }
321
+ .ui-icon-pause { background-position: -16px -160px; }
322
+ .ui-icon-seek-next { background-position: -32px -160px; }
323
+ .ui-icon-seek-prev { background-position: -48px -160px; }
324
+ .ui-icon-seek-end { background-position: -64px -160px; }
325
+ .ui-icon-seek-start { background-position: -80px -160px; }
326
+ /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
327
+ .ui-icon-seek-first { background-position: -80px -160px; }
328
+ .ui-icon-stop { background-position: -96px -160px; }
329
+ .ui-icon-eject { background-position: -112px -160px; }
330
+ .ui-icon-volume-off { background-position: -128px -160px; }
331
+ .ui-icon-volume-on { background-position: -144px -160px; }
332
+ .ui-icon-power { background-position: 0 -176px; }
333
+ .ui-icon-signal-diag { background-position: -16px -176px; }
334
+ .ui-icon-signal { background-position: -32px -176px; }
335
+ .ui-icon-battery-0 { background-position: -48px -176px; }
336
+ .ui-icon-battery-1 { background-position: -64px -176px; }
337
+ .ui-icon-battery-2 { background-position: -80px -176px; }
338
+ .ui-icon-battery-3 { background-position: -96px -176px; }
339
+ .ui-icon-circle-plus { background-position: 0 -192px; }
340
+ .ui-icon-circle-minus { background-position: -16px -192px; }
341
+ .ui-icon-circle-close { background-position: -32px -192px; }
342
+ .ui-icon-circle-triangle-e { background-position: -48px -192px; }
343
+ .ui-icon-circle-triangle-s { background-position: -64px -192px; }
344
+ .ui-icon-circle-triangle-w { background-position: -80px -192px; }
345
+ .ui-icon-circle-triangle-n { background-position: -96px -192px; }
346
+ .ui-icon-circle-arrow-e { background-position: -112px -192px; }
347
+ .ui-icon-circle-arrow-s { background-position: -128px -192px; }
348
+ .ui-icon-circle-arrow-w { background-position: -144px -192px; }
349
+ .ui-icon-circle-arrow-n { background-position: -160px -192px; }
350
+ .ui-icon-circle-zoomin { background-position: -176px -192px; }
351
+ .ui-icon-circle-zoomout { background-position: -192px -192px; }
352
+ .ui-icon-circle-check { background-position: -208px -192px; }
353
+ .ui-icon-circlesmall-plus { background-position: 0 -208px; }
354
+ .ui-icon-circlesmall-minus { background-position: -16px -208px; }
355
+ .ui-icon-circlesmall-close { background-position: -32px -208px; }
356
+ .ui-icon-squaresmall-plus { background-position: -48px -208px; }
357
+ .ui-icon-squaresmall-minus { background-position: -64px -208px; }
358
+ .ui-icon-squaresmall-close { background-position: -80px -208px; }
359
+ .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
360
+ .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
361
+ .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
362
+ .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
363
+ .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
364
+ .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
365
+
366
+
367
+ /* Misc visuals
368
+ ----------------------------------*/
369
+
370
+ /* Corner radius */
371
+ .ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; -khtml-border-top-left-radius: 6px; border-top-left-radius: 6px; }
372
+ .ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; -khtml-border-top-right-radius: 6px; border-top-right-radius: 6px; }
373
+ .ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; -khtml-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; }
374
+ .ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; -khtml-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; }
375
+
376
+ /* Overlays */
377
+ .ui-widget-overlay { background: #5c5c5c url(images/ui-bg_flat_50_5c5c5c_40x100.png) 50% 50% repeat-x; opacity: .8;filter:Alpha(Opacity=80); }
378
+ .ui-widget-shadow { margin: -7px 0 0 -7px; padding: 7px; background: #cccccc url(images/ui-bg_flat_30_cccccc_40x100.png) 50% 50% repeat-x; opacity: .6;filter:Alpha(Opacity=60); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }
@@ -0,0 +1,5 @@
1
+ /*! jQuery UI - v1.9.1 - 2012-11-22
2
+ * http://jqueryui.com
3
+ * Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.autocomplete.css, jquery.ui.datepicker.css, jquery.ui.menu.css, jquery.ui.slider.css
4
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Segoe%20UI%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=6px&bgColorHeader=333333&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=25&borderColorHeader=333333&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=000000&bgTextureContent=05_inset_soft.png&bgImgOpacityContent=25&borderColorContent=666666&fcContent=ffffff&iconColorContent=cccccc&bgColorDefault=555555&bgTextureDefault=02_glass.png&bgImgOpacityDefault=20&borderColorDefault=666666&fcDefault=eeeeee&iconColorDefault=cccccc&bgColorHover=0078a3&bgTextureHover=02_glass.png&bgImgOpacityHover=40&borderColorHover=59b4d4&fcHover=ffffff&iconColorHover=ffffff&bgColorActive=f58400&bgTextureActive=05_inset_soft.png&bgImgOpacityActive=30&borderColorActive=ffaf0f&fcActive=ffffff&iconColorActive=222222&bgColorHighlight=eeeeee&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=80&borderColorHighlight=cccccc&fcHighlight=2e7db2&iconColorHighlight=4b8e0b&bgColorError=ffc73d&bgTextureError=02_glass.png&bgImgOpacityError=40&borderColorError=ffb73d&fcError=111111&iconColorError=a83300&bgColorOverlay=5c5c5c&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=50&opacityOverlay=80&bgColorShadow=cccccc&bgTextureShadow=01_flat.png&bgImgOpacityShadow=30&opacityShadow=60&thicknessShadow=7px&offsetTopShadow=-7px&offsetLeftShadow=-7px&cornerRadiusShadow=8px
5
+ * Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{position:absolute!important;clip:rect(1px);clip:rect(1px,1px,1px,1px)}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{zoom:1}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-autocomplete{position:absolute;top:0;cursor:default}* html .ui-autocomplete{width:1px}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month-year{width:100%}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0em}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current{float:right}.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker-cover{position:absolute;z-index:-1;filter:mask();top:-4px;left:-4px;width:200px;height:200px}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:none}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;zoom:1;width:100%}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;zoom:1;font-weight:normal}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.ui-menu .ui-state-disabled{font-weight:normal;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-widget{font-family:Segoe UI,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Segoe UI,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #666;background:#000 url(images/ui-bg_inset-soft_25_000000_1x100.png) 50% bottom repeat-x;color:#fff}.ui-widget-content a{color:#fff}.ui-widget-header{border:1px solid #333;background:#333 url(images/ui-bg_gloss-wave_25_333333_500x100.png) 50% 50% repeat-x;color:#fff;font-weight:bold}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #666;background:#555 url(images/ui-bg_glass_20_555555_1x400.png) 50% 50% repeat-x;font-weight:bold;color:#eee}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#eee;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #59b4d4;background:#0078a3 url(images/ui-bg_glass_40_0078a3_1x400.png) 50% 50% repeat-x;font-weight:bold;color:#fff}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited{color:#fff;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #ffaf0f;background:#f58400 url(images/ui-bg_inset-soft_30_f58400_1x100.png) 50% 50% repeat-x;font-weight:bold;color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #ccc;background:#eee url(images/ui-bg_highlight-soft_80_eeeeee_1x100.png) 50% top repeat-x;color:#2e7db2}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#2e7db2}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #ffb73d;background:#ffc73d url(images/ui-bg_glass_40_ffc73d_1x400.png) 50% 50% repeat-x;color:#111}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#111}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#111}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px;background-image:url(images/ui-icons_cccccc_256x240.png)}.ui-widget-content .ui-icon{background-image:url(images/ui-icons_cccccc_256x240.png)}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_ffffff_256x240.png)}.ui-state-default .ui-icon{background-image:url(images/ui-icons_cccccc_256x240.png)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(images/ui-icons_ffffff_256x240.png)}.ui-state-active .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_4b8e0b_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_a83300_256x240.png)}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{-moz-border-radius-topleft:6px;-webkit-border-top-left-radius:6px;-khtml-border-top-left-radius:6px;border-top-left-radius:6px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{-moz-border-radius-topright:6px;-webkit-border-top-right-radius:6px;-khtml-border-top-right-radius:6px;border-top-right-radius:6px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{-moz-border-radius-bottomleft:6px;-webkit-border-bottom-left-radius:6px;-khtml-border-bottom-left-radius:6px;border-bottom-left-radius:6px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{-moz-border-radius-bottomright:6px;-webkit-border-bottom-right-radius:6px;-khtml-border-bottom-right-radius:6px;border-bottom-right-radius:6px}.ui-widget-overlay{background:#5c5c5c url(images/ui-bg_flat_50_5c5c5c_40x100.png) 50% 50% repeat-x;opacity:.8;filter:Alpha(Opacity=80)}.ui-widget-shadow{margin:-7px 0 0 -7px;padding:7px;background:#ccc url(images/ui-bg_flat_30_cccccc_40x100.png) 50% 50% repeat-x;opacity:.6;filter:Alpha(Opacity=60);-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px}
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,20 @@
1
+ /*
2
+ * jQuery timepicker addon
3
+ * By: Trent Richardson [http://trentrichardson.com]
4
+ * Version 0.9.6
5
+ * Last Modified: 07/20/2011
6
+ *
7
+ * Copyright 2011 Trent Richardson
8
+ * Dual licensed under the MIT and GPL licenses.
9
+ * http://trentrichardson.com/Impromptu/GPL-LICENSE.txt
10
+ * http://trentrichardson.com/Impromptu/MIT-LICENSE.txt
11
+ *
12
+ * HERES THE CSS:
13
+ * .ui-timepicker-div .ui-widget-header{ margin-bottom: 8px; }
14
+ * .ui-timepicker-div dl{ text-align: left; }
15
+ * .ui-timepicker-div dl dt{ height: 25px; }
16
+ * .ui-timepicker-div dl dd{ margin: -25px 10px 10px 65px; }
17
+ * .ui-timepicker-div td { font-size: 90%; }
18
+ */
19
+
20
+ (function($){$.extend($.ui,{timepicker:{version:"0.9.6"}});function Timepicker(){this.regional=[];this.regional['']={currentText:'Now',closeText:'Done',ampm:false,timeFormat:'hh:mm tt',timeSuffix:'',timeOnlyTitle:'Choose Time',timeText:'Time',hourText:'Hour',minuteText:'Minute',secondText:'Second',timezoneText:'Time Zone'};this._defaults={showButtonPanel:true,timeOnly:false,showHour:true,showMinute:true,showSecond:false,showTimezone:false,showTime:true,stepHour:0.05,stepMinute:0.05,stepSecond:0.05,hour:0,minute:0,second:0,timezone:'+0000',hourMin:0,minuteMin:0,secondMin:0,hourMax:23,minuteMax:59,secondMax:59,minDateTime:null,maxDateTime:null,hourGrid:0,minuteGrid:0,secondGrid:0,alwaysSetTime:true,separator:' ',altFieldTimeOnly:true,showTimepicker:true,timezoneList:["-1100","-1000","-0900","-0800","-0700","-0600","-0500","-0400","-0300","-0200","-0100","+0000","+0100","+0200","+0300","+0400","+0500","+0600","+0700","+0800","+0900","+1000","+1100","+1200"]};$.extend(this._defaults,this.regional[''])}$.extend(Timepicker.prototype,{$input:null,$altInput:null,$timeObj:null,inst:null,hour_slider:null,minute_slider:null,second_slider:null,timezone_select:null,hour:0,minute:0,second:0,timezone:'+0000',hourMinOriginal:null,minuteMinOriginal:null,secondMinOriginal:null,hourMaxOriginal:null,minuteMaxOriginal:null,secondMaxOriginal:null,ampm:'',formattedDate:'',formattedTime:'',formattedDateTime:'',timezoneList:["-1100","-1000","-0900","-0800","-0700","-0600","-0500","-0400","-0300","-0200","-0100","+0000","+0100","+0200","+0300","+0400","+0500","+0600","+0700","+0800","+0900","+1000","+1100","+1200"],setDefaults:function(a){extendRemove(this._defaults,a||{});return this},_newInst:function(d,o){var e=new Timepicker(),inlineSettings={};for(var f in this._defaults){var g=d.attr('time:'+f);if(g){try{inlineSettings[f]=eval(g)}catch(err){inlineSettings[f]=g}}}e._defaults=$.extend({},this._defaults,inlineSettings,o,{beforeShow:function(a,b){if($.isFunction(o.beforeShow))o.beforeShow(a,b,e)},onChangeMonthYear:function(a,b,c){e._updateDateTime(c);if($.isFunction(o.onChangeMonthYear))o.onChangeMonthYear.call(d[0],a,b,c,e)},onClose:function(a,b){if(e.timeDefined===true&&d.val()!='')e._updateDateTime(b);if($.isFunction(o.onClose))o.onClose.call(d[0],a,b,e)},timepicker:e});e.hour=e._defaults.hour;e.minute=e._defaults.minute;e.second=e._defaults.second;e.ampm='';e.$input=d;if(o.altField)e.$altInput=$(o.altField).css({cursor:'pointer'}).focus(function(){d.trigger("focus")});if(e._defaults.minDate!==undefined&&e._defaults.minDate instanceof Date)e._defaults.minDateTime=new Date(e._defaults.minDate.getTime());if(e._defaults.minDateTime!==undefined&&e._defaults.minDateTime instanceof Date)e._defaults.minDate=new Date(e._defaults.minDateTime.getTime());if(e._defaults.maxDate!==undefined&&e._defaults.maxDate instanceof Date)e._defaults.maxDateTime=new Date(e._defaults.maxDate.getTime());if(e._defaults.maxDateTime!==undefined&&e._defaults.maxDateTime instanceof Date)e._defaults.maxDate=new Date(e._defaults.maxDateTime.getTime());return e},_addTimePicker:function(a){var b=(this.$altInput&&this._defaults.altFieldTimeOnly)?this.$input.val()+' '+this.$altInput.val():this.$input.val();this.timeDefined=this._parseTime(b);this._limitMinMaxDateTime(a,false);this._injectTimePicker()},_parseTime:function(a,b){var c=this._defaults.timeFormat.toString().replace(/h{1,2}/ig,'(\\d?\\d)').replace(/m{1,2}/ig,'(\\d?\\d)').replace(/s{1,2}/ig,'(\\d?\\d)').replace(/t{1,2}/ig,'(am|pm|a|p)?').replace(/z{1}/ig,'((\\+|-)\\d\\d\\d\\d)?').replace(/\s/g,'\\s?')+this._defaults.timeSuffix+'$',order=this._getFormatPositions(),treg;if(!this.inst)this.inst=$.datepicker._getInst(this.$input[0]);if(b||!this._defaults.timeOnly){var d=$.datepicker._get(this.inst,'dateFormat');var e=new RegExp("[.*+?|()\\[\\]{}\\\\]","g");c='.{'+d.length+',}'+this._defaults.separator.replace(e,"\\$&")+c}treg=a.match(new RegExp(c,'i'));if(treg){if(order.t!==-1)this.ampm=((treg[order.t]===undefined||treg[order.t].length===0)?'':(treg[order.t].charAt(0).toUpperCase()=='A')?'AM':'PM').toUpperCase();if(order.h!==-1){if(this.ampm=='AM'&&treg[order.h]=='12')this.hour=0;else if(this.ampm=='PM'&&treg[order.h]!='12')this.hour=(parseFloat(treg[order.h])+12).toFixed(0);else this.hour=Number(treg[order.h])}if(order.m!==-1)this.minute=Number(treg[order.m]);if(order.s!==-1)this.second=Number(treg[order.s]);if(order.z!==-1)this.timezone=treg[order.z];return true}return false},_getFormatPositions:function(){var a=this._defaults.timeFormat.toLowerCase().match(/(h{1,2}|m{1,2}|s{1,2}|t{1,2}|z)/g),orders={h:-1,m:-1,s:-1,t:-1,z:-1};if(a)for(var i=0;i<a.length;i++)if(orders[a[i].toString().charAt(0)]==-1)orders[a[i].toString().charAt(0)]=i+1;return orders},_injectTimePicker:function(){var c=this.inst.dpDiv,o=this._defaults,tp_inst=this,hourMax=(o.hourMax-(o.hourMax%o.stepHour)).toFixed(0),minMax=(o.minuteMax-(o.minuteMax%o.stepMinute)).toFixed(0),secMax=(o.secondMax-(o.secondMax%o.stepSecond)).toFixed(0),dp_id=this.inst.id.toString().replace(/([^A-Za-z0-9_])/g,'');if(c.find("div#ui-timepicker-div-"+dp_id).length===0&&o.showTimepicker){var d=' style="display:none;"',html='<div class="ui-timepicker-div" id="ui-timepicker-div-'+dp_id+'"><dl>'+'<dt class="ui_tpicker_time_label" id="ui_tpicker_time_label_'+dp_id+'"'+((o.showTime)?'':d)+'>'+o.timeText+'</dt>'+'<dd class="ui_tpicker_time" id="ui_tpicker_time_'+dp_id+'"'+((o.showTime)?'':d)+'></dd>'+'<dt class="ui_tpicker_hour_label" id="ui_tpicker_hour_label_'+dp_id+'"'+((o.showHour)?'':d)+'>'+o.hourText+'</dt>',hourGridSize=0,minuteGridSize=0,secondGridSize=0,size;if(o.showHour&&o.hourGrid>0){html+='<dd class="ui_tpicker_hour">'+'<div id="ui_tpicker_hour_'+dp_id+'"'+((o.showHour)?'':d)+'></div>'+'<div style="padding-left: 1px"><table class="ui-tpicker-grid-label"><tr>';for(var h=o.hourMin;h<=hourMax;h+=o.hourGrid){hourGridSize++;var e=(o.ampm&&h>12)?h-12:h;if(e<10)e='0'+e;if(o.ampm){if(h==0)e=12+'a';else if(h<12)e+='a';else e+='p'}html+='<td>'+e+'</td>'}html+='</tr></table></div>'+'</dd>'}else html+='<dd class="ui_tpicker_hour" id="ui_tpicker_hour_'+dp_id+'"'+((o.showHour)?'':d)+'></dd>';html+='<dt class="ui_tpicker_minute_label" id="ui_tpicker_minute_label_'+dp_id+'"'+((o.showMinute)?'':d)+'>'+o.minuteText+'</dt>';if(o.showMinute&&o.minuteGrid>0){html+='<dd class="ui_tpicker_minute ui_tpicker_minute_'+o.minuteGrid+'">'+'<div id="ui_tpicker_minute_'+dp_id+'"'+((o.showMinute)?'':d)+'></div>'+'<div style="padding-left: 1px"><table class="ui-tpicker-grid-label"><tr>';for(var m=o.minuteMin;m<=minMax;m+=o.minuteGrid){minuteGridSize++;html+='<td>'+((m<10)?'0':'')+m+'</td>'}html+='</tr></table></div>'+'</dd>'}else html+='<dd class="ui_tpicker_minute" id="ui_tpicker_minute_'+dp_id+'"'+((o.showMinute)?'':d)+'></dd>';html+='<dt class="ui_tpicker_second_label" id="ui_tpicker_second_label_'+dp_id+'"'+((o.showSecond)?'':d)+'>'+o.secondText+'</dt>';if(o.showSecond&&o.secondGrid>0){html+='<dd class="ui_tpicker_second ui_tpicker_second_'+o.secondGrid+'">'+'<div id="ui_tpicker_second_'+dp_id+'"'+((o.showSecond)?'':d)+'></div>'+'<div style="padding-left: 1px"><table><tr>';for(var s=o.secondMin;s<=secMax;s+=o.secondGrid){secondGridSize++;html+='<td>'+((s<10)?'0':'')+s+'</td>'}html+='</tr></table></div>'+'</dd>'}else html+='<dd class="ui_tpicker_second" id="ui_tpicker_second_'+dp_id+'"'+((o.showSecond)?'':d)+'></dd>';html+='<dt class="ui_tpicker_timezone_label" id="ui_tpicker_timezone_label_'+dp_id+'"'+((o.showTimezone)?'':d)+'>'+o.timezoneText+'</dt>';html+='<dd class="ui_tpicker_timezone" id="ui_tpicker_timezone_'+dp_id+'"'+((o.showTimezone)?'':d)+'></dd>';html+='</dl></div>';$tp=$(html);if(o.timeOnly===true){$tp.prepend('<div class="ui-widget-header ui-helper-clearfix ui-corner-all">'+'<div class="ui-datepicker-title">'+o.timeOnlyTitle+'</div>'+'</div>');c.find('.ui-datepicker-header, .ui-datepicker-calendar').hide()}this.hour_slider=$tp.find('#ui_tpicker_hour_'+dp_id).slider({orientation:"horizontal",value:this.hour,min:o.hourMin,max:hourMax,step:o.stepHour,slide:function(a,b){tp_inst.hour_slider.slider("option","value",b.value);tp_inst._onTimeChange()}});this.minute_slider=$tp.find('#ui_tpicker_minute_'+dp_id).slider({orientation:"horizontal",value:this.minute,min:o.minuteMin,max:minMax,step:o.stepMinute,slide:function(a,b){tp_inst.minute_slider.slider("option","value",b.value);tp_inst._onTimeChange()}});this.second_slider=$tp.find('#ui_tpicker_second_'+dp_id).slider({orientation:"horizontal",value:this.second,min:o.secondMin,max:secMax,step:o.stepSecond,slide:function(a,b){tp_inst.second_slider.slider("option","value",b.value);tp_inst._onTimeChange()}});this.timezone_select=$tp.find('#ui_tpicker_timezone_'+dp_id).append('<select></select>').find("select");$.fn.append.apply(this.timezone_select,$.map(o.timezoneList,function(a,b){return $("<option />").val(typeof a=="object"?a.value:a).text(typeof a=="object"?a.label:a)}));this.timezone_select.val((typeof this.timezone!="undefined"&&this.timezone!=null&&this.timezone!="")?this.timezone:o.timezone);this.timezone_select.change(function(){tp_inst._onTimeChange()});if(o.showHour&&o.hourGrid>0){size=100*hourGridSize*o.hourGrid/(hourMax-o.hourMin);$tp.find(".ui_tpicker_hour table").css({width:size+"%",marginLeft:(size/(-2*hourGridSize))+"%",borderCollapse:'collapse'}).find("td").each(function(b){$(this).click(function(){var h=$(this).html();if(o.ampm){var a=h.substring(2).toLowerCase(),aph=parseInt(h.substring(0,2),10);if(a=='a'){if(aph==12)h=0;else h=aph}else if(aph==12)h=12;else h=aph+12}tp_inst.hour_slider.slider("option","value",h);tp_inst._onTimeChange();tp_inst._onSelectHandler()}).css({cursor:'pointer',width:(100/hourGridSize)+'%',textAlign:'center',overflow:'hidden'})})}if(o.showMinute&&o.minuteGrid>0){size=100*minuteGridSize*o.minuteGrid/(minMax-o.minuteMin);$tp.find(".ui_tpicker_minute table").css({width:size+"%",marginLeft:(size/(-2*minuteGridSize))+"%",borderCollapse:'collapse'}).find("td").each(function(a){$(this).click(function(){tp_inst.minute_slider.slider("option","value",$(this).html());tp_inst._onTimeChange();tp_inst._onSelectHandler()}).css({cursor:'pointer',width:(100/minuteGridSize)+'%',textAlign:'center',overflow:'hidden'})})}if(o.showSecond&&o.secondGrid>0){$tp.find(".ui_tpicker_second table").css({width:size+"%",marginLeft:(size/(-2*secondGridSize))+"%",borderCollapse:'collapse'}).find("td").each(function(a){$(this).click(function(){tp_inst.second_slider.slider("option","value",$(this).html());tp_inst._onTimeChange();tp_inst._onSelectHandler()}).css({cursor:'pointer',width:(100/secondGridSize)+'%',textAlign:'center',overflow:'hidden'})})}var f=c.find('.ui-datepicker-buttonpane');if(f.length)f.before($tp);else c.append($tp);this.$timeObj=$tp.find('#ui_tpicker_time_'+dp_id);if(this.inst!==null){var g=this.timeDefined;this._onTimeChange();this.timeDefined=g}var i=function(){tp_inst._onSelectHandler()};this.hour_slider.bind('slidestop',i);this.minute_slider.bind('slidestop',i);this.second_slider.bind('slidestop',i)}},_limitMinMaxDateTime:function(a,b){var o=this._defaults,dp_date=new Date(a.selectedYear,a.selectedMonth,a.selectedDay);if(!this._defaults.showTimepicker)return;if($.datepicker._get(a,'minDateTime')!==null&&dp_date){var c=$.datepicker._get(a,'minDateTime'),minDateTimeDate=new Date(c.getFullYear(),c.getMonth(),c.getDate(),0,0,0,0);if(this.hourMinOriginal===null||this.minuteMinOriginal===null||this.secondMinOriginal===null){this.hourMinOriginal=o.hourMin;this.minuteMinOriginal=o.minuteMin;this.secondMinOriginal=o.secondMin}if(a.settings.timeOnly||minDateTimeDate.getTime()==dp_date.getTime()){this._defaults.hourMin=c.getHours();if(this.hour<=this._defaults.hourMin){this.hour=this._defaults.hourMin;this._defaults.minuteMin=c.getMinutes();if(this.minute<=this._defaults.minuteMin){this.minute=this._defaults.minuteMin;this._defaults.secondMin=c.getSeconds()}else{if(this.second<this._defaults.secondMin)this.second=this._defaults.secondMin;this._defaults.secondMin=this.secondMinOriginal}}else{this._defaults.minuteMin=this.minuteMinOriginal;this._defaults.secondMin=this.secondMinOriginal}}else{this._defaults.hourMin=this.hourMinOriginal;this._defaults.minuteMin=this.minuteMinOriginal;this._defaults.secondMin=this.secondMinOriginal}}if($.datepicker._get(a,'maxDateTime')!==null&&dp_date){var d=$.datepicker._get(a,'maxDateTime'),maxDateTimeDate=new Date(d.getFullYear(),d.getMonth(),d.getDate(),0,0,0,0);if(this.hourMaxOriginal===null||this.minuteMaxOriginal===null||this.secondMaxOriginal===null){this.hourMaxOriginal=o.hourMax;this.minuteMaxOriginal=o.minuteMax;this.secondMaxOriginal=o.secondMax}if(a.settings.timeOnly||maxDateTimeDate.getTime()==dp_date.getTime()){this._defaults.hourMax=d.getHours();if(this.hour>=this._defaults.hourMax){this.hour=this._defaults.hourMax;this._defaults.minuteMax=d.getMinutes();if(this.minute>=this._defaults.minuteMax){this.minute=this._defaults.minuteMax;this._defaults.secondMax=d.getSeconds()}else{if(this.second>this._defaults.secondMax)this.second=this._defaults.secondMax;this._defaults.secondMax=this.secondMaxOriginal}}else{this._defaults.minuteMax=this.minuteMaxOriginal;this._defaults.secondMax=this.secondMaxOriginal}}else{this._defaults.hourMax=this.hourMaxOriginal;this._defaults.minuteMax=this.minuteMaxOriginal;this._defaults.secondMax=this.secondMaxOriginal}}if(b!==undefined&&b===true){var e=(this._defaults.hourMax-(this._defaults.hourMax%this._defaults.stepHour)).toFixed(0),minMax=(this._defaults.minuteMax-(this._defaults.minuteMax%this._defaults.stepMinute)).toFixed(0),secMax=(this._defaults.secondMax-(this._defaults.secondMax%this._defaults.stepSecond)).toFixed(0);if(this.hour_slider)this.hour_slider.slider("option",{min:this._defaults.hourMin,max:e}).slider('value',this.hour);if(this.minute_slider)this.minute_slider.slider("option",{min:this._defaults.minuteMin,max:minMax}).slider('value',this.minute);if(this.second_slider)this.second_slider.slider("option",{min:this._defaults.secondMin,max:secMax}).slider('value',this.second)}},_onTimeChange:function(){var a=(this.hour_slider)?this.hour_slider.slider('value'):false,minute=(this.minute_slider)?this.minute_slider.slider('value'):false,second=(this.second_slider)?this.second_slider.slider('value'):false,timezone=(this.timezone_select)?this.timezone_select.val():false;if(typeof(a)=='object')a=false;if(typeof(minute)=='object')minute=false;if(typeof(second)=='object')second=false;if(typeof(timezone)=='object')timezone=false;if(a!==false)a=parseInt(a,10);if(minute!==false)minute=parseInt(minute,10);if(second!==false)second=parseInt(second,10);var b=(a<12)?'AM':'PM';var c=(a!=this.hour||minute!=this.minute||second!=this.second||(this.ampm.length>0&&this.ampm!=b)||timezone!=this.timezone);if(c){if(a!==false)this.hour=a;if(minute!==false)this.minute=minute;if(second!==false)this.second=second;if(timezone!==false)this.timezone=timezone;if(!this.inst)this.inst=$.datepicker._getInst(this.$input[0]);this._limitMinMaxDateTime(this.inst,true)}if(this._defaults.ampm)this.ampm=b;this._formatTime();if(this.$timeObj)this.$timeObj.text(this.formattedTime+this._defaults.timeSuffix);this.timeDefined=true;if(c)this._updateDateTime()},_onSelectHandler:function(){var a=this._defaults['onSelect'];var b=this.$input?this.$input[0]:null;if(a&&b){a.apply(b,[this.formattedDateTime,this])}},_formatTime:function(a,b,c){if(c==undefined)c=this._defaults.ampm;a=a||{hour:this.hour,minute:this.minute,second:this.second,ampm:this.ampm,timezone:this.timezone};var d=b||this._defaults.timeFormat.toString();if(c){var e=((a.ampm=='AM')?(a.hour):(a.hour%12));e=(Number(e)===0)?12:e;d=d.toString().replace(/hh/g,((e<10)?'0':'')+e).replace(/h/g,e).replace(/mm/g,((a.minute<10)?'0':'')+a.minute).replace(/m/g,a.minute).replace(/ss/g,((a.second<10)?'0':'')+a.second).replace(/s/g,a.second).replace(/TT/g,a.ampm.toUpperCase()).replace(/Tt/g,a.ampm.toUpperCase()).replace(/tT/g,a.ampm.toLowerCase()).replace(/tt/g,a.ampm.toLowerCase()).replace(/T/g,a.ampm.charAt(0).toUpperCase()).replace(/t/g,a.ampm.charAt(0).toLowerCase()).replace(/z/g,a.timezone)}else{d=d.toString().replace(/hh/g,((a.hour<10)?'0':'')+a.hour).replace(/h/g,a.hour).replace(/mm/g,((a.minute<10)?'0':'')+a.minute).replace(/m/g,a.minute).replace(/ss/g,((a.second<10)?'0':'')+a.second).replace(/s/g,a.second).replace(/z/g,a.timezone);d=$.trim(d.replace(/t/gi,''))}if(arguments.length)return d;else this.formattedTime=d},_updateDateTime:function(a){a=this.inst||a,dt=new Date(a.selectedYear,a.selectedMonth,a.selectedDay),dateFmt=$.datepicker._get(a,'dateFormat'),formatCfg=$.datepicker._getFormatConfig(a),timeAvailable=dt!==null&&this.timeDefined;this.formattedDate=$.datepicker.formatDate(dateFmt,(dt===null?new Date():dt),formatCfg);var b=this.formattedDate;if(a.lastVal!==undefined&&(a.lastVal.length>0&&this.$input.val().length===0))return;if(this._defaults.timeOnly===true){b=this.formattedTime}else if(this._defaults.timeOnly!==true&&(this._defaults.alwaysSetTime||timeAvailable)){b+=this._defaults.separator+this.formattedTime+this._defaults.timeSuffix}this.formattedDateTime=b;if(!this._defaults.showTimepicker){this.$input.val(this.formattedDate)}else if(this.$altInput&&this._defaults.altFieldTimeOnly===true){this.$altInput.val(this.formattedTime);this.$input.val(this.formattedDate)}else if(this.$altInput){this.$altInput.val(b);this.$input.val(b)}else{this.$input.val(b)}this.$input.trigger("change")}});$.fn.extend({timepicker:function(o){o=o||{};var a=arguments;if(typeof o=='object')a[0]=$.extend(o,{timeOnly:true});return $(this).each(function(){$.fn.datetimepicker.apply($(this),a)})},datetimepicker:function(o){o=o||{};var b=this,tmp_args=arguments;if(typeof(o)=='string'){if(o=='getDate')return $.fn.datepicker.apply($(this[0]),tmp_args);else return this.each(function(){var a=$(this);a.datepicker.apply(a,tmp_args)})}else return this.each(function(){var a=$(this);a.datepicker($.timepicker._newInst(a,o)._defaults)})}});$.datepicker._base_selectDate=$.datepicker._selectDate;$.datepicker._selectDate=function(a,b){var c=this._getInst($(a)[0]),tp_inst=this._get(c,'timepicker');if(tp_inst){tp_inst._limitMinMaxDateTime(c,true);c.inline=c.stay_open=true;this._base_selectDate(a,b+tp_inst._defaults.separator+tp_inst.formattedTime+tp_inst._defaults.timeSuffix);c.inline=c.stay_open=false;this._notifyChange(c);this._updateDatepicker(c)}else this._base_selectDate(a,b)};$.datepicker._base_updateDatepicker=$.datepicker._updateDatepicker;$.datepicker._updateDatepicker=function(a){var b=a.input[0];if($.datepicker._curInst&&$.datepicker._curInst!=a&&$.datepicker._datepickerShowing&&$.datepicker._lastInput!=b){return}if(typeof(a.stay_open)!=='boolean'||a.stay_open===false){this._base_updateDatepicker(a);var c=this._get(a,'timepicker');if(c)c._addTimePicker(a)}};$.datepicker._base_doKeyPress=$.datepicker._doKeyPress;$.datepicker._doKeyPress=function(a){var b=$.datepicker._getInst(a.target),tp_inst=$.datepicker._get(b,'timepicker');if(tp_inst){if($.datepicker._get(b,'constrainInput')){var c=tp_inst._defaults.ampm,dateChars=$.datepicker._possibleChars($.datepicker._get(b,'dateFormat')),datetimeChars=tp_inst._defaults.timeFormat.toString().replace(/[hms]/g,'').replace(/TT/g,c?'APM':'').replace(/Tt/g,c?'AaPpMm':'').replace(/tT/g,c?'AaPpMm':'').replace(/T/g,c?'AP':'').replace(/tt/g,c?'apm':'').replace(/t/g,c?'ap':'')+" "+tp_inst._defaults.separator+tp_inst._defaults.timeSuffix+(tp_inst._defaults.showTimezone?tp_inst._defaults.timezoneList.join(''):'')+dateChars,chr=String.fromCharCode(a.charCode===undefined?a.keyCode:a.charCode);return a.ctrlKey||(chr<' '||!dateChars||datetimeChars.indexOf(chr)>-1)}}return $.datepicker._base_doKeyPress(a)};$.datepicker._base_doKeyUp=$.datepicker._doKeyUp;$.datepicker._doKeyUp=function(a){var b=$.datepicker._getInst(a.target),tp_inst=$.datepicker._get(b,'timepicker');if(tp_inst){if(tp_inst._defaults.timeOnly&&(b.input.val()!=b.lastVal)){try{$.datepicker._updateDatepicker(b)}catch(err){$.datepicker.log(err)}}}return $.datepicker._base_doKeyUp(a)};$.datepicker._base_gotoToday=$.datepicker._gotoToday;$.datepicker._gotoToday=function(a){this._base_gotoToday(a);this._setTime(this._getInst($(a)[0]),new Date())};$.datepicker._disableTimepickerDatepicker=function(a,b,c){var d=this._getInst(a),tp_inst=this._get(d,'timepicker');$(a).datepicker('getDate');if(tp_inst){tp_inst._defaults.showTimepicker=false;tp_inst._updateDateTime(d)}};$.datepicker._enableTimepickerDatepicker=function(a,b,c){var d=this._getInst(a),tp_inst=this._get(d,'timepicker');$(a).datepicker('getDate');if(tp_inst){tp_inst._defaults.showTimepicker=true;tp_inst._addTimePicker(d);tp_inst._updateDateTime(d)}};$.datepicker._setTime=function(a,b){var c=this._get(a,'timepicker');if(c){var d=c._defaults,hour=b?b.getHours():d.hour,minute=b?b.getMinutes():d.minute,second=b?b.getSeconds():d.second;if((hour<d.hourMin||hour>d.hourMax)||(minute<d.minuteMin||minute>d.minuteMax)||(second<d.secondMin||second>d.secondMax)){hour=d.hourMin;minute=d.minuteMin;second=d.secondMin}c.hour=hour;c.minute=minute;c.second=second;if(c.hour_slider)c.hour_slider.slider('value',hour);if(c.minute_slider)c.minute_slider.slider('value',minute);if(c.second_slider)c.second_slider.slider('value',second);c._onTimeChange();c._updateDateTime(a)}};$.datepicker._setTimeDatepicker=function(a,b,c){var d=this._getInst(a),tp_inst=this._get(d,'timepicker');if(tp_inst){this._setDateFromField(d);var e;if(b){if(typeof b=="string"){tp_inst._parseTime(b,c);e=new Date();e.setHours(tp_inst.hour,tp_inst.minute,tp_inst.second)}else e=new Date(b.getTime());if(e.toString()=='Invalid Date')e=undefined;this._setTime(d,e)}}};$.datepicker._base_setDateDatepicker=$.datepicker._setDateDatepicker;$.datepicker._setDateDatepicker=function(a,b){var c=this._getInst(a),tp_date=(b instanceof Date)?new Date(b.getTime()):b;this._updateDatepicker(c);this._base_setDateDatepicker.apply(this,arguments);this._setTimeDatepicker(a,tp_date,true)};$.datepicker._base_getDateDatepicker=$.datepicker._getDateDatepicker;$.datepicker._getDateDatepicker=function(a,b){var c=this._getInst(a),tp_inst=this._get(c,'timepicker');if(tp_inst){this._setDateFromField(c,b);var d=this._getDate(c);if(d&&tp_inst._parseTime($(a).val(),tp_inst.timeOnly))d.setHours(tp_inst.hour,tp_inst.minute,tp_inst.second);return d}return this._base_getDateDatepicker(a,b)};$.datepicker._base_parseDate=$.datepicker.parseDate;$.datepicker.parseDate=function(a,b,c){var d;try{d=this._base_parseDate(a,b,c)}catch(err){d=this._base_parseDate(a,b.substring(0,b.length-(err.length-err.indexOf(':')-2)),c)}return d};$.datepicker._base_optionDatepicker=$.datepicker._optionDatepicker;$.datepicker._optionDatepicker=function(a,b,c){this._base_optionDatepicker(a,b,c);var d=this._getInst(a),tp_inst=this._get(d,'timepicker');if(tp_inst){if(b==='minDate'){if(tp_inst._defaults.minDate!==undefined&&tp_inst._defaults.minDate instanceof Date)tp_inst._defaults.minDateTime=new Date(c);if(tp_inst._defaults.minDateTime!==undefined&&tp_inst._defaults.minDateTime instanceof Date)tp_inst._defaults.minDate=new Date(tp_inst._defaults.minDateTime.getTime());tp_inst._limitMinMaxDateTime(d,true)}if(b==='maxDate'){if(tp_inst._defaults.maxDate!==undefined&&tp_inst._defaults.maxDate instanceof Date)tp_inst._defaults.maxDateTime=new Date(c);if(tp_inst._defaults.maxDateTime!==undefined&&tp_inst._defaults.maxDateTime instanceof Date)tp_inst._defaults.maxDate=new Date(tp_inst._defaults.maxDateTime.getTime());tp_inst._limitMinMaxDateTime(d,true)}}};function extendRemove(a,b){$.extend(a,b);for(var c in b)if(b[c]===null||b[c]===undefined)a[c]=b[c];return a}$.timepicker=new Timepicker();$.timepicker.version="0.9.6"})(jQuery);