adminlte 1.3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (489) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +53 -0
  4. data/lib/adminlte.rb +6 -0
  5. data/lib/adminlte/version.rb +3 -0
  6. data/vendor/assets/fonts/FontAwesome.otf +0 -0
  7. data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
  8. data/vendor/assets/fonts/fontawesome-webfont.svg +414 -0
  9. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  10. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  11. data/vendor/assets/fonts/glyphicons-halflings-regular.eot +0 -0
  12. data/vendor/assets/fonts/glyphicons-halflings-regular.svg +229 -0
  13. data/vendor/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  14. data/vendor/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  15. data/vendor/assets/fonts/ionicons.eot +0 -0
  16. data/vendor/assets/fonts/ionicons.svg +1623 -0
  17. data/vendor/assets/fonts/ionicons.ttf +0 -0
  18. data/vendor/assets/fonts/ionicons.woff +0 -0
  19. data/vendor/assets/img/ajax-loader.gif +0 -0
  20. data/vendor/assets/img/ajax-loader1.gif +0 -0
  21. data/vendor/assets/img/avatar.png +0 -0
  22. data/vendor/assets/img/avatar04.png +0 -0
  23. data/vendor/assets/img/avatar2.png +0 -0
  24. data/vendor/assets/img/avatar3.png +0 -0
  25. data/vendor/assets/img/avatar5.png +0 -0
  26. data/vendor/assets/img/blur-background04.jpg +0 -0
  27. data/vendor/assets/img/blur-background08.jpg +0 -0
  28. data/vendor/assets/img/blur-background09.jpg +0 -0
  29. data/vendor/assets/img/bootstrap-colorpicker/alpha-horizontal.png +0 -0
  30. data/vendor/assets/img/bootstrap-colorpicker/alpha.png +0 -0
  31. data/vendor/assets/img/bootstrap-colorpicker/hue-horizontal.png +0 -0
  32. data/vendor/assets/img/bootstrap-colorpicker/hue.png +0 -0
  33. data/vendor/assets/img/bootstrap-colorpicker/saturation.png +0 -0
  34. data/vendor/assets/img/credit/american-express.png +0 -0
  35. data/vendor/assets/img/credit/cirrus.png +0 -0
  36. data/vendor/assets/img/credit/mastercard.png +0 -0
  37. data/vendor/assets/img/credit/mestro.png +0 -0
  38. data/vendor/assets/img/credit/paypal.png +0 -0
  39. data/vendor/assets/img/credit/paypal2.png +0 -0
  40. data/vendor/assets/img/credit/visa.png +0 -0
  41. data/vendor/assets/img/icons.png +0 -0
  42. data/vendor/assets/img/sprite-skin-flat.png +0 -0
  43. data/vendor/assets/img/sprite-skin-nice.png +0 -0
  44. data/vendor/assets/img/user-bg.png +0 -0
  45. data/vendor/assets/img/user.jpg +0 -0
  46. data/vendor/assets/img/user2.jpg +0 -0
  47. data/vendor/assets/javascripts/AdminLTE/app.js +1060 -0
  48. data/vendor/assets/javascripts/AdminLTE/bootstrap.js +2006 -0
  49. data/vendor/assets/javascripts/AdminLTE/dashboard.js +254 -0
  50. data/vendor/assets/javascripts/AdminLTE/plugins/bootstrap-slider/bootstrap-slider.js +388 -0
  51. data/vendor/assets/javascripts/AdminLTE/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js +6 -0
  52. data/vendor/assets/javascripts/AdminLTE/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.js +350 -0
  53. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/CHANGES.md +378 -0
  54. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/LICENSE.md +1264 -0
  55. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/README.md +39 -0
  56. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/adapters/jquery.js +10 -0
  57. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/build-config.js +142 -0
  58. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/ckeditor.js +900 -0
  59. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/config.js +38 -0
  60. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/contents.css +123 -0
  61. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/af.js +5 -0
  62. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/ar.js +5 -0
  63. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/bg.js +5 -0
  64. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/bn.js +5 -0
  65. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/bs.js +5 -0
  66. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/ca.js +5 -0
  67. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/cs.js +5 -0
  68. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/cy.js +5 -0
  69. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/da.js +5 -0
  70. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/de.js +5 -0
  71. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/el.js +5 -0
  72. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/en-au.js +5 -0
  73. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/en-ca.js +5 -0
  74. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/en-gb.js +5 -0
  75. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/en.js +5 -0
  76. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/eo.js +5 -0
  77. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/es.js +5 -0
  78. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/et.js +5 -0
  79. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/eu.js +5 -0
  80. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/fa.js +5 -0
  81. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/fi.js +5 -0
  82. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/fo.js +5 -0
  83. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/fr-ca.js +5 -0
  84. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/fr.js +5 -0
  85. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/gl.js +5 -0
  86. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/gu.js +5 -0
  87. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/he.js +5 -0
  88. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/hi.js +5 -0
  89. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/hr.js +5 -0
  90. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/hu.js +5 -0
  91. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/id.js +5 -0
  92. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/is.js +5 -0
  93. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/it.js +5 -0
  94. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/ja.js +5 -0
  95. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/ka.js +5 -0
  96. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/km.js +5 -0
  97. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/ko.js +5 -0
  98. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/ku.js +5 -0
  99. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/lt.js +5 -0
  100. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/lv.js +5 -0
  101. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/mk.js +5 -0
  102. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/mn.js +5 -0
  103. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/ms.js +5 -0
  104. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/nb.js +5 -0
  105. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/nl.js +5 -0
  106. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/no.js +5 -0
  107. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/pl.js +5 -0
  108. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/pt-br.js +5 -0
  109. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/pt.js +5 -0
  110. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/ro.js +5 -0
  111. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/ru.js +5 -0
  112. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/si.js +5 -0
  113. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/sk.js +5 -0
  114. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/sl.js +5 -0
  115. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/sq.js +5 -0
  116. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/sr-latn.js +5 -0
  117. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/sr.js +5 -0
  118. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/sv.js +5 -0
  119. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/th.js +5 -0
  120. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/tr.js +5 -0
  121. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/ug.js +5 -0
  122. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/uk.js +5 -0
  123. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/vi.js +5 -0
  124. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/zh-cn.js +5 -0
  125. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/lang/zh.js +5 -0
  126. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +10 -0
  127. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +25 -0
  128. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +9 -0
  129. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +9 -0
  130. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +10 -0
  131. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +10 -0
  132. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +9 -0
  133. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +9 -0
  134. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +10 -0
  135. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +10 -0
  136. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +9 -0
  137. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +10 -0
  138. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +10 -0
  139. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +9 -0
  140. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +9 -0
  141. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +10 -0
  142. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +10 -0
  143. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +11 -0
  144. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +10 -0
  145. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +9 -0
  146. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +9 -0
  147. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +9 -0
  148. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +9 -0
  149. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +10 -0
  150. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +9 -0
  151. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +10 -0
  152. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +8 -0
  153. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +9 -0
  154. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +9 -0
  155. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +10 -0
  156. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +9 -0
  157. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +11 -0
  158. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +9 -0
  159. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +9 -0
  160. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +9 -0
  161. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +10 -0
  162. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +9 -0
  163. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +10 -0
  164. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +9 -0
  165. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +10 -0
  166. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +9 -0
  167. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +9 -0
  168. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +8 -0
  169. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +10 -0
  170. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +10 -0
  171. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +9 -0
  172. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +9 -0
  173. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +9 -0
  174. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +10 -0
  175. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +9 -0
  176. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +10 -0
  177. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +9 -0
  178. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +10 -0
  179. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +9 -0
  180. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +7 -0
  181. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +7 -0
  182. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/about/dialogs/about.js +7 -0
  183. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
  184. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  185. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/clipboard/dialogs/paste.js +11 -0
  186. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
  187. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/fakeobjects/images/spacer.gif +0 -0
  188. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/icons.png +0 -0
  189. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/icons_hidpi.png +0 -0
  190. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/image/dialogs/image.js +43 -0
  191. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/image/images/noimage.png +0 -0
  192. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/link/dialogs/anchor.js +8 -0
  193. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/link/dialogs/link.js +37 -0
  194. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/link/images/anchor.png +0 -0
  195. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
  196. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
  197. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/magicline/images/icon.png +0 -0
  198. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/pastefromword/filter/default.js +31 -0
  199. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/scayt/LICENSE.md +28 -0
  200. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/scayt/README.md +25 -0
  201. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/scayt/dialogs/options.js +20 -0
  202. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/scayt/dialogs/toolbar.css +71 -0
  203. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +20 -0
  204. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/ar.js +13 -0
  205. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/bg.js +13 -0
  206. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/ca.js +14 -0
  207. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/cs.js +13 -0
  208. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/cy.js +14 -0
  209. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/de.js +13 -0
  210. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/el.js +13 -0
  211. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/en.js +13 -0
  212. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/eo.js +12 -0
  213. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/es.js +13 -0
  214. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/et.js +13 -0
  215. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/fa.js +12 -0
  216. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/fi.js +13 -0
  217. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +10 -0
  218. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/fr.js +11 -0
  219. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/gl.js +13 -0
  220. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/he.js +12 -0
  221. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/hr.js +13 -0
  222. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/hu.js +12 -0
  223. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/id.js +13 -0
  224. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/it.js +14 -0
  225. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/ja.js +9 -0
  226. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/km.js +13 -0
  227. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/ku.js +13 -0
  228. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/lv.js +13 -0
  229. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/nb.js +11 -0
  230. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/nl.js +13 -0
  231. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/no.js +11 -0
  232. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/pl.js +12 -0
  233. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +11 -0
  234. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/pt.js +13 -0
  235. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/ru.js +13 -0
  236. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/si.js +13 -0
  237. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/sk.js +13 -0
  238. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/sl.js +12 -0
  239. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/sq.js +13 -0
  240. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/sv.js +11 -0
  241. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/th.js +13 -0
  242. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/tr.js +12 -0
  243. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/ug.js +13 -0
  244. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/uk.js +12 -0
  245. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/vi.js +14 -0
  246. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +9 -0
  247. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/lang/zh.js +12 -0
  248. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/specialchar/dialogs/specialchar.js +14 -0
  249. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/table/dialogs/table.js +21 -0
  250. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/tabletools/dialogs/tableCell.js +16 -0
  251. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/wsc/LICENSE.md +28 -0
  252. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/wsc/README.md +25 -0
  253. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/wsc/dialogs/ciframe.html +66 -0
  254. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/wsc/dialogs/tmp.html +118 -0
  255. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
  256. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/wsc/dialogs/wsc.css +82 -0
  257. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/wsc/dialogs/wsc.js +67 -0
  258. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/plugins/wsc/dialogs/wsc_ie.js +11 -0
  259. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/dialog.css +5 -0
  260. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/dialog_ie.css +5 -0
  261. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/dialog_ie7.css +5 -0
  262. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/dialog_ie8.css +5 -0
  263. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/dialog_iequirks.css +5 -0
  264. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/dialog_opera.css +5 -0
  265. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/editor.css +5 -0
  266. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/editor_gecko.css +5 -0
  267. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/editor_ie.css +5 -0
  268. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/editor_ie7.css +5 -0
  269. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/editor_ie8.css +5 -0
  270. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/editor_iequirks.css +5 -0
  271. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/icons.png +0 -0
  272. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/icons_hidpi.png +0 -0
  273. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/images/arrow.png +0 -0
  274. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/images/close.png +0 -0
  275. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/images/hidpi/close.png +0 -0
  276. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
  277. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
  278. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
  279. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/images/lock-open.png +0 -0
  280. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/images/lock.png +0 -0
  281. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/images/refresh.png +0 -0
  282. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/skins/moono/readme.md +51 -0
  283. data/vendor/assets/javascripts/AdminLTE/plugins/ckeditor/styles.js +111 -0
  284. data/vendor/assets/javascripts/AdminLTE/plugins/colorpicker/bootstrap-colorpicker.js +949 -0
  285. data/vendor/assets/javascripts/AdminLTE/plugins/colorpicker/bootstrap-colorpicker.min.js +1 -0
  286. data/vendor/assets/javascripts/AdminLTE/plugins/datatables/dataTables.bootstrap.js +250 -0
  287. data/vendor/assets/javascripts/AdminLTE/plugins/datatables/jquery.dataTables.js +12099 -0
  288. data/vendor/assets/javascripts/AdminLTE/plugins/daterangepicker/daterangepicker.js +883 -0
  289. data/vendor/assets/javascripts/AdminLTE/plugins/flot/excanvas.js +1428 -0
  290. data/vendor/assets/javascripts/AdminLTE/plugins/flot/excanvas.min.js +1 -0
  291. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.colorhelpers.js +180 -0
  292. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.colorhelpers.min.js +1 -0
  293. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.canvas.js +345 -0
  294. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.canvas.min.js +1 -0
  295. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.categories.js +190 -0
  296. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.categories.min.js +1 -0
  297. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.crosshair.js +176 -0
  298. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.crosshair.min.js +1 -0
  299. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.errorbars.js +353 -0
  300. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.errorbars.min.js +1 -0
  301. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.fillbetween.js +226 -0
  302. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.fillbetween.min.js +1 -0
  303. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.image.js +241 -0
  304. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.image.min.js +1 -0
  305. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.js +3137 -0
  306. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.min.js +2 -0
  307. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.navigate.js +346 -0
  308. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.navigate.min.js +1 -0
  309. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.pie.js +817 -0
  310. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.pie.min.js +1 -0
  311. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.resize.js +60 -0
  312. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.resize.min.js +1 -0
  313. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.selection.js +360 -0
  314. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.selection.min.js +1 -0
  315. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.stack.js +188 -0
  316. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.stack.min.js +1 -0
  317. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.symbol.js +71 -0
  318. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.symbol.min.js +1 -0
  319. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.threshold.js +142 -0
  320. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.threshold.min.js +1 -0
  321. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.time.js +431 -0
  322. data/vendor/assets/javascripts/AdminLTE/plugins/flot/jquery.flot.time.min.js +1 -0
  323. data/vendor/assets/javascripts/AdminLTE/plugins/fullcalendar/fullcalendar.js +6110 -0
  324. data/vendor/assets/javascripts/AdminLTE/plugins/fullcalendar/fullcalendar.min.js +7 -0
  325. data/vendor/assets/javascripts/AdminLTE/plugins/iCheck/icheck.js +506 -0
  326. data/vendor/assets/javascripts/AdminLTE/plugins/iCheck/icheck.min.js +10 -0
  327. data/vendor/assets/javascripts/AdminLTE/plugins/input-mask/jquery.inputmask.date.extensions.js +488 -0
  328. data/vendor/assets/javascripts/AdminLTE/plugins/input-mask/jquery.inputmask.extensions.js +122 -0
  329. data/vendor/assets/javascripts/AdminLTE/plugins/input-mask/jquery.inputmask.js +1632 -0
  330. data/vendor/assets/javascripts/AdminLTE/plugins/input-mask/jquery.inputmask.numeric.extensions.js +177 -0
  331. data/vendor/assets/javascripts/AdminLTE/plugins/input-mask/jquery.inputmask.phone.extensions.js +50 -0
  332. data/vendor/assets/javascripts/AdminLTE/plugins/input-mask/jquery.inputmask.regex.extensions.js +170 -0
  333. data/vendor/assets/javascripts/AdminLTE/plugins/input-mask/phone-codes/phone-be.json +45 -0
  334. data/vendor/assets/javascripts/AdminLTE/plugins/input-mask/phone-codes/phone-codes.json +294 -0
  335. data/vendor/assets/javascripts/AdminLTE/plugins/input-mask/phone-codes/readme.txt +1 -0
  336. data/vendor/assets/javascripts/AdminLTE/plugins/ionslider/ion.rangeSlider.min.js +22 -0
  337. data/vendor/assets/javascripts/AdminLTE/plugins/jqueryKnob/jquery.knob.js +764 -0
  338. data/vendor/assets/javascripts/AdminLTE/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js +8 -0
  339. data/vendor/assets/javascripts/AdminLTE/plugins/jvectormap/jquery-jvectormap-world-mill-en.js +1 -0
  340. data/vendor/assets/javascripts/AdminLTE/plugins/misc/html5shiv.js +8 -0
  341. data/vendor/assets/javascripts/AdminLTE/plugins/misc/jquery.ba-resize.min.js +9 -0
  342. data/vendor/assets/javascripts/AdminLTE/plugins/misc/jquery.placeholder.js +187 -0
  343. data/vendor/assets/javascripts/AdminLTE/plugins/misc/modernizr.min.js +4 -0
  344. data/vendor/assets/javascripts/AdminLTE/plugins/misc/respond.min.js +1 -0
  345. data/vendor/assets/javascripts/AdminLTE/plugins/morris/morris.js +1888 -0
  346. data/vendor/assets/javascripts/AdminLTE/plugins/morris/morris.min.js +2 -0
  347. data/vendor/assets/javascripts/AdminLTE/plugins/slimScroll/jquery.slimscroll.js +464 -0
  348. data/vendor/assets/javascripts/AdminLTE/plugins/slimScroll/jquery.slimscroll.min.js +16 -0
  349. data/vendor/assets/javascripts/AdminLTE/plugins/slimScroll/slimScroll.jquery.json +30 -0
  350. data/vendor/assets/javascripts/AdminLTE/plugins/sparkline/jquery.sparkline.js +3054 -0
  351. data/vendor/assets/javascripts/AdminLTE/plugins/sparkline/jquery.sparkline.min.js +5 -0
  352. data/vendor/assets/javascripts/AdminLTE/plugins/timepicker/bootstrap-timepicker.js +903 -0
  353. data/vendor/assets/javascripts/AdminLTE/plugins/timepicker/bootstrap-timepicker.min.js +5 -0
  354. data/vendor/assets/stylesheets/AdminLTE.css.scss +3539 -0
  355. data/vendor/assets/stylesheets/adminlte/plugins/bootstrap-slider/slider.css.scss.css +166 -0
  356. data/vendor/assets/stylesheets/adminlte/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.css.scss.css +102 -0
  357. data/vendor/assets/stylesheets/adminlte/plugins/colorpicker/bootstrap-colorpicker.css.scss.css +214 -0
  358. data/vendor/assets/stylesheets/adminlte/plugins/datatables/dataTables.bootstrap.css.scss.css +223 -0
  359. data/vendor/assets/stylesheets/adminlte/plugins/datatables/images/sort_asc.png +0 -0
  360. data/vendor/assets/stylesheets/adminlte/plugins/datatables/images/sort_asc_disabled.png +0 -0
  361. data/vendor/assets/stylesheets/adminlte/plugins/datatables/images/sort_both.png +0 -0
  362. data/vendor/assets/stylesheets/adminlte/plugins/datatables/images/sort_desc.png +0 -0
  363. data/vendor/assets/stylesheets/adminlte/plugins/datatables/images/sort_desc_disabled.png +0 -0
  364. data/vendor/assets/stylesheets/adminlte/plugins/daterangepicker/daterangepicker-bs3.css.scss.css +245 -0
  365. data/vendor/assets/stylesheets/adminlte/plugins/fullcalendar/fullcalendar.css.scss.css +617 -0
  366. data/vendor/assets/stylesheets/adminlte/plugins/fullcalendar/fullcalendar.print.css.scss.css +29 -0
  367. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/all.css +61 -0
  368. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/_all.css +560 -0
  369. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/aero.css +56 -0
  370. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/aero.png +0 -0
  371. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/aero@2x.png +0 -0
  372. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/blue.css +56 -0
  373. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/blue.png +0 -0
  374. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/blue@2x.png +0 -0
  375. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/flat.css +56 -0
  376. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/flat.png +0 -0
  377. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/flat@2x.png +0 -0
  378. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/green.css +56 -0
  379. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/green.png +0 -0
  380. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/green@2x.png +0 -0
  381. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/grey.css +56 -0
  382. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/grey.png +0 -0
  383. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/grey@2x.png +0 -0
  384. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/orange.css +56 -0
  385. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/orange.png +0 -0
  386. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/orange@2x.png +0 -0
  387. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/pink.css +56 -0
  388. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/pink.png +0 -0
  389. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/pink@2x.png +0 -0
  390. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/purple.css +56 -0
  391. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/purple.png +0 -0
  392. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/purple@2x.png +0 -0
  393. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/red.css +56 -0
  394. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/red.png +0 -0
  395. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/red@2x.png +0 -0
  396. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/yellow.css +56 -0
  397. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/yellow.png +0 -0
  398. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/flat/yellow@2x.png +0 -0
  399. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/futurico/futurico.css +56 -0
  400. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/futurico/futurico.png +0 -0
  401. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/futurico/futurico@2x.png +0 -0
  402. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/line/_all.css +740 -0
  403. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/line/aero.css +74 -0
  404. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/line/blue.css +74 -0
  405. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/line/green.css +74 -0
  406. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/line/grey.css +74 -0
  407. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/line/line.css +74 -0
  408. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/line/line.png +0 -0
  409. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/line/line@2x.png +0 -0
  410. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/line/orange.css +74 -0
  411. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/line/pink.css +74 -0
  412. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/line/purple.css +74 -0
  413. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/line/red.css +74 -0
  414. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/line/yellow.css +74 -0
  415. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/_all.css +557 -0
  416. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/aero.css +62 -0
  417. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/aero.png +0 -0
  418. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/aero@2x.png +0 -0
  419. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/blue.css +62 -0
  420. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/blue.png +0 -0
  421. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/blue@2x.png +0 -0
  422. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/green.css +62 -0
  423. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/green.png +0 -0
  424. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/green@2x.png +0 -0
  425. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/grey.css +62 -0
  426. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/grey.png +0 -0
  427. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/grey@2x.png +0 -0
  428. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/minimal.css +62 -0
  429. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/minimal.png +0 -0
  430. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/minimal@2x.png +0 -0
  431. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/orange.css +62 -0
  432. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/orange.png +0 -0
  433. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/orange@2x.png +0 -0
  434. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/pink.css +62 -0
  435. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/pink.png +0 -0
  436. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/pink@2x.png +0 -0
  437. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/purple.css +62 -0
  438. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/purple.png +0 -0
  439. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/purple@2x.png +0 -0
  440. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/red.css +62 -0
  441. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/red.png +0 -0
  442. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/red@2x.png +0 -0
  443. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/yellow.css +62 -0
  444. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/yellow.png +0 -0
  445. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/minimal/yellow@2x.png +0 -0
  446. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/polaris/polaris.css +62 -0
  447. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/polaris/polaris.png +0 -0
  448. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/polaris/polaris@2x.png +0 -0
  449. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/_all.css +620 -0
  450. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/aero.css +62 -0
  451. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/aero.png +0 -0
  452. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/aero@2x.png +0 -0
  453. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/blue.css +62 -0
  454. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/blue.png +0 -0
  455. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/blue@2x.png +0 -0
  456. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/green.css +62 -0
  457. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/green.png +0 -0
  458. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/green@2x.png +0 -0
  459. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/grey.css +62 -0
  460. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/grey.png +0 -0
  461. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/grey@2x.png +0 -0
  462. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/orange.css +62 -0
  463. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/orange.png +0 -0
  464. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/orange@2x.png +0 -0
  465. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/pink.css +62 -0
  466. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/pink.png +0 -0
  467. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/pink@2x.png +0 -0
  468. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/purple.css +62 -0
  469. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/purple.png +0 -0
  470. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/purple@2x.png +0 -0
  471. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/red.css +62 -0
  472. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/red.png +0 -0
  473. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/red@2x.png +0 -0
  474. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/square.css +62 -0
  475. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/square.png +0 -0
  476. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/square@2x.png +0 -0
  477. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/yellow.css +62 -0
  478. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/yellow.png +0 -0
  479. data/vendor/assets/stylesheets/adminlte/plugins/iCheck/square/yellow@2x.png +0 -0
  480. data/vendor/assets/stylesheets/adminlte/plugins/ionslider/ion.rangeSlider.css.scss.css +126 -0
  481. data/vendor/assets/stylesheets/adminlte/plugins/ionslider/ion.rangeSlider.skinFlat.css.scss.css +89 -0
  482. data/vendor/assets/stylesheets/adminlte/plugins/ionslider/ion.rangeSlider.skinNice.css.scss.css +85 -0
  483. data/vendor/assets/stylesheets/adminlte/plugins/jvectormap/jquery-jvectormap-1.2.2.css.scss.css +36 -0
  484. data/vendor/assets/stylesheets/adminlte/plugins/morris/morris.css.scss.css +2 -0
  485. data/vendor/assets/stylesheets/adminlte/plugins/timepicker/bootstrap-timepicker.css.scss +121 -0
  486. data/vendor/assets/stylesheets/bootstrap.css.scss +7118 -0
  487. data/vendor/assets/stylesheets/font-awesome.css.scss +1338 -0
  488. data/vendor/assets/stylesheets/ionicons.css.scss +2183 -0
  489. metadata +574 -0
