heart 0.0.1.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (358) hide show
  1. data/MIT-LICENSE +21 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +40 -0
  4. data/app/assets/images/heart/add.png +0 -0
  5. data/app/assets/images/heart/bluestar.png +0 -0
  6. data/app/assets/images/heart/bricks.png +0 -0
  7. data/app/assets/images/heart/bricks_off.png +0 -0
  8. data/app/assets/images/heart/chart_bar.png +0 -0
  9. data/app/assets/images/heart/chart_bar_off.png +0 -0
  10. data/app/assets/images/heart/chart_curve.png +0 -0
  11. data/app/assets/images/heart/chart_curve_off.png +0 -0
  12. data/app/assets/images/heart/chart_line.png +0 -0
  13. data/app/assets/images/heart/chart_line_off.png +0 -0
  14. data/app/assets/images/heart/chart_pie.png +0 -0
  15. data/app/assets/images/heart/chart_pie_off.png +0 -0
  16. data/app/assets/images/heart/collapse.png +0 -0
  17. data/app/assets/images/heart/dashboard.png +0 -0
  18. data/app/assets/images/heart/delete.png +0 -0
  19. data/app/assets/images/heart/disk.png +0 -0
  20. data/app/assets/images/heart/expand.png +0 -0
  21. data/app/assets/images/heart/jp.png +0 -0
  22. data/app/assets/images/heart/page_white_excel.png +0 -0
  23. data/app/assets/images/heart/paintcan.png +0 -0
  24. data/app/assets/images/heart/paintcan_off.png +0 -0
  25. data/app/assets/images/heart/pencil.png +0 -0
  26. data/app/assets/images/heart/picture.png +0 -0
  27. data/app/assets/images/heart/table.png +0 -0
  28. data/app/assets/images/heart/tag.png +0 -0
  29. data/app/assets/images/heart/tooltip/columnBg.png +0 -0
  30. data/app/assets/images/heart/tooltip/columnTop.gif +0 -0
  31. data/app/assets/images/heart/tooltip/tipBtm.png +0 -0
  32. data/app/assets/images/heart/tooltip/tipBtm280.png +0 -0
  33. data/app/assets/images/heart/tooltip/tipBtm280b.png +0 -0
  34. data/app/assets/images/heart/tooltip/tipMid.png +0 -0
  35. data/app/assets/images/heart/tooltip/tipMid280.png +0 -0
  36. data/app/assets/images/heart/tooltip/tipMid280b.png +0 -0
  37. data/app/assets/images/heart/tooltip/tipMid280g.png +0 -0
  38. data/app/assets/images/heart/tooltip/tipMid280w.png +0 -0
  39. data/app/assets/images/heart/tooltip/tipTop.png +0 -0
  40. data/app/assets/images/heart/tooltip/tipTop280.png +0 -0
  41. data/app/assets/images/heart/tooltip/tipTop280b.png +0 -0
  42. data/app/assets/images/heart/us.png +0 -0
  43. data/app/assets/images/heart/zoom.png +0 -0
  44. data/app/assets/images/heart/zoom_off.png +0 -0
  45. data/app/assets/javascripts/heart/application.js +201 -0
  46. data/app/assets/javascripts/heart/flot/jquery.colorhelpers.min.js +1 -0
  47. data/app/assets/javascripts/heart/flot/jquery.flot.annotate.js +136 -0
  48. data/app/assets/javascripts/heart/flot/jquery.flot.crosshair.min.js +1 -0
  49. data/app/assets/javascripts/heart/flot/jquery.flot.fillbetween.js +183 -0
  50. data/app/assets/javascripts/heart/flot/jquery.flot.growing.js +140 -0
  51. data/app/assets/javascripts/heart/flot/jquery.flot.js +2651 -0
  52. data/app/assets/javascripts/heart/flot/jquery.flot.navigate.js +336 -0
  53. data/app/assets/javascripts/heart/flot/jquery.flot.pie.js +751 -0
  54. data/app/assets/javascripts/heart/flot/jquery.flot.resize.js +60 -0
  55. data/app/assets/javascripts/heart/flot/jquery.flot.selection.min.js +1 -0
  56. data/app/assets/javascripts/heart/flot/jquery.flot.stack.min.js +1 -0
  57. data/app/assets/javascripts/heart/flot/jquery.flot.symbols.js +85 -0
  58. data/app/assets/javascripts/heart/flot/jquery.flot.threshold.min.js +1 -0
  59. data/app/assets/javascripts/heart/heart.js +664 -0
  60. data/app/assets/javascripts/heart/jquery-1-5-2.js +16 -0
  61. data/app/assets/javascripts/heart/jquery-ui-1.8.7.custom.min.js +781 -0
  62. data/app/assets/javascripts/heart/jquery.betterTooltip.js +108 -0
  63. data/app/assets/javascripts/heart/json2.js +480 -0
  64. data/app/assets/stylesheets/heart/application.css +13 -0
  65. data/app/assets/stylesheets/heart/bluetrip/css/ie.css +29 -0
  66. data/app/assets/stylesheets/heart/bluetrip/css/print.css +46 -0
  67. data/app/assets/stylesheets/heart/bluetrip/css/screen.css +321 -0
  68. data/app/assets/stylesheets/heart/bluetrip/images/grid.png +0 -0
  69. data/app/assets/stylesheets/heart/bluetrip/images/grid.psd +0 -0
  70. data/app/assets/stylesheets/heart/bluetrip/images/icons/cross.png +0 -0
  71. data/app/assets/stylesheets/heart/bluetrip/images/icons/doc.png +0 -0
  72. data/app/assets/stylesheets/heart/bluetrip/images/icons/email.png +0 -0
  73. data/app/assets/stylesheets/heart/bluetrip/images/icons/external.png +0 -0
  74. data/app/assets/stylesheets/heart/bluetrip/images/icons/feed.png +0 -0
  75. data/app/assets/stylesheets/heart/bluetrip/images/icons/im.png +0 -0
  76. data/app/assets/stylesheets/heart/bluetrip/images/icons/information.png +0 -0
  77. data/app/assets/stylesheets/heart/bluetrip/images/icons/key.png +0 -0
  78. data/app/assets/stylesheets/heart/bluetrip/images/icons/pdf.png +0 -0
  79. data/app/assets/stylesheets/heart/bluetrip/images/icons/tick.png +0 -0
  80. data/app/assets/stylesheets/heart/bluetrip/images/icons/visited.png +0 -0
  81. data/app/assets/stylesheets/heart/bluetrip/images/icons/xls.png +0 -0
  82. data/app/assets/stylesheets/heart/bluetrip/images/test-small.jpg +0 -0
  83. data/app/assets/stylesheets/heart/buttons.css +821 -0
  84. data/app/assets/stylesheets/heart/heart.css.erb +480 -0
  85. data/app/assets/stylesheets/heart/start/images/ui-bg_flat_55_999999_40x100.png +0 -0
  86. data/app/assets/stylesheets/heart/start/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  87. data/app/assets/stylesheets/heart/start/images/ui-bg_glass_45_0078ae_1x400.png +0 -0
  88. data/app/assets/stylesheets/heart/start/images/ui-bg_glass_55_f8da4e_1x400.png +0 -0
  89. data/app/assets/stylesheets/heart/start/images/ui-bg_glass_75_79c9ec_1x400.png +0 -0
  90. data/app/assets/stylesheets/heart/start/images/ui-bg_gloss-wave_45_e14f1c_500x100.png +0 -0
  91. data/app/assets/stylesheets/heart/start/images/ui-bg_gloss-wave_50_6eac2c_500x100.png +0 -0
  92. data/app/assets/stylesheets/heart/start/images/ui-bg_gloss-wave_75_2191c0_500x100.png +0 -0
  93. data/app/assets/stylesheets/heart/start/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  94. data/app/assets/stylesheets/heart/start/images/ui-icons_0078ae_256x240.png +0 -0
  95. data/app/assets/stylesheets/heart/start/images/ui-icons_056b93_256x240.png +0 -0
  96. data/app/assets/stylesheets/heart/start/images/ui-icons_d8e7f3_256x240.png +0 -0
  97. data/app/assets/stylesheets/heart/start/images/ui-icons_e0fdff_256x240.png +0 -0
  98. data/app/assets/stylesheets/heart/start/images/ui-icons_f5e175_256x240.png +0 -0
  99. data/app/assets/stylesheets/heart/start/images/ui-icons_f7a50d_256x240.png +0 -0
  100. data/app/assets/stylesheets/heart/start/images/ui-icons_fcd113_256x240.png +0 -0
  101. data/app/assets/stylesheets/heart/start/jquery-ui-1.8.7.custom.css +572 -0
  102. data/app/controllers/heart/annotations_controller.rb +22 -0
  103. data/app/controllers/heart/application_controller.rb +21 -0
  104. data/app/controllers/heart/dashboards_controller.rb +85 -0
  105. data/app/controllers/heart/images_controller.rb +19 -0
  106. data/app/controllers/heart/metrics_controller.rb +35 -0
  107. data/app/helpers/heart/application_helper.rb +13 -0
  108. data/app/helpers/heart/dashboards_helper.rb +106 -0
  109. data/app/models/heart/annotation.rb +19 -0
  110. data/app/models/heart/application.rb +5 -0
  111. data/app/models/heart/dashboard.rb +6 -0
  112. data/app/models/heart/image.rb +5 -0
  113. data/app/models/heart/isometric.rb +8 -0
  114. data/app/models/heart/metric.rb +138 -0
  115. data/app/views/heart/annotations/create.js.haml +1 -0
  116. data/app/views/heart/annotations/description.js.haml +2 -0
  117. data/app/views/heart/dashboards/_annotation.haml +13 -0
  118. data/app/views/heart/dashboards/_dashblock.haml +17 -0
  119. data/app/views/heart/dashboards/_dashboard_form.html.haml +89 -0
  120. data/app/views/heart/dashboards/_graph_options.html.haml +24 -0
  121. data/app/views/heart/dashboards/_heart_form.html.haml +100 -0
  122. data/app/views/heart/dashboards/default.html.haml +32 -0
  123. data/app/views/heart/dashboards/edit.html.haml +14 -0
  124. data/app/views/heart/dashboards/flotit.js.haml +6 -0
  125. data/app/views/heart/dashboards/index.html.haml +19 -0
  126. data/app/views/heart/dashboards/new.html.haml +3 -0
  127. data/app/views/heart/dashboards/show.html.haml +65 -0
  128. data/app/views/heart/metrics/cache.html.haml +3 -0
  129. data/app/views/heart/metrics/fetch.html.haml +2 -0
  130. data/app/views/heart/metrics/index.html.haml +12 -0
  131. data/app/views/heart/metrics/show.html.haml +25 -0
  132. data/app/views/layouts/heart_engine.html.haml +88 -0
  133. data/config/cucumber.yml +8 -0
  134. data/config/locales/en.yml +63 -0
  135. data/config/locales/ja.yml +63 -0
  136. data/config/routes.rb +25 -0
  137. data/db/migrate/20130902050854_create_heart_metrics.rb +16 -0
  138. data/db/migrate/20130902051427_create_heart_isometrics.rb +9 -0
  139. data/db/migrate/20130902080256_create_heart_dashboards.rb +13 -0
  140. data/db/migrate/20130902080823_create_heart_annotations.rb +10 -0
  141. data/db/migrate/20130902081206_create_heart_images.rb +11 -0
  142. data/lib/heart/engine.rb +22 -0
  143. data/lib/heart/version.rb +3 -0
  144. data/lib/heart.rb +4 -0
  145. data/lib/tasks/cucumber.rake +65 -0
  146. data/lib/tasks/heart_tasks.rake +85 -0
  147. data/test/dummy/README.rdoc +261 -0
  148. data/test/dummy/Rakefile +7 -0
  149. data/test/dummy/app/assets/javascripts/application.js +15 -0
  150. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  151. data/test/dummy/app/controllers/application_controller.rb +3 -0
  152. data/test/dummy/app/helpers/application_helper.rb +2 -0
  153. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  154. data/test/dummy/config/application.rb +59 -0
  155. data/test/dummy/config/boot.rb +10 -0
  156. data/test/dummy/config/database.yml +21 -0
  157. data/test/dummy/config/environment.rb +5 -0
  158. data/test/dummy/config/environments/development.rb +37 -0
  159. data/test/dummy/config/environments/production.rb +67 -0
  160. data/test/dummy/config/environments/test.rb +37 -0
  161. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  162. data/test/dummy/config/initializers/inflections.rb +15 -0
  163. data/test/dummy/config/initializers/mime_types.rb +5 -0
  164. data/test/dummy/config/initializers/secret_token.rb +7 -0
  165. data/test/dummy/config/initializers/session_store.rb +8 -0
  166. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  167. data/test/dummy/config/locales/en.yml +5 -0
  168. data/test/dummy/config/routes.rb +4 -0
  169. data/test/dummy/config.ru +4 -0
  170. data/test/dummy/db/development.sqlite3 +0 -0
  171. data/test/dummy/db/migrate/20130902083555_create_heart_metrics.heart.rb +17 -0
  172. data/test/dummy/db/migrate/20130902083556_create_heart_isometrics.heart.rb +10 -0
  173. data/test/dummy/db/migrate/20130902083557_create_heart_dashboards.heart.rb +14 -0
  174. data/test/dummy/db/migrate/20130902083558_create_heart_annotations.heart.rb +11 -0
  175. data/test/dummy/db/migrate/20130902083559_create_heart_images.heart.rb +12 -0
  176. data/test/dummy/db/migrate/20130902083560_create_heart_configurations.heart.rb +12 -0
  177. data/test/dummy/db/migrate/20130902084029_add_posts_new_to_metrics.rb +10 -0
  178. data/test/dummy/db/schema.rb +76 -0
  179. data/test/dummy/db/test.sqlite3 +0 -0
  180. data/test/dummy/features/dashboards/overview.feature +39 -0
  181. data/test/dummy/features/language_switching.feature +12 -0
  182. data/test/dummy/features/link_to_this.feature +6 -0
  183. data/test/dummy/features/metrics/exporting.feature +13 -0
  184. data/test/dummy/features/metrics/fetching.feature +0 -0
  185. data/test/dummy/features/metrics/graphing.feature +13 -0
  186. data/test/dummy/features/metrics/summing.feature +0 -0
  187. data/test/dummy/features/step_definitions/dashboard_steps.rb +76 -0
  188. data/test/dummy/features/step_definitions/exporting_steps.rb +24 -0
  189. data/test/dummy/features/step_definitions/generic_steps.rb.example +101 -0
  190. data/test/dummy/features/step_definitions/graphing_steps.rb +37 -0
  191. data/test/dummy/features/step_definitions/language_switching_steps.rb +26 -0
  192. data/test/dummy/features/step_definitions/link_to_steps.rb +12 -0
  193. data/test/dummy/features/support/env.rb +64 -0
  194. data/test/dummy/features/support/factories.rb +16 -0
  195. data/test/dummy/features/support/hooks.rb +3 -0
  196. data/test/dummy/features/support/world_extensions.rb +1 -0
  197. data/test/dummy/log/development.log +549 -0
  198. data/test/dummy/log/test.log +19866 -0
  199. data/test/dummy/public/404.html +26 -0
  200. data/test/dummy/public/422.html +26 -0
  201. data/test/dummy/public/500.html +25 -0
  202. data/test/dummy/public/favicon.ico +0 -0
  203. data/test/dummy/script/rails +6 -0
  204. data/test/dummy/tmp/cache/assets/B7A/D60/sprockets%2F12305388866122331aea456101382236 +0 -0
  205. data/test/dummy/tmp/cache/assets/BE3/050/sprockets%2F0421426926cdd29806245aa078142462 +0 -0
  206. data/test/dummy/tmp/cache/assets/C3E/2A0/sprockets%2Fe37f35746618667d995a3587734e1f14 +0 -0
  207. data/test/dummy/tmp/cache/assets/C4F/0C0/sprockets%2Fb0695bc459d01217161ae9028368b856 +0 -0
  208. data/test/dummy/tmp/cache/assets/C57/200/sprockets%2F2e442476c863f14144881e259b1b597a +0 -0
  209. data/test/dummy/tmp/cache/assets/C61/A80/sprockets%2F7f20dd76170d803754a3085694f669e6 +0 -0
  210. data/test/dummy/tmp/cache/assets/C6B/710/sprockets%2F61a084f53ca308b115c54491f5b38120 +0 -0
  211. data/test/dummy/tmp/cache/assets/C76/680/sprockets%2Fb72c325230e403c89a229efd94013438 +0 -0
  212. data/test/dummy/tmp/cache/assets/C7D/AD0/sprockets%2Fa702e8b86f4697101583ea24307b7a53 +0 -0
  213. data/test/dummy/tmp/cache/assets/C81/4B0/sprockets%2F115a9d464b8720982880ad4926aaf505 +0 -0
  214. data/test/dummy/tmp/cache/assets/C83/670/sprockets%2F125f9496da25b06ace8951e752253273 +0 -0
  215. data/test/dummy/tmp/cache/assets/C86/DC0/sprockets%2F26269d2349fba3c41619fe3e88363044 +0 -0
  216. data/test/dummy/tmp/cache/assets/CA6/170/sprockets%2F6e0bb6a54c8f40c3419b183772c73331 +0 -0
  217. data/test/dummy/tmp/cache/assets/CAF/B10/sprockets%2F68ee8201881a1c1d3d987490e5015ed0 +0 -0
  218. data/test/dummy/tmp/cache/assets/CB6/080/sprockets%2F735f5d59ce0703357780bf4a574490ca +0 -0
  219. data/test/dummy/tmp/cache/assets/CB6/490/sprockets%2Fc4b6a866f5d3627d2a186e2095e60717 +0 -0
  220. data/test/dummy/tmp/cache/assets/CB9/9E0/sprockets%2F7a20a269f11f7331c8a56908c68f18d9 +0 -0
  221. data/test/dummy/tmp/cache/assets/CBB/950/sprockets%2F575827e14ba8d9920284eae267874ca1 +0 -0
  222. data/test/dummy/tmp/cache/assets/CBE/3A0/sprockets%2F73bdae55823e56e6f3796265941b36d1 +0 -0
  223. data/test/dummy/tmp/cache/assets/CC2/A70/sprockets%2F99163775fcea80cf5530f8808188e40b +0 -0
  224. data/test/dummy/tmp/cache/assets/CCB/970/sprockets%2F472690f680dd7d91690ebf603f7685e8 +0 -0
  225. data/test/dummy/tmp/cache/assets/CCB/CA0/sprockets%2F9b705933be3255cfd4938a9c99146e69 +0 -0
  226. data/test/dummy/tmp/cache/assets/CCF/FE0/sprockets%2Fea0015147c89d0181ba9460464bbf08c +0 -0
  227. data/test/dummy/tmp/cache/assets/CD1/1C0/sprockets%2F675a331d19ae21eaa532b27aa7606955 +0 -0
  228. data/test/dummy/tmp/cache/assets/CD1/320/sprockets%2Fb09e869800e3e0a0d7805d4c1c7113d1 +0 -0
  229. data/test/dummy/tmp/cache/assets/CD5/1C0/sprockets%2F9a8012934e9d2f70a66c43310e3e44ab +0 -0
  230. data/test/dummy/tmp/cache/assets/CD7/270/sprockets%2F3bc51cb676bca1416770598d28109fa0 +0 -0
  231. data/test/dummy/tmp/cache/assets/CE0/E50/sprockets%2F9814922a41a67b828e462b31accb38f8 +0 -0
  232. data/test/dummy/tmp/cache/assets/CE3/A70/sprockets%2F87a37405e84d5a30dd672cf6148ec119 +0 -0
  233. data/test/dummy/tmp/cache/assets/CE4/050/sprockets%2F21d0ae6e0a782753af4ed2492e959671 +0 -0
  234. data/test/dummy/tmp/cache/assets/CE4/D80/sprockets%2Fa98448b0f9e10bf393a552d26664d7a3 +0 -0
  235. data/test/dummy/tmp/cache/assets/CE7/F80/sprockets%2F7715072387d4d8e6193c2ffda13a375f +0 -0
  236. data/test/dummy/tmp/cache/assets/CE8/890/sprockets%2F394187006c387afef0429558db43bf4e +0 -0
  237. data/test/dummy/tmp/cache/assets/CE8/CE0/sprockets%2F5c698abb053124d9a5421666bf75c8f8 +0 -0
  238. data/test/dummy/tmp/cache/assets/CF1/7B0/sprockets%2Fa447299b5fa19244e6a281825f9e77dc +0 -0
  239. data/test/dummy/tmp/cache/assets/CF1/CD0/sprockets%2Fd06db0e7d91462ed5ea64694583797e2 +0 -0
  240. data/test/dummy/tmp/cache/assets/CF2/070/sprockets%2Fca7b20d93194b5827d9d57837578b6db +0 -0
  241. data/test/dummy/tmp/cache/assets/CF2/C20/sprockets%2F7b5779909f4f5440c9d0874af23d63db +0 -0
  242. data/test/dummy/tmp/cache/assets/CF4/B20/sprockets%2F604291e761acf24ffb2998f369b176e8 +0 -0
  243. data/test/dummy/tmp/cache/assets/CF6/220/sprockets%2F06bd95eb7a76f96eb2d8c54782607745 +0 -0
  244. data/test/dummy/tmp/cache/assets/CFD/E70/sprockets%2F6cb7d8f69c8c4e1f246868d46f017639 +0 -0
  245. data/test/dummy/tmp/cache/assets/D00/5C0/sprockets%2F9abbd043d031592a556306748dbaeb26 +0 -0
  246. data/test/dummy/tmp/cache/assets/D02/000/sprockets%2F842565584accd26c5572aa1d15b3bb35 +0 -0
  247. data/test/dummy/tmp/cache/assets/D02/7C0/sprockets%2Fa4900a35834e0ab16a2ae17b6887a66d +0 -0
  248. data/test/dummy/tmp/cache/assets/D04/920/sprockets%2F5830c0ccdb2a54d7848283d21f44e2a4 +0 -0
  249. data/test/dummy/tmp/cache/assets/D05/FC0/sprockets%2Fd06631201fe7c8760eea1e3ffd351191 +0 -0
  250. data/test/dummy/tmp/cache/assets/D06/8C0/sprockets%2Faae533655b6c51d0b999ce29015c4c03 +0 -0
  251. data/test/dummy/tmp/cache/assets/D0B/350/sprockets%2F58255cc783163fa49e6caa32e01af293 +0 -0
  252. data/test/dummy/tmp/cache/assets/D0E/560/sprockets%2Ffb853b302b8b8338911fd212f3e9d65a +0 -0
  253. data/test/dummy/tmp/cache/assets/D0F/340/sprockets%2F81d96cf056d0ab1856c588f181b21fe0 +0 -0
  254. data/test/dummy/tmp/cache/assets/D18/460/sprockets%2Fb0145de92306b4c1bedc53aa0030e522 +0 -0
  255. data/test/dummy/tmp/cache/assets/D19/710/sprockets%2F90db64737e5b2ef37757b1cc2e52909d +0 -0
  256. data/test/dummy/tmp/cache/assets/D1C/270/sprockets%2F1475adbe1d4ec03f947d379865d477b3 +0 -0
  257. data/test/dummy/tmp/cache/assets/D27/770/sprockets%2Fa10a1cef30d33ecec13933b36280c548 +0 -0
  258. data/test/dummy/tmp/cache/assets/D27/7B0/sprockets%2F6401357b67027ace91aae0cbcf5e4021 +0 -0
  259. data/test/dummy/tmp/cache/assets/D2B/700/sprockets%2Fe90d34a411e79a9d1b510ae04c80e04e +0 -0
  260. data/test/dummy/tmp/cache/assets/D34/100/sprockets%2F504aeb3e34faa21a7c9fa726264934d3 +0 -0
  261. data/test/dummy/tmp/cache/assets/D35/560/sprockets%2Fa79fc4b2a2293acaa002547e93d9704e +0 -0
  262. data/test/dummy/tmp/cache/assets/D35/F80/sprockets%2Ffb91b5a46525f11e9f6658a0daa005d4 +0 -0
  263. data/test/dummy/tmp/cache/assets/D38/A70/sprockets%2F56d65a0db0739f5f1a215bde93528f0a +0 -0
  264. data/test/dummy/tmp/cache/assets/D3A/A50/sprockets%2F1edbcb279564b5c4a85c13aa6940b279 +0 -0
  265. data/test/dummy/tmp/cache/assets/D3B/A10/sprockets%2F2cecd599ad2374ea47112715ae70ea49 +0 -0
  266. data/test/dummy/tmp/cache/assets/D3B/CF0/sprockets%2F4cac58b5d3abf581ca5857583017d3e1 +0 -0
  267. data/test/dummy/tmp/cache/assets/D3B/EF0/sprockets%2F996d2466d00c1bacc4351f87e2d5e62a +0 -0
  268. data/test/dummy/tmp/cache/assets/D3E/410/sprockets%2F4d2270e9821b7d9658df04c4adbdf214 +0 -0
  269. data/test/dummy/tmp/cache/assets/D43/FC0/sprockets%2F7f972ba9de00917d116bfc1c7126e8d6 +0 -0
  270. data/test/dummy/tmp/cache/assets/D4A/E50/sprockets%2Fa876a03aed98118f76cac6e916ff5423 +0 -0
  271. data/test/dummy/tmp/cache/assets/D4B/310/sprockets%2F3402fd809cbee959fdb8db9950a37342 +0 -0
  272. data/test/dummy/tmp/cache/assets/D4C/E60/sprockets%2Fcd389726cc723176e5547ac75cc3fbc8 +0 -0
  273. data/test/dummy/tmp/cache/assets/D52/590/sprockets%2Fae4195e4fc883e26b828d9c7b525ff42 +0 -0
  274. data/test/dummy/tmp/cache/assets/D52/730/sprockets%2Fd92d03a100128cafe40eb231c3c77ba9 +0 -0
  275. data/test/dummy/tmp/cache/assets/D53/4E0/sprockets%2F6b5c3667b962d3740c9de6a5b9bfc948 +0 -0
  276. data/test/dummy/tmp/cache/assets/D59/B40/sprockets%2F29c73ae2b2a2dcf81b5210703eeed252 +0 -0
  277. data/test/dummy/tmp/cache/assets/D5A/5F0/sprockets%2Fa03a93be0c8545371de91a5cab10fe52 +0 -0
  278. data/test/dummy/tmp/cache/assets/D5D/820/sprockets%2F60c2f35af5ce8dc4ab2a724043fd0373 +0 -0
  279. data/test/dummy/tmp/cache/assets/D5D/C10/sprockets%2Fa56376015a3d663ddeb1c90e3faa901b +0 -0
  280. data/test/dummy/tmp/cache/assets/D5E/030/sprockets%2Fb709d4ed36a3b17b21a42a66ae0098fb +0 -0
  281. data/test/dummy/tmp/cache/assets/D5F/6D0/sprockets%2Ff1f0426663c9048eceaa032dc3f05b5c +0 -0
  282. data/test/dummy/tmp/cache/assets/D64/540/sprockets%2F8b24e4230a33d44ed39d3d4ca015f7ff +0 -0
  283. data/test/dummy/tmp/cache/assets/D66/7D0/sprockets%2F6d2be390800b01686b6aeb7bba686c7b +0 -0
  284. data/test/dummy/tmp/cache/assets/D68/7F0/sprockets%2F35b0c94f2372250feee3c76a8bad07d4 +0 -0
  285. data/test/dummy/tmp/cache/assets/D69/F50/sprockets%2F0fe620b4cef107c5b770d70c5bbe6839 +0 -0
  286. data/test/dummy/tmp/cache/assets/D6A/630/sprockets%2F0e159a9bce743e35c180d0eceac52487 +0 -0
  287. data/test/dummy/tmp/cache/assets/D6F/120/sprockets%2F09730b5eed71a1971eb1ed85f0cd8c28 +0 -0
  288. data/test/dummy/tmp/cache/assets/D73/5A0/sprockets%2F726af59d1d3774cebabf5011f2a9955f +0 -0
  289. data/test/dummy/tmp/cache/assets/D76/410/sprockets%2F3ba75e6fe03df5d227c7e7a54be98720 +0 -0
  290. data/test/dummy/tmp/cache/assets/D76/750/sprockets%2F4422ff4ebec16419ef79a9a9d3f530f0 +0 -0
  291. data/test/dummy/tmp/cache/assets/D78/460/sprockets%2Ff8b234b2bfb694b85d927c693aba7d54 +0 -0
  292. data/test/dummy/tmp/cache/assets/D79/4F0/sprockets%2F0323ebeae0a56602aa023c9bb268b3ab +0 -0
  293. data/test/dummy/tmp/cache/assets/D7B/AF0/sprockets%2Fe1e0818c824997cffe5e04f2bff31e26 +0 -0
  294. data/test/dummy/tmp/cache/assets/D94/590/sprockets%2F95f6b48a4415cb3ab8acc4e0da36750d +0 -0
  295. data/test/dummy/tmp/cache/assets/D99/890/sprockets%2F783e81abd4c0cf96b0642acde9b7202f +0 -0
  296. data/test/dummy/tmp/cache/assets/D9A/FB0/sprockets%2F4bd1e3c2f82a72a0d6f8935ed92aeb60 +0 -0
  297. data/test/dummy/tmp/cache/assets/D9E/A00/sprockets%2Fdb6bd6ed1be390eb760409309a6d79ad +0 -0
  298. data/test/dummy/tmp/cache/assets/D9F/6D0/sprockets%2F6da6b2d77e0c546c69a3bb1720f9b9cd +0 -0
  299. data/test/dummy/tmp/cache/assets/DA1/050/sprockets%2F082944b24f4e6533ce0ce9fa64fadf5b +0 -0
  300. data/test/dummy/tmp/cache/assets/DA5/3B0/sprockets%2Fc5e9c4c0d3563ae2b49bf7cd67f458b1 +0 -0
  301. data/test/dummy/tmp/cache/assets/DAA/300/sprockets%2Ff4ebcefbb66ce3f58d70987c6123523e +0 -0
  302. data/test/dummy/tmp/cache/assets/DB1/C10/sprockets%2Fddabb257ba3637433fc7729f79fe6c9e +0 -0
  303. data/test/dummy/tmp/cache/assets/DB1/C90/sprockets%2Fdf909d50d7a568a1bc9dd9e47baf4973 +0 -0
  304. data/test/dummy/tmp/cache/assets/DB9/800/sprockets%2Fbd0a2a66976fd5ef12be3ac3e22d100e +0 -0
  305. data/test/dummy/tmp/cache/assets/DC2/1D0/sprockets%2F548c5a2d07c2b3db2eea9a24e2e25c9c +0 -0
  306. data/test/dummy/tmp/cache/assets/DC3/C30/sprockets%2F45d3db961ffaa14a7acb04d139f3ae93 +0 -0
  307. data/test/dummy/tmp/cache/assets/DC8/180/sprockets%2F44add687b1c02f2afd55b3dc9d58a04f +0 -0
  308. data/test/dummy/tmp/cache/assets/DCB/0A0/sprockets%2Ffec15e165ae6e45fe4d36b903fccf103 +0 -0
  309. data/test/dummy/tmp/cache/assets/DCC/6C0/sprockets%2F1dd6adb3594e3cf84ce35ea45114ead9 +0 -0
  310. data/test/dummy/tmp/cache/assets/DCD/350/sprockets%2F0a1ad87bab5ab47f377d5f87736acdd2 +0 -0
  311. data/test/dummy/tmp/cache/assets/DCD/ED0/sprockets%2Fe3e1abc488563aa8c2d44c9b8b5b2f6c +0 -0
  312. data/test/dummy/tmp/cache/assets/DD1/620/sprockets%2F3c34c92afb93cab6ab8f1640683ee8fd +0 -0
  313. data/test/dummy/tmp/cache/assets/DD2/2B0/sprockets%2Fcb959dcb42fe971fef3b07705a4de60b +0 -0
  314. data/test/dummy/tmp/cache/assets/DD4/DB0/sprockets%2Fd16e7fa5788cebf2c0335cfb5a94d5b5 +0 -0
  315. data/test/dummy/tmp/cache/assets/DDA/140/sprockets%2F9dab37c1f47e99ba86bf306fbed67c23 +0 -0
  316. data/test/dummy/tmp/cache/assets/DF0/C50/sprockets%2Fc3dee69afa21d4462d0fda717c2f5a1b +0 -0
  317. data/test/dummy/tmp/cache/assets/DF3/CE0/sprockets%2Fd413b4fcbf2a3afe3a2f96fb3b22349f +0 -0
  318. data/test/dummy/tmp/cache/assets/DF5/020/sprockets%2Ffdbfbdaa7be9bc2fa2824455b9f36200 +0 -0
  319. data/test/dummy/tmp/cache/assets/DFB/120/sprockets%2F56abeace37f20e8ed908bb19c26c73ca +0 -0
  320. data/test/dummy/tmp/cache/assets/DFE/9D0/sprockets%2Fdfd5d12ea923dd88dd2fb5c56c2a6a73 +0 -0
  321. data/test/dummy/tmp/cache/assets/E04/670/sprockets%2Fe9e9c736dab1268ea76aed2ba1cf51f9 +0 -0
  322. data/test/dummy/tmp/cache/assets/E11/620/sprockets%2Fb79efcee1bf9f7559d26cc36bcbd6481 +0 -0
  323. data/test/dummy/tmp/cache/assets/E15/B10/sprockets%2F8fded28e5dfea96f7f42212ee4de8d82 +0 -0
  324. data/test/dummy/tmp/cache/assets/E1E/A70/sprockets%2F4a6f52c1cf40efaf040aabe5eca74c86 +0 -0
  325. data/test/dummy/tmp/cache/assets/E2F/B60/sprockets%2F9e9f03eab43fa8aeeb4aa97f1dff2171 +0 -0
  326. data/test/dummy/tmp/cache/assets/E3E/D60/sprockets%2F51bfcacbab0f9acbbcd331e31e095c40 +0 -0
  327. data/test/dummy/tmp/cache/assets/E4E/FE0/sprockets%2Fee2cecebeb842cdbbcfc530d13d50546 +0 -0
  328. data/test/dummy/tmp/cache/assets/E50/170/sprockets%2Faa1cd6441f82b0f9bfa1baffe5ce3c81 +0 -0
  329. data/test/dummy/tmp/cache/assets/E54/7B0/sprockets%2F7eba769afbacdcd2b019e3ae52fdb093 +0 -0
  330. data/test/dummy/tmp/cache/assets/E6C/5E0/sprockets%2F48dce5eee43c4ec8f9daa25a7fb847be +0 -0
  331. data/test/dummy/tmp/cache/assets/E86/5D0/sprockets%2Fec1c00efc9e5ebfa6c0576eb1ddfd60d +0 -0
  332. data/test/dummy/tmp/cache/assets/E8A/510/sprockets%2F4dcf2d4f6fbfe6af61adafbed37240a8 +0 -0
  333. data/test/dummy/tmp/cache/assets/E91/E50/sprockets%2F6caf6f973c4dfd0a94ca97da0cbfb8da +0 -0
  334. data/test/dummy/tmp/cache/assets/F0C/2E0/sprockets%2Fbcad47aa7a1eda0cc0fdc3eac6cb99fd +0 -0
  335. data/test/fixtures/heart/annotations.yml +11 -0
  336. data/test/fixtures/heart/configurations.yml +11 -0
  337. data/test/fixtures/heart/dashboards.yml +11 -0
  338. data/test/fixtures/heart/images.yml +11 -0
  339. data/test/fixtures/heart/isometrics.yml +11 -0
  340. data/test/fixtures/heart/metrics.yml +11 -0
  341. data/test/functional/heart/annotations_controller_test.rb +9 -0
  342. data/test/functional/heart/dashboards_controller_test.rb +9 -0
  343. data/test/functional/heart/images_controller_test.rb +9 -0
  344. data/test/functional/heart/metrics_controller_test.rb +9 -0
  345. data/test/heart_test.rb +7 -0
  346. data/test/integration/navigation_test.rb +10 -0
  347. data/test/test_helper.rb +15 -0
  348. data/test/unit/heart/annotation_test.rb +9 -0
  349. data/test/unit/heart/configuration_test.rb +9 -0
  350. data/test/unit/heart/dashboard_test.rb +9 -0
  351. data/test/unit/heart/image_test.rb +9 -0
  352. data/test/unit/heart/isometric_test.rb +9 -0
  353. data/test/unit/heart/metric_test.rb +9 -0
  354. data/test/unit/helpers/heart/annotations_helper_test.rb +6 -0
  355. data/test/unit/helpers/heart/dashboards_helper_test.rb +6 -0
  356. data/test/unit/helpers/heart/images_helper_test.rb +6 -0
  357. data/test/unit/helpers/heart/metrics_helper_test.rb +6 -0
  358. metadata +791 -0
@@ -0,0 +1,572 @@
1
+ /*
2
+ * jQuery UI CSS Framework 1.8.7
3
+ *
4
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Theming/API
9
+ */
10
+
11
+ /* Layout helpers
12
+ ----------------------------------*/
13
+ .ui-helper-hidden { display: none; }
14
+ .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
15
+ .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
16
+ .ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
17
+ .ui-helper-clearfix { display: inline-block; }
18
+ /* required comment for clearfix to work in Opera \*/
19
+ * html .ui-helper-clearfix { height:1%; }
20
+ .ui-helper-clearfix { display:block; }
21
+ /* end clearfix */
22
+ .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
23
+
24
+
25
+ /* Interaction Cues
26
+ ----------------------------------*/
27
+ .ui-state-disabled { cursor: default !important; }
28
+
29
+
30
+ /* Icons
31
+ ----------------------------------*/
32
+
33
+ /* states and images */
34
+ .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
35
+
36
+
37
+ /* Misc visuals
38
+ ----------------------------------*/
39
+
40
+ /* Overlays */
41
+ .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
42
+
43
+
44
+ /*
45
+ * jQuery UI CSS Framework 1.8.7
46
+ *
47
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
48
+ * Dual licensed under the MIT or GPL Version 2 licenses.
49
+ * http://jquery.org/license
50
+ *
51
+ * http://docs.jquery.com/UI/Theming/API
52
+ *
53
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=5px&bgColorHeader=2191c0&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=75&borderColorHeader=4297d7&fcHeader=eaf5f7&iconColorHeader=d8e7f3&bgColorContent=fcfdfd&bgTextureContent=06_inset_hard.png&bgImgOpacityContent=100&borderColorContent=a6c9e2&fcContent=222222&iconColorContent=0078ae&bgColorDefault=0078ae&bgTextureDefault=02_glass.png&bgImgOpacityDefault=45&borderColorDefault=77d5f7&fcDefault=ffffff&iconColorDefault=e0fdff&bgColorHover=79c9ec&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=448dae&fcHover=026890&iconColorHover=056b93&bgColorActive=6eac2c&bgTextureActive=12_gloss_wave.png&bgImgOpacityActive=50&borderColorActive=acdd4a&fcActive=ffffff&iconColorActive=f5e175&bgColorHighlight=f8da4e&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcd113&fcHighlight=915608&iconColorHighlight=f7a50d&bgColorError=e14f1c&bgTextureError=12_gloss_wave.png&bgImgOpacityError=45&borderColorError=cd0a0a&fcError=ffffff&iconColorError=fcd113&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=75&opacityOverlay=30&bgColorShadow=999999&bgTextureShadow=01_flat.png&bgImgOpacityShadow=55&opacityShadow=45&thicknessShadow=0px&offsetTopShadow=5px&offsetLeftShadow=5px&cornerRadiusShadow=5px
54
+ */
55
+
56
+
57
+ /* Component containers
58
+ ----------------------------------*/
59
+ .ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
60
+ .ui-widget .ui-widget { font-size: 1em; }
61
+ .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; }
62
+ .ui-widget-content { border: 1px solid #a6c9e2; background: #fcfdfd url(images/ui-bg_inset-hard_100_fcfdfd_1x100.png) 50% bottom repeat-x; color: #222222; }
63
+ .ui-widget-content a { color: #222222; }
64
+ .ui-widget-header { border: 1px solid #4297d7; background: #2191c0 url(images/ui-bg_gloss-wave_75_2191c0_500x100.png) 50% 50% repeat-x; color: #eaf5f7; font-weight: bold; }
65
+ .ui-widget-header a { color: #eaf5f7; }
66
+
67
+ /* Interaction states
68
+ ----------------------------------*/
69
+ .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #77d5f7; background: #0078ae url(images/ui-bg_glass_45_0078ae_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #ffffff; }
70
+ .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #ffffff; text-decoration: none; }
71
+ .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 #448dae; background: #79c9ec url(images/ui-bg_glass_75_79c9ec_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #026890; }
72
+ .ui-state-hover a, .ui-state-hover a:hover { color: #026890; text-decoration: none; }
73
+ .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #acdd4a; background: #6eac2c url(images/ui-bg_gloss-wave_50_6eac2c_500x100.png) 50% 50% repeat-x; font-weight: normal; color: #ffffff; }
74
+ .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #ffffff; text-decoration: none; }
75
+ .ui-widget :active { outline: none; }
76
+
77
+ /* Interaction Cues
78
+ ----------------------------------*/
79
+ .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcd113; background: #f8da4e url(images/ui-bg_glass_55_f8da4e_1x400.png) 50% 50% repeat-x; color: #915608; }
80
+ .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #915608; }
81
+ .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #e14f1c url(images/ui-bg_gloss-wave_45_e14f1c_500x100.png) 50% top repeat-x; color: #ffffff; }
82
+ .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; }
83
+ .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; }
84
+ .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
85
+ .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
86
+ .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
87
+
88
+ /* Icons
89
+ ----------------------------------*/
90
+
91
+ /* states and images */
92
+ .ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_0078ae_256x240.png); }
93
+ .ui-widget-content .ui-icon {background-image: url(images/ui-icons_0078ae_256x240.png); }
94
+ .ui-widget-header .ui-icon {background-image: url(images/ui-icons_d8e7f3_256x240.png); }
95
+ .ui-state-default .ui-icon { background-image: url(images/ui-icons_e0fdff_256x240.png); }
96
+ .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_056b93_256x240.png); }
97
+ .ui-state-active .ui-icon {background-image: url(images/ui-icons_f5e175_256x240.png); }
98
+ .ui-state-highlight .ui-icon {background-image: url(images/ui-icons_f7a50d_256x240.png); }
99
+ .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_fcd113_256x240.png); }
100
+
101
+ /* positioning */
102
+ .ui-icon-carat-1-n { background-position: 0 0; }
103
+ .ui-icon-carat-1-ne { background-position: -16px 0; }
104
+ .ui-icon-carat-1-e { background-position: -32px 0; }
105
+ .ui-icon-carat-1-se { background-position: -48px 0; }
106
+ .ui-icon-carat-1-s { background-position: -64px 0; }
107
+ .ui-icon-carat-1-sw { background-position: -80px 0; }
108
+ .ui-icon-carat-1-w { background-position: -96px 0; }
109
+ .ui-icon-carat-1-nw { background-position: -112px 0; }
110
+ .ui-icon-carat-2-n-s { background-position: -128px 0; }
111
+ .ui-icon-carat-2-e-w { background-position: -144px 0; }
112
+ .ui-icon-triangle-1-n { background-position: 0 -16px; }
113
+ .ui-icon-triangle-1-ne { background-position: -16px -16px; }
114
+ .ui-icon-triangle-1-e { background-position: -32px -16px; }
115
+ .ui-icon-triangle-1-se { background-position: -48px -16px; }
116
+ .ui-icon-triangle-1-s { background-position: -64px -16px; }
117
+ .ui-icon-triangle-1-sw { background-position: -80px -16px; }
118
+ .ui-icon-triangle-1-w { background-position: -96px -16px; }
119
+ .ui-icon-triangle-1-nw { background-position: -112px -16px; }
120
+ .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
121
+ .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
122
+ .ui-icon-arrow-1-n { background-position: 0 -32px; }
123
+ .ui-icon-arrow-1-ne { background-position: -16px -32px; }
124
+ .ui-icon-arrow-1-e { background-position: -32px -32px; }
125
+ .ui-icon-arrow-1-se { background-position: -48px -32px; }
126
+ .ui-icon-arrow-1-s { background-position: -64px -32px; }
127
+ .ui-icon-arrow-1-sw { background-position: -80px -32px; }
128
+ .ui-icon-arrow-1-w { background-position: -96px -32px; }
129
+ .ui-icon-arrow-1-nw { background-position: -112px -32px; }
130
+ .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
131
+ .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
132
+ .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
133
+ .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
134
+ .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
135
+ .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
136
+ .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
137
+ .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
138
+ .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
139
+ .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
140
+ .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
141
+ .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
142
+ .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
143
+ .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
144
+ .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
145
+ .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
146
+ .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
147
+ .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
148
+ .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
149
+ .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
150
+ .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
151
+ .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
152
+ .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
153
+ .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
154
+ .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
155
+ .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
156
+ .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
157
+ .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
158
+ .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
159
+ .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
160
+ .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
161
+ .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
162
+ .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
163
+ .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
164
+ .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
165
+ .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
166
+ .ui-icon-arrow-4 { background-position: 0 -80px; }
167
+ .ui-icon-arrow-4-diag { background-position: -16px -80px; }
168
+ .ui-icon-extlink { background-position: -32px -80px; }
169
+ .ui-icon-newwin { background-position: -48px -80px; }
170
+ .ui-icon-refresh { background-position: -64px -80px; }
171
+ .ui-icon-shuffle { background-position: -80px -80px; }
172
+ .ui-icon-transfer-e-w { background-position: -96px -80px; }
173
+ .ui-icon-transferthick-e-w { background-position: -112px -80px; }
174
+ .ui-icon-folder-collapsed { background-position: 0 -96px; }
175
+ .ui-icon-folder-open { background-position: -16px -96px; }
176
+ .ui-icon-document { background-position: -32px -96px; }
177
+ .ui-icon-document-b { background-position: -48px -96px; }
178
+ .ui-icon-note { background-position: -64px -96px; }
179
+ .ui-icon-mail-closed { background-position: -80px -96px; }
180
+ .ui-icon-mail-open { background-position: -96px -96px; }
181
+ .ui-icon-suitcase { background-position: -112px -96px; }
182
+ .ui-icon-comment { background-position: -128px -96px; }
183
+ .ui-icon-person { background-position: -144px -96px; }
184
+ .ui-icon-print { background-position: -160px -96px; }
185
+ .ui-icon-trash { background-position: -176px -96px; }
186
+ .ui-icon-locked { background-position: -192px -96px; }
187
+ .ui-icon-unlocked { background-position: -208px -96px; }
188
+ .ui-icon-bookmark { background-position: -224px -96px; }
189
+ .ui-icon-tag { background-position: -240px -96px; }
190
+ .ui-icon-home { background-position: 0 -112px; }
191
+ .ui-icon-flag { background-position: -16px -112px; }
192
+ .ui-icon-calendar { background-position: -32px -112px; }
193
+ .ui-icon-cart { background-position: -48px -112px; }
194
+ .ui-icon-pencil { background-position: -64px -112px; }
195
+ .ui-icon-clock { background-position: -80px -112px; }
196
+ .ui-icon-disk { background-position: -96px -112px; }
197
+ .ui-icon-calculator { background-position: -112px -112px; }
198
+ .ui-icon-zoomin { background-position: -128px -112px; }
199
+ .ui-icon-zoomout { background-position: -144px -112px; }
200
+ .ui-icon-search { background-position: -160px -112px; }
201
+ .ui-icon-wrench { background-position: -176px -112px; }
202
+ .ui-icon-gear { background-position: -192px -112px; }
203
+ .ui-icon-heart { background-position: -208px -112px; }
204
+ .ui-icon-star { background-position: -224px -112px; }
205
+ .ui-icon-link { background-position: -240px -112px; }
206
+ .ui-icon-cancel { background-position: 0 -128px; }
207
+ .ui-icon-plus { background-position: -16px -128px; }
208
+ .ui-icon-plusthick { background-position: -32px -128px; }
209
+ .ui-icon-minus { background-position: -48px -128px; }
210
+ .ui-icon-minusthick { background-position: -64px -128px; }
211
+ .ui-icon-close { background-position: -80px -128px; }
212
+ .ui-icon-closethick { background-position: -96px -128px; }
213
+ .ui-icon-key { background-position: -112px -128px; }
214
+ .ui-icon-lightbulb { background-position: -128px -128px; }
215
+ .ui-icon-scissors { background-position: -144px -128px; }
216
+ .ui-icon-clipboard { background-position: -160px -128px; }
217
+ .ui-icon-copy { background-position: -176px -128px; }
218
+ .ui-icon-contact { background-position: -192px -128px; }
219
+ .ui-icon-image { background-position: -208px -128px; }
220
+ .ui-icon-video { background-position: -224px -128px; }
221
+ .ui-icon-script { background-position: -240px -128px; }
222
+ .ui-icon-alert { background-position: 0 -144px; }
223
+ .ui-icon-info { background-position: -16px -144px; }
224
+ .ui-icon-notice { background-position: -32px -144px; }
225
+ .ui-icon-help { background-position: -48px -144px; }
226
+ .ui-icon-check { background-position: -64px -144px; }
227
+ .ui-icon-bullet { background-position: -80px -144px; }
228
+ .ui-icon-radio-off { background-position: -96px -144px; }
229
+ .ui-icon-radio-on { background-position: -112px -144px; }
230
+ .ui-icon-pin-w { background-position: -128px -144px; }
231
+ .ui-icon-pin-s { background-position: -144px -144px; }
232
+ .ui-icon-play { background-position: 0 -160px; }
233
+ .ui-icon-pause { background-position: -16px -160px; }
234
+ .ui-icon-seek-next { background-position: -32px -160px; }
235
+ .ui-icon-seek-prev { background-position: -48px -160px; }
236
+ .ui-icon-seek-end { background-position: -64px -160px; }
237
+ .ui-icon-seek-start { background-position: -80px -160px; }
238
+ /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
239
+ .ui-icon-seek-first { background-position: -80px -160px; }
240
+ .ui-icon-stop { background-position: -96px -160px; }
241
+ .ui-icon-eject { background-position: -112px -160px; }
242
+ .ui-icon-volume-off { background-position: -128px -160px; }
243
+ .ui-icon-volume-on { background-position: -144px -160px; }
244
+ .ui-icon-power { background-position: 0 -176px; }
245
+ .ui-icon-signal-diag { background-position: -16px -176px; }
246
+ .ui-icon-signal { background-position: -32px -176px; }
247
+ .ui-icon-battery-0 { background-position: -48px -176px; }
248
+ .ui-icon-battery-1 { background-position: -64px -176px; }
249
+ .ui-icon-battery-2 { background-position: -80px -176px; }
250
+ .ui-icon-battery-3 { background-position: -96px -176px; }
251
+ .ui-icon-circle-plus { background-position: 0 -192px; }
252
+ .ui-icon-circle-minus { background-position: -16px -192px; }
253
+ .ui-icon-circle-close { background-position: -32px -192px; }
254
+ .ui-icon-circle-triangle-e { background-position: -48px -192px; }
255
+ .ui-icon-circle-triangle-s { background-position: -64px -192px; }
256
+ .ui-icon-circle-triangle-w { background-position: -80px -192px; }
257
+ .ui-icon-circle-triangle-n { background-position: -96px -192px; }
258
+ .ui-icon-circle-arrow-e { background-position: -112px -192px; }
259
+ .ui-icon-circle-arrow-s { background-position: -128px -192px; }
260
+ .ui-icon-circle-arrow-w { background-position: -144px -192px; }
261
+ .ui-icon-circle-arrow-n { background-position: -160px -192px; }
262
+ .ui-icon-circle-zoomin { background-position: -176px -192px; }
263
+ .ui-icon-circle-zoomout { background-position: -192px -192px; }
264
+ .ui-icon-circle-check { background-position: -208px -192px; }
265
+ .ui-icon-circlesmall-plus { background-position: 0 -208px; }
266
+ .ui-icon-circlesmall-minus { background-position: -16px -208px; }
267
+ .ui-icon-circlesmall-close { background-position: -32px -208px; }
268
+ .ui-icon-squaresmall-plus { background-position: -48px -208px; }
269
+ .ui-icon-squaresmall-minus { background-position: -64px -208px; }
270
+ .ui-icon-squaresmall-close { background-position: -80px -208px; }
271
+ .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
272
+ .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
273
+ .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
274
+ .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
275
+ .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
276
+ .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
277
+
278
+
279
+ /* Misc visuals
280
+ ----------------------------------*/
281
+
282
+ /* Corner radius */
283
+ .ui-corner-tl { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-left-radius: 5px; }
284
+ .ui-corner-tr { -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; border-top-right-radius: 5px; }
285
+ .ui-corner-bl { -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; }
286
+ .ui-corner-br { -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; }
287
+ .ui-corner-top { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-left-radius: 5px; -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; border-top-right-radius: 5px; }
288
+ .ui-corner-bottom { -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; }
289
+ .ui-corner-right { -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; border-top-right-radius: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; }
290
+ .ui-corner-left { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-left-radius: 5px; -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; }
291
+ .ui-corner-all { -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }
292
+
293
+ /* Overlays */
294
+ .ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_75_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
295
+ .ui-widget-shadow { margin: 5px 0 0 5px; padding: 0px; background: #999999 url(images/ui-bg_flat_55_999999_40x100.png) 50% 50% repeat-x; opacity: .45;filter:Alpha(Opacity=45); -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }/*
296
+ * jQuery UI Resizable 1.8.7
297
+ *
298
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
299
+ * Dual licensed under the MIT or GPL Version 2 licenses.
300
+ * http://jquery.org/license
301
+ *
302
+ * http://docs.jquery.com/UI/Resizable#theming
303
+ */
304
+ .ui-resizable { position: relative;}
305
+ .ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;}
306
+ .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
307
+ .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
308
+ .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
309
+ .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
310
+ .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
311
+ .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
312
+ .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
313
+ .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
314
+ .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*
315
+ * jQuery UI Selectable 1.8.7
316
+ *
317
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
318
+ * Dual licensed under the MIT or GPL Version 2 licenses.
319
+ * http://jquery.org/license
320
+ *
321
+ * http://docs.jquery.com/UI/Selectable#theming
322
+ */
323
+ .ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
324
+ /*
325
+ * jQuery UI Accordion 1.8.7
326
+ *
327
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
328
+ * Dual licensed under the MIT or GPL Version 2 licenses.
329
+ * http://jquery.org/license
330
+ *
331
+ * http://docs.jquery.com/UI/Accordion#theming
332
+ */
333
+ /* IE/Win - Fix animation bug - #4615 */
334
+ .ui-accordion { width: 100%; }
335
+ .ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
336
+ .ui-accordion .ui-accordion-li-fix { display: inline; }
337
+ .ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
338
+ .ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
339
+ .ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
340
+ .ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
341
+ .ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
342
+ .ui-accordion .ui-accordion-content-active { display: block; }/*
343
+ * jQuery UI Autocomplete 1.8.7
344
+ *
345
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
346
+ * Dual licensed under the MIT or GPL Version 2 licenses.
347
+ * http://jquery.org/license
348
+ *
349
+ * http://docs.jquery.com/UI/Autocomplete#theming
350
+ */
351
+ .ui-autocomplete { position: absolute; cursor: default; }
352
+
353
+ /* workarounds */
354
+ * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
355
+
356
+ /*
357
+ * jQuery UI Menu 1.8.7
358
+ *
359
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
360
+ * Dual licensed under the MIT or GPL Version 2 licenses.
361
+ * http://jquery.org/license
362
+ *
363
+ * http://docs.jquery.com/UI/Menu#theming
364
+ */
365
+ .ui-menu {
366
+ list-style:none;
367
+ padding: 2px;
368
+ margin: 0;
369
+ display:block;
370
+ float: left;
371
+ }
372
+ .ui-menu .ui-menu {
373
+ margin-top: -3px;
374
+ }
375
+ .ui-menu .ui-menu-item {
376
+ margin:0;
377
+ padding: 0;
378
+ zoom: 1;
379
+ float: left;
380
+ clear: left;
381
+ width: 100%;
382
+ }
383
+ .ui-menu .ui-menu-item a {
384
+ text-decoration:none;
385
+ display:block;
386
+ padding:.2em .4em;
387
+ line-height:1.5;
388
+ zoom:1;
389
+ }
390
+ .ui-menu .ui-menu-item a.ui-state-hover,
391
+ .ui-menu .ui-menu-item a.ui-state-active {
392
+ font-weight: normal;
393
+ margin: -1px;
394
+ }
395
+ /*
396
+ * jQuery UI Button 1.8.7
397
+ *
398
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
399
+ * Dual licensed under the MIT or GPL Version 2 licenses.
400
+ * http://jquery.org/license
401
+ *
402
+ * http://docs.jquery.com/UI/Button#theming
403
+ */
404
+ .ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
405
+ .ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
406
+ button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
407
+ .ui-button-icons-only { width: 3.4em; }
408
+ button.ui-button-icons-only { width: 3.7em; }
409
+
410
+ /*button text element */
411
+ .ui-button .ui-button-text { display: block; line-height: 1.4; }
412
+ .ui-button-text-only .ui-button-text { padding: .4em 1em; }
413
+ .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
414
+ .ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
415
+ .ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
416
+ .ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
417
+ /* no icon support for input elements, provide padding by default */
418
+ input.ui-button { padding: .4em 1em; }
419
+
420
+ /*button icon element(s) */
421
+ .ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
422
+ .ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
423
+ .ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
424
+ .ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
425
+ .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
426
+
427
+ /*button sets*/
428
+ .ui-buttonset { margin-right: 7px; }
429
+ .ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
430
+
431
+ /* workarounds */
432
+ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
433
+ /*
434
+ * jQuery UI Dialog 1.8.7
435
+ *
436
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
437
+ * Dual licensed under the MIT or GPL Version 2 licenses.
438
+ * http://jquery.org/license
439
+ *
440
+ * http://docs.jquery.com/UI/Dialog#theming
441
+ */
442
+ .ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
443
+ .ui-dialog .ui-dialog-titlebar { padding: .5em 1em .3em; position: relative; }
444
+ .ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; }
445
+ .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
446
+ .ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
447
+ .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
448
+ .ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
449
+ .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
450
+ .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
451
+ .ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
452
+ .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
453
+ .ui-draggable .ui-dialog-titlebar { cursor: move; }
454
+ /*
455
+ * jQuery UI Slider 1.8.7
456
+ *
457
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
458
+ * Dual licensed under the MIT or GPL Version 2 licenses.
459
+ * http://jquery.org/license
460
+ *
461
+ * http://docs.jquery.com/UI/Slider#theming
462
+ */
463
+ .ui-slider { position: relative; text-align: left; }
464
+ .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
465
+ .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
466
+
467
+ .ui-slider-horizontal { height: .8em; }
468
+ .ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
469
+ .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
470
+ .ui-slider-horizontal .ui-slider-range-min { left: 0; }
471
+ .ui-slider-horizontal .ui-slider-range-max { right: 0; }
472
+
473
+ .ui-slider-vertical { width: .8em; height: 100px; }
474
+ .ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
475
+ .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
476
+ .ui-slider-vertical .ui-slider-range-min { bottom: 0; }
477
+ .ui-slider-vertical .ui-slider-range-max { top: 0; }/*
478
+ * jQuery UI Tabs 1.8.7
479
+ *
480
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
481
+ * Dual licensed under the MIT or GPL Version 2 licenses.
482
+ * http://jquery.org/license
483
+ *
484
+ * http://docs.jquery.com/UI/Tabs#theming
485
+ */
486
+ .ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
487
+ .ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
488
+ .ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
489
+ .ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
490
+ .ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
491
+ .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
492
+ .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
493
+ .ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
494
+ .ui-tabs .ui-tabs-hide { display: none !important; }
495
+ /*
496
+ * jQuery UI Datepicker 1.8.7
497
+ *
498
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
499
+ * Dual licensed under the MIT or GPL Version 2 licenses.
500
+ * http://jquery.org/license
501
+ *
502
+ * http://docs.jquery.com/UI/Datepicker#theming
503
+ */
504
+ .ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
505
+ .ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
506
+ .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
507
+ .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
508
+ .ui-datepicker .ui-datepicker-prev { left:2px; }
509
+ .ui-datepicker .ui-datepicker-next { right:2px; }
510
+ .ui-datepicker .ui-datepicker-prev-hover { left:1px; }
511
+ .ui-datepicker .ui-datepicker-next-hover { right:1px; }
512
+ .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; }
513
+ .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
514
+ .ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
515
+ .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
516
+ .ui-datepicker select.ui-datepicker-month,
517
+ .ui-datepicker select.ui-datepicker-year { width: 49%;}
518
+ .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
519
+ .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
520
+ .ui-datepicker td { border: 0; padding: 1px; }
521
+ .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
522
+ .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; }
523
+ .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
524
+ .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
525
+
526
+ /* with multiple calendars */
527
+ .ui-datepicker.ui-datepicker-multi { width:auto; }
528
+ .ui-datepicker-multi .ui-datepicker-group { float:left; }
529
+ .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
530
+ .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
531
+ .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
532
+ .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
533
+ .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
534
+ .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
535
+ .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
536
+ .ui-datepicker-row-break { clear:both; width:100%; }
537
+
538
+ /* RTL support */
539
+ .ui-datepicker-rtl { direction: rtl; }
540
+ .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
541
+ .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
542
+ .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
543
+ .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
544
+ .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
545
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
546
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
547
+ .ui-datepicker-rtl .ui-datepicker-group { float:right; }
548
+ .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
549
+ .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
550
+
551
+ /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
552
+ .ui-datepicker-cover {
553
+ display: none; /*sorry for IE5*/
554
+ display/**/: block; /*sorry for IE5*/
555
+ position: absolute; /*must have*/
556
+ z-index: -1; /*must have*/
557
+ filter: mask(); /*must have*/
558
+ top: -4px; /*must have*/
559
+ left: -4px; /*must have*/
560
+ width: 200px; /*must have*/
561
+ height: 200px; /*must have*/
562
+ }/*
563
+ * jQuery UI Progressbar 1.8.7
564
+ *
565
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
566
+ * Dual licensed under the MIT or GPL Version 2 licenses.
567
+ * http://jquery.org/license
568
+ *
569
+ * http://docs.jquery.com/UI/Progressbar#theming
570
+ */
571
+ .ui-progressbar { height:2em; text-align: left; }
572
+ .ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
@@ -0,0 +1,22 @@
1
+ require_dependency "heart/application_controller"
2
+
3
+ module Heart
4
+ class AnnotationsController < ApplicationController
5
+
6
+ def create
7
+ fulldate = Time.at((params[:fulldate].to_i / 1000)+32400) #flot stores dates in UTC format, so have to add 9 hours to the time to get correct date
8
+ annotation = Heart::Annotation.where(:fulldate => fulldate).first || Heart::Annotation.new(:fulldate => fulldate)
9
+ annotation.note = params[:note]
10
+ annotation.dashboard_id = params[:dashboard_id]
11
+ annotation.save!
12
+ @annotations = Heart::Annotation.visible(:from => Date.parse(params[:date_from]), :to => Date.parse(params[:date_to]))
13
+ end
14
+
15
+ def description
16
+ annotation_hash = {:fulldate => '2999-12-31', :dashboard_id => params[:dashboard_id], :note => params[:note]}
17
+ @annotation = Heart::Annotation.where(annotation_hash).first || Heart::Annotation.new(annotation_hash)
18
+ @annotation.save!
19
+ end
20
+
21
+ end
22
+ end
@@ -0,0 +1,21 @@
1
+ module Heart
2
+ class ApplicationController < ActionController::Base
3
+ protect_from_forgery
4
+ before_filter :set_locale
5
+ layout 'heart_engine'
6
+
7
+ private
8
+
9
+ def set_locale
10
+ if !params[:lang].nil?
11
+ supported_locales ||= I18n.available_locales.map {|x| x.to_s}
12
+ if supported_locales.include?("#{params[:lang]}_heart")
13
+ cookies.permanent[:heart_lang] = params[:lang]
14
+ end
15
+ end
16
+ cookies.permanent[:heart_lang] = "en" if cookies[:heart_lang].nil?
17
+ I18n.locale = "#{cookies[:heart_lang]}_heart"
18
+ return true
19
+ end
20
+ end
21
+ end