@@ -0,0 +1 @@
1
+ (function($){var options={canvas:true};var render,getTextInfo,addText;var hasOwnProperty=Object.prototype.hasOwnProperty;function init(plot,classes){var Canvas=classes.Canvas;if(render==null){getTextInfo=Canvas.prototype.getTextInfo,addText=Canvas.prototype.addText,render=Canvas.prototype.render}Canvas.prototype.render=function(){if(!plot.getOptions().canvas){return render.call(this)}var context=this.context,cache=this._textCache;context.save();context.textBaseline="middle";for(var layerKey in cache){if(hasOwnProperty.call(cache,layerKey)){var layerCache=cache[layerKey];for(var styleKey in layerCache){if(hasOwnProperty.call(layerCache,styleKey)){var styleCache=layerCache[styleKey],updateStyles=true;for(var key in styleCache){if(hasOwnProperty.call(styleCache,key)){var info=styleCache[key],positions=info.positions,lines=info.lines;if(updateStyles){context.fillStyle=info.font.color;context.font=info.font.definition;updateStyles=false}for(var i=0,position;position=positions[i];i++){if(position.active){for(var j=0,line;line=position.lines[j];j++){context.fillText(lines[j].text,line[0],line[1])}}else{positions.splice(i--,1)}}if(positions.length==0){delete styleCache[key]}}}}}}}context.restore()};Canvas.prototype.getTextInfo=function(layer,text,font,angle,width){if(!plot.getOptions().canvas){return getTextInfo.call(this,layer,text,font,angle,width)}var textStyle,layerCache,styleCache,info;text=""+text;if(typeof font==="object"){textStyle=font.style+" "+font.variant+" "+font.weight+" "+font.size+"px "+font.family}else{textStyle=font}layerCache=this._textCache[layer];if(layerCache==null){layerCache=this._textCache[layer]={}}styleCache=layerCache[textStyle];if(styleCache==null){styleCache=layerCache[textStyle]={}}info=styleCache[text];if(info==null){var context=this.context;if(typeof font!=="object"){var element=$("<div>&nbsp;</div>").css("position","absolute").addClass(typeof font==="string"?font:null).appendTo(this.getTextLayer(layer));font={lineHeight:element.height(),style:element.css("font-style"),variant:element.css("font-variant"),weight:element.css("font-weight"),family:element.css("font-family"),color:element.css("color")};font.size=element.css("line-height",1).height();element.remove()}textStyle=font.style+" "+font.variant+" "+font.weight+" "+font.size+"px "+font.family;info=styleCache[text]={width:0,height:0,positions:[],lines:[],font:{definition:textStyle,color:font.color}};context.save();context.font=textStyle;var lines=(text+"").replace(/<br ?\/?>|\r\n|\r/g,"\n").split("\n");for(var i=0;i<lines.length;++i){var lineText=lines[i],measured=context.measureText(lineText);info.width=Math.max(measured.width,info.width);info.height+=font.lineHeight;info.lines.push({text:lineText,width:measured.width,height:font.lineHeight})}context.restore()}return info};Canvas.prototype.addText=function(layer,x,y,text,font,angle,width,halign,valign){if(!plot.getOptions().canvas){return addText.call(this,layer,x,y,text,font,angle,width,halign,valign)}var info=this.getTextInfo(layer,text,font,angle,width),positions=info.positions,lines=info.lines;y+=info.height/lines.length/2;if(valign=="middle"){y=Math.round(y-info.height/2)}else if(valign=="bottom"){y=Math.round(y-info.height)}else{y=Math.round(y)}if(!!(window.opera&&window.opera.version().split(".")[0]<12)){y-=2}for(var i=0,position;position=positions[i];i++){if(position.x==x&&position.y==y){position.active=true;return}}position={active:true,lines:[],x:x,y:y};positions.push(position);for(var i=0,line;line=lines[i];i++){if(halign=="center"){position.lines.push([Math.round(x-line.width/2),y])}else if(halign=="right"){position.lines.push([Math.round(x-line.width),y])}else{position.lines.push([Math.round(x),y])}y+=line.height}}}$.plot.plugins.push({init:init,options:options,name:"canvas",version:"1.0"})})(jQuery);
@@ -0,0 +1,190 @@
1
+ /* Flot plugin for plotting textual data or categories.
2
+
3
+ Copyright (c) 2007-2013 IOLA and Ole Laursen.
4
+ Licensed under the MIT license.
5
+
6
+ Consider a dataset like [["February", 34], ["March", 20], ...]. This plugin
7
+ allows you to plot such a dataset directly.
8
+
9
+ To enable it, you must specify mode: "categories" on the axis with the textual
10
+ labels, e.g.
11
+
12
+ $.plot("#placeholder", data, { xaxis: { mode: "categories" } });
13
+
14
+ By default, the labels are ordered as they are met in the data series. If you
15
+ need a different ordering, you can specify "categories" on the axis options
16
+ and list the categories there:
17
+
18
+ xaxis: {
19
+ mode: "categories",
20
+ categories: ["February", "March", "April"]
21
+ }
22
+
23
+ If you need to customize the distances between the categories, you can specify
24
+ "categories" as an object mapping labels to values
25
+
26
+ xaxis: {
27
+ mode: "categories",
28
+ categories: { "February": 1, "March": 3, "April": 4 }
29
+ }
30
+
31
+ If you don't specify all categories, the remaining categories will be numbered
32
+ from the max value plus 1 (with a spacing of 1 between each).
33
+
34
+ Internally, the plugin works by transforming the input data through an auto-
35
+ generated mapping where the first category becomes 0, the second 1, etc.
36
+ Hence, a point like ["February", 34] becomes [0, 34] internally in Flot (this
37
+ is visible in hover and click events that return numbers rather than the
38
+ category labels). The plugin also overrides the tick generator to spit out the
39
+ categories as ticks instead of the values.
40
+
41
+ If you need to map a value back to its label, the mapping is always accessible
42
+ as "categories" on the axis object, e.g. plot.getAxes().xaxis.categories.
43
+
44
+ */
45
+
46
+ (function ($) {
47
+ var options = {
48
+ xaxis: {
49
+ categories: null
50
+ },
51
+ yaxis: {
52
+ categories: null
53
+ }
54
+ };
55
+
56
+ function processRawData(plot, series, data, datapoints) {
57
+ // if categories are enabled, we need to disable
58
+ // auto-transformation to numbers so the strings are intact
59
+ // for later processing
60
+
61
+ var xCategories = series.xaxis.options.mode == "categories",
62
+ yCategories = series.yaxis.options.mode == "categories";
63
+
64
+ if (!(xCategories || yCategories))
65
+ return;
66
+
67
+ var format = datapoints.format;
68
+
69
+ if (!format) {
70
+ // FIXME: auto-detection should really not be defined here
71
+ var s = series;
72
+ format = [];
73
+ format.push({ x: true, number: true, required: true });
74
+ format.push({ y: true, number: true, required: true });
75
+
76
+ if (s.bars.show || (s.lines.show && s.lines.fill)) {
77
+ var autoscale = !!((s.bars.show && s.bars.zero) || (s.lines.show && s.lines.zero));
78
+ format.push({ y: true, number: true, required: false, defaultValue: 0, autoscale: autoscale });
79
+ if (s.bars.horizontal) {
80
+ delete format[format.length - 1].y;
81
+ format[format.length - 1].x = true;
82
+ }
83
+ }
84
+
85
+ datapoints.format = format;
86
+ }
87
+
88
+ for (var m = 0; m < format.length; ++m) {
89
+ if (format[m].x && xCategories)
90
+ format[m].number = false;
91
+
92
+ if (format[m].y && yCategories)
93
+ format[m].number = false;
94
+ }
95
+ }
96
+
97
+ function getNextIndex(categories) {
98
+ var index = -1;
99
+
100
+ for (var v in categories)
101
+ if (categories[v] > index)
102
+ index = categories[v];
103
+
104
+ return index + 1;
105
+ }
106
+
107
+ function categoriesTickGenerator(axis) {
108
+ var res = [];
109
+ for (var label in axis.categories) {
110
+ var v = axis.categories[label];
111
+ if (v >= axis.min && v <= axis.max)
112
+ res.push([v, label]);
113
+ }
114
+
115
+ res.sort(function (a, b) { return a[0] - b[0]; });
116
+
117
+ return res;
118
+ }
119
+
120
+ function setupCategoriesForAxis(series, axis, datapoints) {
121
+ if (series[axis].options.mode != "categories")
122
+ return;
123
+
124
+ if (!series[axis].categories) {
125
+ // parse options
126
+ var c = {}, o = series[axis].options.categories || {};
127
+ if ($.isArray(o)) {
128
+ for (var i = 0; i < o.length; ++i)
129
+ c[o[i]] = i;
130
+ }
131
+ else {
132
+ for (var v in o)
133
+ c[v] = o[v];
134
+ }
135
+
136
+ series[axis].categories = c;
137
+ }
138
+
139
+ // fix ticks
140
+ if (!series[axis].options.ticks)
141
+ series[axis].options.ticks = categoriesTickGenerator;
142
+
143
+ transformPointsOnAxis(datapoints, axis, series[axis].categories);
144
+ }
145
+
146
+ function transformPointsOnAxis(datapoints, axis, categories) {
147
+ // go through the points, transforming them
148
+ var points = datapoints.points,
149
+ ps = datapoints.pointsize,
150
+ format = datapoints.format,
151
+ formatColumn = axis.charAt(0),
152
+ index = getNextIndex(categories);
153
+
154
+ for (var i = 0; i < points.length; i += ps) {
155
+ if (points[i] == null)
156
+ continue;
157
+
158
+ for (var m = 0; m < ps; ++m) {
159
+ var val = points[i + m];
160
+
161
+ if (val == null || !format[m][formatColumn])
162
+ continue;
163
+
164
+ if (!(val in categories)) {
165
+ categories[val] = index;
166
+ ++index;
167
+ }
168
+
169
+ points[i + m] = categories[val];
170
+ }
171
+ }
172
+ }
173
+
174
+ function processDatapoints(plot, series, datapoints) {
175
+ setupCategoriesForAxis(series, "xaxis", datapoints);
176
+ setupCategoriesForAxis(series, "yaxis", datapoints);
177
+ }
178
+
179
+ function init(plot) {
180
+ plot.hooks.processRawData.push(processRawData);
181
+ plot.hooks.processDatapoints.push(processDatapoints);
182
+ }
183
+
184
+ $.plot.plugins.push({
185
+ init: init,
186
+ options: options,
187
+ name: 'categories',
188
+ version: '1.0'
189
+ });
190
+ })(jQuery);
@@ -0,0 +1 @@
1
+ (function($){var options={xaxis:{categories:null},yaxis:{categories:null}};function processRawData(plot,series,data,datapoints){var xCategories=series.xaxis.options.mode=="categories",yCategories=series.yaxis.options.mode=="categories";if(!(xCategories||yCategories))return;var format=datapoints.format;if(!format){var s=series;format=[];format.push({x:true,number:true,required:true});format.push({y:true,number:true,required:true});if(s.bars.show||s.lines.show&&s.lines.fill){var autoscale=!!(s.bars.show&&s.bars.zero||s.lines.show&&s.lines.zero);format.push({y:true,number:true,required:false,defaultValue:0,autoscale:autoscale});if(s.bars.horizontal){delete format[format.length-1].y;format[format.length-1].x=true}}datapoints.format=format}for(var m=0;m<format.length;++m){if(format[m].x&&xCategories)format[m].number=false;if(format[m].y&&yCategories)format[m].number=false}}function getNextIndex(categories){var index=-1;for(var v in categories)if(categories[v]>index)index=categories[v];return index+1}function categoriesTickGenerator(axis){var res=[];for(var label in axis.categories){var v=axis.categories[label];if(v>=axis.min&&v<=axis.max)res.push([v,label])}res.sort(function(a,b){return a[0]-b[0]});return res}function setupCategoriesForAxis(series,axis,datapoints){if(series[axis].options.mode!="categories")return;if(!series[axis].categories){var c={},o=series[axis].options.categories||{};if($.isArray(o)){for(var i=0;i<o.length;++i)c[o[i]]=i}else{for(var v in o)c[v]=o[v]}series[axis].categories=c}if(!series[axis].options.ticks)series[axis].options.ticks=categoriesTickGenerator;transformPointsOnAxis(datapoints,axis,series[axis].categories)}function transformPointsOnAxis(datapoints,axis,categories){var points=datapoints.points,ps=datapoints.pointsize,format=datapoints.format,formatColumn=axis.charAt(0),index=getNextIndex(categories);for(var i=0;i<points.length;i+=ps){if(points[i]==null)continue;for(var m=0;m<ps;++m){var val=points[i+m];if(val==null||!format[m][formatColumn])continue;if(!(val in categories)){categories[val]=index;++index}points[i+m]=categories[val]}}}function processDatapoints(plot,series,datapoints){setupCategoriesForAxis(series,"xaxis",datapoints);setupCategoriesForAxis(series,"yaxis",datapoints)}function init(plot){plot.hooks.processRawData.push(processRawData);plot.hooks.processDatapoints.push(processDatapoints)}$.plot.plugins.push({init:init,options:options,name:"categories",version:"1.0"})})(jQuery);
@@ -0,0 +1,176 @@
1
+ /* Flot plugin for showing crosshairs when the mouse hovers over the plot.
2
+
3
+ Copyright (c) 2007-2013 IOLA and Ole Laursen.
4
+ Licensed under the MIT license.
5
+
6
+ The plugin supports these options:
7
+
8
+ crosshair: {
9
+ mode: null or "x" or "y" or "xy"
10
+ color: color
11
+ lineWidth: number
12
+ }
13
+
14
+ Set the mode to one of "x", "y" or "xy". The "x" mode enables a vertical
15
+ crosshair that lets you trace the values on the x axis, "y" enables a
16
+ horizontal crosshair and "xy" enables them both. "color" is the color of the
17
+ crosshair (default is "rgba(170, 0, 0, 0.80)"), "lineWidth" is the width of
18
+ the drawn lines (default is 1).
19
+
20
+ The plugin also adds four public methods:
21
+
22
+ - setCrosshair( pos )
23
+
24
+ Set the position of the crosshair. Note that this is cleared if the user
25
+ moves the mouse. "pos" is in coordinates of the plot and should be on the
26
+ form { x: xpos, y: ypos } (you can use x2/x3/... if you're using multiple
27
+ axes), which is coincidentally the same format as what you get from a
28
+ "plothover" event. If "pos" is null, the crosshair is cleared.
29
+
30
+ - clearCrosshair()
31
+
32
+ Clear the crosshair.
33
+
34
+ - lockCrosshair(pos)
35
+
36
+ Cause the crosshair to lock to the current location, no longer updating if
37
+ the user moves the mouse. Optionally supply a position (passed on to
38
+ setCrosshair()) to move it to.
39
+
40
+ Example usage:
41
+
42
+ var myFlot = $.plot( $("#graph"), ..., { crosshair: { mode: "x" } } };
43
+ $("#graph").bind( "plothover", function ( evt, position, item ) {
44
+ if ( item ) {
45
+ // Lock the crosshair to the data point being hovered
46
+ myFlot.lockCrosshair({
47
+ x: item.datapoint[ 0 ],
48
+ y: item.datapoint[ 1 ]
49
+ });
50
+ } else {
51
+ // Return normal crosshair operation
52
+ myFlot.unlockCrosshair();
53
+ }
54
+ });
55
+
56
+ - unlockCrosshair()
57
+
58
+ Free the crosshair to move again after locking it.
59
+ */
60
+
61
+ (function ($) {
62
+ var options = {
63
+ crosshair: {
64
+ mode: null, // one of null, "x", "y" or "xy",
65
+ color: "rgba(170, 0, 0, 0.80)",
66
+ lineWidth: 1
67
+ }
68
+ };
69
+
70
+ function init(plot) {
71
+ // position of crosshair in pixels
72
+ var crosshair = { x: -1, y: -1, locked: false };
73
+
74
+ plot.setCrosshair = function setCrosshair(pos) {
75
+ if (!pos)
76
+ crosshair.x = -1;
77
+ else {
78
+ var o = plot.p2c(pos);
79
+ crosshair.x = Math.max(0, Math.min(o.left, plot.width()));
80
+ crosshair.y = Math.max(0, Math.min(o.top, plot.height()));
81
+ }
82
+
83
+ plot.triggerRedrawOverlay();
84
+ };
85
+
86
+ plot.clearCrosshair = plot.setCrosshair; // passes null for pos
87
+
88
+ plot.lockCrosshair = function lockCrosshair(pos) {
89
+ if (pos)
90
+ plot.setCrosshair(pos);
91
+ crosshair.locked = true;
92
+ };
93
+
94
+ plot.unlockCrosshair = function unlockCrosshair() {
95
+ crosshair.locked = false;
96
+ };
97
+
98
+ function onMouseOut(e) {
99
+ if (crosshair.locked)
100
+ return;
101
+
102
+ if (crosshair.x != -1) {
103
+ crosshair.x = -1;
104
+ plot.triggerRedrawOverlay();
105
+ }
106
+ }
107
+
108
+ function onMouseMove(e) {
109
+ if (crosshair.locked)
110
+ return;
111
+
112
+ if (plot.getSelection && plot.getSelection()) {
113
+ crosshair.x = -1; // hide the crosshair while selecting
114
+ return;
115
+ }
116
+
117
+ var offset = plot.offset();
118
+ crosshair.x = Math.max(0, Math.min(e.pageX - offset.left, plot.width()));
119
+ crosshair.y = Math.max(0, Math.min(e.pageY - offset.top, plot.height()));
120
+ plot.triggerRedrawOverlay();
121
+ }
122
+
123
+ plot.hooks.bindEvents.push(function (plot, eventHolder) {
124
+ if (!plot.getOptions().crosshair.mode)
125
+ return;
126
+
127
+ eventHolder.mouseout(onMouseOut);
128
+ eventHolder.mousemove(onMouseMove);
129
+ });
130
+
131
+ plot.hooks.drawOverlay.push(function (plot, ctx) {
132
+ var c = plot.getOptions().crosshair;
133
+ if (!c.mode)
134
+ return;
135
+
136
+ var plotOffset = plot.getPlotOffset();
137
+
138
+ ctx.save();
139
+ ctx.translate(plotOffset.left, plotOffset.top);
140
+
141
+ if (crosshair.x != -1) {
142
+ var adj = plot.getOptions().crosshair.lineWidth % 2 === 0 ? 0 : 0.5;
143
+
144
+ ctx.strokeStyle = c.color;
145
+ ctx.lineWidth = c.lineWidth;
146
+ ctx.lineJoin = "round";
147
+
148
+ ctx.beginPath();
149
+ if (c.mode.indexOf("x") != -1) {
150
+ var drawX = Math.round(crosshair.x) + adj;
151
+ ctx.moveTo(drawX, 0);
152
+ ctx.lineTo(drawX, plot.height());
153
+ }
154
+ if (c.mode.indexOf("y") != -1) {
155
+ var drawY = Math.round(crosshair.y) + adj;
156
+ ctx.moveTo(0, drawY);
157
+ ctx.lineTo(plot.width(), drawY);
158
+ }
159
+ ctx.stroke();
160
+ }
161
+ ctx.restore();
162
+ });
163
+
164
+ plot.hooks.shutdown.push(function (plot, eventHolder) {
165
+ eventHolder.unbind("mouseout", onMouseOut);
166
+ eventHolder.unbind("mousemove", onMouseMove);
167
+ });
168
+ }
169
+
170
+ $.plot.plugins.push({
171
+ init: init,
172
+ options: options,
173
+ name: 'crosshair',
174
+ version: '1.0'
175
+ });
176
+ })(jQuery);
@@ -0,0 +1 @@
1
+ (function($){var options={crosshair:{mode:null,color:"rgba(170, 0, 0, 0.80)",lineWidth:1}};function init(plot){var crosshair={x:-1,y:-1,locked:false};plot.setCrosshair=function setCrosshair(pos){if(!pos)crosshair.x=-1;else{var o=plot.p2c(pos);crosshair.x=Math.max(0,Math.min(o.left,plot.width()));crosshair.y=Math.max(0,Math.min(o.top,plot.height()))}plot.triggerRedrawOverlay()};plot.clearCrosshair=plot.setCrosshair;plot.lockCrosshair=function lockCrosshair(pos){if(pos)plot.setCrosshair(pos);crosshair.locked=true};plot.unlockCrosshair=function unlockCrosshair(){crosshair.locked=false};function onMouseOut(e){if(crosshair.locked)return;if(crosshair.x!=-1){crosshair.x=-1;plot.triggerRedrawOverlay()}}function onMouseMove(e){if(crosshair.locked)return;if(plot.getSelection&&plot.getSelection()){crosshair.x=-1;return}var offset=plot.offset();crosshair.x=Math.max(0,Math.min(e.pageX-offset.left,plot.width()));crosshair.y=Math.max(0,Math.min(e.pageY-offset.top,plot.height()));plot.triggerRedrawOverlay()}plot.hooks.bindEvents.push(function(plot,eventHolder){if(!plot.getOptions().crosshair.mode)return;eventHolder.mouseout(onMouseOut);eventHolder.mousemove(onMouseMove)});plot.hooks.drawOverlay.push(function(plot,ctx){var c=plot.getOptions().crosshair;if(!c.mode)return;var plotOffset=plot.getPlotOffset();ctx.save();ctx.translate(plotOffset.left,plotOffset.top);if(crosshair.x!=-1){var adj=plot.getOptions().crosshair.lineWidth%2===0?0:.5;ctx.strokeStyle=c.color;ctx.lineWidth=c.lineWidth;ctx.lineJoin="round";ctx.beginPath();if(c.mode.indexOf("x")!=-1){var drawX=Math.round(crosshair.x)+adj;ctx.moveTo(drawX,0);ctx.lineTo(drawX,plot.height())}if(c.mode.indexOf("y")!=-1){var drawY=Math.round(crosshair.y)+adj;ctx.moveTo(0,drawY);ctx.lineTo(plot.width(),drawY)}ctx.stroke()}ctx.restore()});plot.hooks.shutdown.push(function(plot,eventHolder){eventHolder.unbind("mouseout",onMouseOut);eventHolder.unbind("mousemove",onMouseMove)})}$.plot.plugins.push({init:init,options:options,name:"crosshair",version:"1.0"})})(jQuery);
@@ -0,0 +1,353 @@
1
+ /* Flot plugin for plotting error bars.
2
+
3
+ Copyright (c) 2007-2013 IOLA and Ole Laursen.
4
+ Licensed under the MIT license.
5
+
6
+ Error bars are used to show standard deviation and other statistical
7
+ properties in a plot.
8
+
9
+ * Created by Rui Pereira - rui (dot) pereira (at) gmail (dot) com
10
+
11
+ This plugin allows you to plot error-bars over points. Set "errorbars" inside
12
+ the points series to the axis name over which there will be error values in
13
+ your data array (*even* if you do not intend to plot them later, by setting
14
+ "show: null" on xerr/yerr).
15
+
16
+ The plugin supports these options:
17
+
18
+ series: {
19
+ points: {
20
+ errorbars: "x" or "y" or "xy",
21
+ xerr: {
22
+ show: null/false or true,
23
+ asymmetric: null/false or true,
24
+ upperCap: null or "-" or function,
25
+ lowerCap: null or "-" or function,
26
+ color: null or color,
27
+ radius: null or number
28
+ },
29
+ yerr: { same options as xerr }
30
+ }
31
+ }
32
+
33
+ Each data point array is expected to be of the type:
34
+
35
+ "x" [ x, y, xerr ]
36
+ "y" [ x, y, yerr ]
37
+ "xy" [ x, y, xerr, yerr ]
38
+
39
+ Where xerr becomes xerr_lower,xerr_upper for the asymmetric error case, and
40
+ equivalently for yerr. Eg., a datapoint for the "xy" case with symmetric
41
+ error-bars on X and asymmetric on Y would be:
42
+
43
+ [ x, y, xerr, yerr_lower, yerr_upper ]
44
+
45
+ By default no end caps are drawn. Setting upperCap and/or lowerCap to "-" will
46
+ draw a small cap perpendicular to the error bar. They can also be set to a
47
+ user-defined drawing function, with (ctx, x, y, radius) as parameters, as eg.
48
+
49
+ function drawSemiCircle( ctx, x, y, radius ) {
50
+ ctx.beginPath();
51
+ ctx.arc( x, y, radius, 0, Math.PI, false );
52
+ ctx.moveTo( x - radius, y );
53
+ ctx.lineTo( x + radius, y );
54
+ ctx.stroke();
55
+ }
56
+
57
+ Color and radius both default to the same ones of the points series if not
58
+ set. The independent radius parameter on xerr/yerr is useful for the case when
59
+ we may want to add error-bars to a line, without showing the interconnecting
60
+ points (with radius: 0), and still showing end caps on the error-bars.
61
+ shadowSize and lineWidth are derived as well from the points series.
62
+
63
+ */
64
+
65
+ (function ($) {
66
+ var options = {
67
+ series: {
68
+ points: {
69
+ errorbars: null, //should be 'x', 'y' or 'xy'
70
+ xerr: { err: 'x', show: null, asymmetric: null, upperCap: null, lowerCap: null, color: null, radius: null},
71
+ yerr: { err: 'y', show: null, asymmetric: null, upperCap: null, lowerCap: null, color: null, radius: null}
72
+ }
73
+ }
74
+ };
75
+
76
+ function processRawData(plot, series, data, datapoints){
77
+ if (!series.points.errorbars)
78
+ return;
79
+
80
+ // x,y values
81
+ var format = [
82
+ { x: true, number: true, required: true },
83
+ { y: true, number: true, required: true }
84
+ ];
85
+
86
+ var errors = series.points.errorbars;
87
+ // error bars - first X then Y
88
+ if (errors == 'x' || errors == 'xy') {
89
+ // lower / upper error
90
+ if (series.points.xerr.asymmetric) {
91
+ format.push({ x: true, number: true, required: true });
92
+ format.push({ x: true, number: true, required: true });
93
+ } else
94
+ format.push({ x: true, number: true, required: true });
95
+ }
96
+ if (errors == 'y' || errors == 'xy') {
97
+ // lower / upper error
98
+ if (series.points.yerr.asymmetric) {
99
+ format.push({ y: true, number: true, required: true });
100
+ format.push({ y: true, number: true, required: true });
101
+ } else
102
+ format.push({ y: true, number: true, required: true });
103
+ }
104
+ datapoints.format = format;
105
+ }
106
+
107
+ function parseErrors(series, i){
108
+
109
+ var points = series.datapoints.points;
110
+
111
+ // read errors from points array
112
+ var exl = null,
113
+ exu = null,
114
+ eyl = null,
115
+ eyu = null;
116
+ var xerr = series.points.xerr,
117
+ yerr = series.points.yerr;
118
+
119
+ var eb = series.points.errorbars;
120
+ // error bars - first X
121
+ if (eb == 'x' || eb == 'xy') {
122
+ if (xerr.asymmetric) {
123
+ exl = points[i + 2];
124
+ exu = points[i + 3];
125
+ if (eb == 'xy')
126
+ if (yerr.asymmetric){
127
+ eyl = points[i + 4];
128
+ eyu = points[i + 5];
129
+ } else eyl = points[i + 4];
130
+ } else {
131
+ exl = points[i + 2];
132
+ if (eb == 'xy')
133
+ if (yerr.asymmetric) {
134
+ eyl = points[i + 3];
135
+ eyu = points[i + 4];
136
+ } else eyl = points[i + 3];
137
+ }
138
+ // only Y
139
+ } else if (eb == 'y')
140
+ if (yerr.asymmetric) {
141
+ eyl = points[i + 2];
142
+ eyu = points[i + 3];
143
+ } else eyl = points[i + 2];
144
+
145
+ // symmetric errors?
146
+ if (exu == null) exu = exl;
147
+ if (eyu == null) eyu = eyl;
148
+
149
+ var errRanges = [exl, exu, eyl, eyu];
150
+ // nullify if not showing
151
+ if (!xerr.show){
152
+ errRanges[0] = null;
153
+ errRanges[1] = null;
154
+ }
155
+ if (!yerr.show){
156
+ errRanges[2] = null;
157
+ errRanges[3] = null;
158
+ }
159
+ return errRanges;
160
+ }
161
+
162
+ function drawSeriesErrors(plot, ctx, s){
163
+
164
+ var points = s.datapoints.points,
165
+ ps = s.datapoints.pointsize,
166
+ ax = [s.xaxis, s.yaxis],
167
+ radius = s.points.radius,
168
+ err = [s.points.xerr, s.points.yerr];
169
+
170
+ //sanity check, in case some inverted axis hack is applied to flot
171
+ var invertX = false;
172
+ if (ax[0].p2c(ax[0].max) < ax[0].p2c(ax[0].min)) {
173
+ invertX = true;
174
+ var tmp = err[0].lowerCap;
175
+ err[0].lowerCap = err[0].upperCap;
176
+ err[0].upperCap = tmp;
177
+ }
178
+
179
+ var invertY = false;
180
+ if (ax[1].p2c(ax[1].min) < ax[1].p2c(ax[1].max)) {
181
+ invertY = true;
182
+ var tmp = err[1].lowerCap;
183
+ err[1].lowerCap = err[1].upperCap;
184
+ err[1].upperCap = tmp;
185
+ }
186
+
187
+ for (var i = 0; i < s.datapoints.points.length; i += ps) {
188
+
189
+ //parse
190
+ var errRanges = parseErrors(s, i);
191
+
192
+ //cycle xerr & yerr
193
+ for (var e = 0; e < err.length; e++){
194
+
195
+ var minmax = [ax[e].min, ax[e].max];
196
+
197
+ //draw this error?
198
+ if (errRanges[e * err.length]){
199
+
200
+ //data coordinates
201
+ var x = points[i],
202
+ y = points[i + 1];
203
+
204
+ //errorbar ranges
205
+ var upper = [x, y][e] + errRanges[e * err.length + 1],
206
+ lower = [x, y][e] - errRanges[e * err.length];
207
+
208
+ //points outside of the canvas
209
+ if (err[e].err == 'x')
210
+ if (y > ax[1].max || y < ax[1].min || upper < ax[0].min || lower > ax[0].max)
211
+ continue;
212
+ if (err[e].err == 'y')
213
+ if (x > ax[0].max || x < ax[0].min || upper < ax[1].min || lower > ax[1].max)
214
+ continue;
215
+
216
+ // prevent errorbars getting out of the canvas
217
+ var drawUpper = true,
218
+ drawLower = true;
219
+
220
+ if (upper > minmax[1]) {
221
+ drawUpper = false;
222
+ upper = minmax[1];
223
+ }
224
+ if (lower < minmax[0]) {
225
+ drawLower = false;
226
+ lower = minmax[0];
227
+ }
228
+
229
+ //sanity check, in case some inverted axis hack is applied to flot
230
+ if ((err[e].err == 'x' && invertX) || (err[e].err == 'y' && invertY)) {
231
+ //swap coordinates
232
+ var tmp = lower;
233
+ lower = upper;
234
+ upper = tmp;
235
+ tmp = drawLower;
236
+ drawLower = drawUpper;
237
+ drawUpper = tmp;
238
+ tmp = minmax[0];
239
+ minmax[0] = minmax[1];
240
+ minmax[1] = tmp;
241
+ }
242
+
243
+ // convert to pixels
244
+ x = ax[0].p2c(x),
245
+ y = ax[1].p2c(y),
246
+ upper = ax[e].p2c(upper);
247
+ lower = ax[e].p2c(lower);
248
+ minmax[0] = ax[e].p2c(minmax[0]);
249
+ minmax[1] = ax[e].p2c(minmax[1]);
250
+
251
+ //same style as points by default
252
+ var lw = err[e].lineWidth ? err[e].lineWidth : s.points.lineWidth,
253
+ sw = s.points.shadowSize != null ? s.points.shadowSize : s.shadowSize;
254
+
255
+ //shadow as for points
256
+ if (lw > 0 && sw > 0) {
257
+ var w = sw / 2;
258
+ ctx.lineWidth = w;
259
+ ctx.strokeStyle = "rgba(0,0,0,0.1)";
260
+ drawError(ctx, err[e], x, y, upper, lower, drawUpper, drawLower, radius, w + w/2, minmax);
261
+
262
+ ctx.strokeStyle = "rgba(0,0,0,0.2)";
263
+ drawError(ctx, err[e], x, y, upper, lower, drawUpper, drawLower, radius, w/2, minmax);
264
+ }
265
+
266
+ ctx.strokeStyle = err[e].color? err[e].color: s.color;
267
+ ctx.lineWidth = lw;
268
+ //draw it
269
+ drawError(ctx, err[e], x, y, upper, lower, drawUpper, drawLower, radius, 0, minmax);
270
+ }
271
+ }
272
+ }
273
+ }
274
+
275
+ function drawError(ctx,err,x,y,upper,lower,drawUpper,drawLower,radius,offset,minmax){
276
+
277
+ //shadow offset
278
+ y += offset;
279
+ upper += offset;
280
+ lower += offset;
281
+
282
+ // error bar - avoid plotting over circles
283
+ if (err.err == 'x'){
284
+ if (upper > x + radius) drawPath(ctx, [[upper,y],[Math.max(x + radius,minmax[0]),y]]);
285
+ else drawUpper = false;
286
+ if (lower < x - radius) drawPath(ctx, [[Math.min(x - radius,minmax[1]),y],[lower,y]] );
287
+ else drawLower = false;
288
+ }
289
+ else {
290
+ if (upper < y - radius) drawPath(ctx, [[x,upper],[x,Math.min(y - radius,minmax[0])]] );
291
+ else drawUpper = false;
292
+ if (lower > y + radius) drawPath(ctx, [[x,Math.max(y + radius,minmax[1])],[x,lower]] );
293
+ else drawLower = false;
294
+ }
295
+
296
+ //internal radius value in errorbar, allows to plot radius 0 points and still keep proper sized caps
297
+ //this is a way to get errorbars on lines without visible connecting dots
298
+ radius = err.radius != null? err.radius: radius;
299
+
300
+ // upper cap
301
+ if (drawUpper) {
302
+ if (err.upperCap == '-'){
303
+ if (err.err=='x') drawPath(ctx, [[upper,y - radius],[upper,y + radius]] );
304
+ else drawPath(ctx, [[x - radius,upper],[x + radius,upper]] );
305
+ } else if ($.isFunction(err.upperCap)){
306
+ if (err.err=='x') err.upperCap(ctx, upper, y, radius);
307
+ else err.upperCap(ctx, x, upper, radius);
308
+ }
309
+ }
310
+ // lower cap
311
+ if (drawLower) {
312
+ if (err.lowerCap == '-'){
313
+ if (err.err=='x') drawPath(ctx, [[lower,y - radius],[lower,y + radius]] );
314
+ else drawPath(ctx, [[x - radius,lower],[x + radius,lower]] );
315
+ } else if ($.isFunction(err.lowerCap)){
316
+ if (err.err=='x') err.lowerCap(ctx, lower, y, radius);
317
+ else err.lowerCap(ctx, x, lower, radius);
318
+ }
319
+ }
320
+ }
321
+
322
+ function drawPath(ctx, pts){
323
+ ctx.beginPath();
324
+ ctx.moveTo(pts[0][0], pts[0][1]);
325
+ for (var p=1; p < pts.length; p++)
326
+ ctx.lineTo(pts[p][0], pts[p][1]);
327
+ ctx.stroke();
328
+ }
329
+
330
+ function draw(plot, ctx){
331
+ var plotOffset = plot.getPlotOffset();
332
+
333
+ ctx.save();
334
+ ctx.translate(plotOffset.left, plotOffset.top);
335
+ $.each(plot.getData(), function (i, s) {
336
+ if (s.points.errorbars && (s.points.xerr.show || s.points.yerr.show))
337
+ drawSeriesErrors(plot, ctx, s);
338
+ });
339
+ ctx.restore();
340
+ }
341
+
342
+ function init(plot) {
343
+ plot.hooks.processRawData.push(processRawData);
344
+ plot.hooks.draw.push(draw);
345
+ }
346
+
347
+ $.plot.plugins.push({
348
+ init: init,
349
+ options: options,
350
+ name: 'errorbars',
351
+ version: '1.0'
352
+ });
353
+ })(jQuery);