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
+ if(!document.createElement("canvas").getContext){(function(){var ab=Math;var n=ab.round;var l=ab.sin;var A=ab.cos;var H=ab.abs;var N=ab.sqrt;var d=10;var f=d/2;var z=+navigator.userAgent.match(/MSIE ([\d.]+)?/)[1];function y(){return this.context_||(this.context_=new D(this))}var t=Array.prototype.slice;function g(j,m,p){var i=t.call(arguments,2);return function(){return j.apply(m,i.concat(t.call(arguments)))}}function af(i){return String(i).replace(/&/g,"&amp;").replace(/"/g,"&quot;")}function Y(m,j,i){if(!m.namespaces[j]){m.namespaces.add(j,i,"#default#VML")}}function R(j){Y(j,"g_vml_","urn:schemas-microsoft-com:vml");Y(j,"g_o_","urn:schemas-microsoft-com:office:office");if(!j.styleSheets.ex_canvas_){var i=j.createStyleSheet();i.owningElement.id="ex_canvas_";i.cssText="canvas{display:inline-block;overflow:hidden;text-align:left;width:300px;height:150px}"}}R(document);var e={init:function(i){var j=i||document;j.createElement("canvas");j.attachEvent("onreadystatechange",g(this.init_,this,j))},init_:function(p){var m=p.getElementsByTagName("canvas");for(var j=0;j<m.length;j++){this.initElement(m[j])}},initElement:function(j){if(!j.getContext){j.getContext=y;R(j.ownerDocument);j.innerHTML="";j.attachEvent("onpropertychange",x);j.attachEvent("onresize",W);var i=j.attributes;if(i.width&&i.width.specified){j.style.width=i.width.nodeValue+"px"}else{j.width=j.clientWidth}if(i.height&&i.height.specified){j.style.height=i.height.nodeValue+"px"}else{j.height=j.clientHeight}}return j}};function x(j){var i=j.srcElement;switch(j.propertyName){case"width":i.getContext().clearRect();i.style.width=i.attributes.width.nodeValue+"px";i.firstChild.style.width=i.clientWidth+"px";break;case"height":i.getContext().clearRect();i.style.height=i.attributes.height.nodeValue+"px";i.firstChild.style.height=i.clientHeight+"px";break}}function W(j){var i=j.srcElement;if(i.firstChild){i.firstChild.style.width=i.clientWidth+"px";i.firstChild.style.height=i.clientHeight+"px"}}e.init();var k=[];for(var ae=0;ae<16;ae++){for(var ad=0;ad<16;ad++){k[ae*16+ad]=ae.toString(16)+ad.toString(16)}}function B(){return[[1,0,0],[0,1,0],[0,0,1]]}function J(p,m){var j=B();for(var i=0;i<3;i++){for(var ah=0;ah<3;ah++){var Z=0;for(var ag=0;ag<3;ag++){Z+=p[i][ag]*m[ag][ah]}j[i][ah]=Z}}return j}function v(j,i){i.fillStyle=j.fillStyle;i.lineCap=j.lineCap;i.lineJoin=j.lineJoin;i.lineWidth=j.lineWidth;i.miterLimit=j.miterLimit;i.shadowBlur=j.shadowBlur;i.shadowColor=j.shadowColor;i.shadowOffsetX=j.shadowOffsetX;i.shadowOffsetY=j.shadowOffsetY;i.strokeStyle=j.strokeStyle;i.globalAlpha=j.globalAlpha;i.font=j.font;i.textAlign=j.textAlign;i.textBaseline=j.textBaseline;i.arcScaleX_=j.arcScaleX_;i.arcScaleY_=j.arcScaleY_;i.lineScale_=j.lineScale_}var b={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgreen:"#006400",darkgrey:"#A9A9A9",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",grey:"#808080",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgreen:"#90EE90",lightgrey:"#D3D3D3",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",oldlace:"#FDF5E6",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",whitesmoke:"#F5F5F5",yellowgreen:"#9ACD32"};function M(j){var p=j.indexOf("(",3);var i=j.indexOf(")",p+1);var m=j.substring(p+1,i).split(",");if(m.length!=4||j.charAt(3)!="a"){m[3]=1}return m}function c(i){return parseFloat(i)/100}function r(j,m,i){return Math.min(i,Math.max(m,j))}function I(ag){var i,ai,aj,ah,ak,Z;ah=parseFloat(ag[0])/360%360;if(ah<0){ah++}ak=r(c(ag[1]),0,1);Z=r(c(ag[2]),0,1);if(ak==0){i=ai=aj=Z}else{var j=Z<0.5?Z*(1+ak):Z+ak-Z*ak;var m=2*Z-j;i=a(m,j,ah+1/3);ai=a(m,j,ah);aj=a(m,j,ah-1/3)}return"#"+k[Math.floor(i*255)]+k[Math.floor(ai*255)]+k[Math.floor(aj*255)]}function a(j,i,m){if(m<0){m++}if(m>1){m--}if(6*m<1){return j+(i-j)*6*m}else{if(2*m<1){return i}else{if(3*m<2){return j+(i-j)*(2/3-m)*6}else{return j}}}}var C={};function F(j){if(j in C){return C[j]}var ag,Z=1;j=String(j);if(j.charAt(0)=="#"){ag=j}else{if(/^rgb/.test(j)){var p=M(j);var ag="#",ah;for(var m=0;m<3;m++){if(p[m].indexOf("%")!=-1){ah=Math.floor(c(p[m])*255)}else{ah=+p[m]}ag+=k[r(ah,0,255)]}Z=+p[3]}else{if(/^hsl/.test(j)){var p=M(j);ag=I(p);Z=p[3]}else{ag=b[j]||j}}}return C[j]={color:ag,alpha:Z}}var o={style:"normal",variant:"normal",weight:"normal",size:10,family:"sans-serif"};var L={};function E(i){if(L[i]){return L[i]}var p=document.createElement("div");var m=p.style;try{m.font=i}catch(j){}return L[i]={style:m.fontStyle||o.style,variant:m.fontVariant||o.variant,weight:m.fontWeight||o.weight,size:m.fontSize||o.size,family:m.fontFamily||o.family}}function u(m,j){var i={};for(var ah in m){i[ah]=m[ah]}var ag=parseFloat(j.currentStyle.fontSize),Z=parseFloat(m.size);if(typeof m.size=="number"){i.size=m.size}else{if(m.size.indexOf("px")!=-1){i.size=Z}else{if(m.size.indexOf("em")!=-1){i.size=ag*Z}else{if(m.size.indexOf("%")!=-1){i.size=(ag/100)*Z}else{if(m.size.indexOf("pt")!=-1){i.size=Z/0.75}else{i.size=ag}}}}}i.size*=0.981;return i}function ac(i){return i.style+" "+i.variant+" "+i.weight+" "+i.size+"px "+i.family}var s={butt:"flat",round:"round"};function S(i){return s[i]||"square"}function D(i){this.m_=B();this.mStack_=[];this.aStack_=[];this.currentPath_=[];this.strokeStyle="#000";this.fillStyle="#000";this.lineWidth=1;this.lineJoin="miter";this.lineCap="butt";this.miterLimit=d*1;this.globalAlpha=1;this.font="10px sans-serif";this.textAlign="left";this.textBaseline="alphabetic";this.canvas=i;var m="width:"+i.clientWidth+"px;height:"+i.clientHeight+"px;overflow:hidden;position:absolute";var j=i.ownerDocument.createElement("div");j.style.cssText=m;i.appendChild(j);var p=j.cloneNode(false);p.style.backgroundColor="red";p.style.filter="alpha(opacity=0)";i.appendChild(p);this.element_=j;this.arcScaleX_=1;this.arcScaleY_=1;this.lineScale_=1}var q=D.prototype;q.clearRect=function(){if(this.textMeasureEl_){this.textMeasureEl_.removeNode(true);this.textMeasureEl_=null}this.element_.innerHTML=""};q.beginPath=function(){this.currentPath_=[]};q.moveTo=function(j,i){var m=V(this,j,i);this.currentPath_.push({type:"moveTo",x:m.x,y:m.y});this.currentX_=m.x;this.currentY_=m.y};q.lineTo=function(j,i){var m=V(this,j,i);this.currentPath_.push({type:"lineTo",x:m.x,y:m.y});this.currentX_=m.x;this.currentY_=m.y};q.bezierCurveTo=function(m,j,ak,aj,ai,ag){var i=V(this,ai,ag);var ah=V(this,m,j);var Z=V(this,ak,aj);K(this,ah,Z,i)};function K(i,Z,m,j){i.currentPath_.push({type:"bezierCurveTo",cp1x:Z.x,cp1y:Z.y,cp2x:m.x,cp2y:m.y,x:j.x,y:j.y});i.currentX_=j.x;i.currentY_=j.y}q.quadraticCurveTo=function(ai,m,j,i){var ah=V(this,ai,m);var ag=V(this,j,i);var aj={x:this.currentX_+2/3*(ah.x-this.currentX_),y:this.currentY_+2/3*(ah.y-this.currentY_)};var Z={x:aj.x+(ag.x-this.currentX_)/3,y:aj.y+(ag.y-this.currentY_)/3};K(this,aj,Z,ag)};q.arc=function(al,aj,ak,ag,j,m){ak*=d;var ap=m?"at":"wa";var am=al+A(ag)*ak-f;var ao=aj+l(ag)*ak-f;var i=al+A(j)*ak-f;var an=aj+l(j)*ak-f;if(am==i&&!m){am+=0.125}var Z=V(this,al,aj);var ai=V(this,am,ao);var ah=V(this,i,an);this.currentPath_.push({type:ap,x:Z.x,y:Z.y,radius:ak,xStart:ai.x,yStart:ai.y,xEnd:ah.x,yEnd:ah.y})};q.rect=function(m,j,i,p){this.moveTo(m,j);this.lineTo(m+i,j);this.lineTo(m+i,j+p);this.lineTo(m,j+p);this.closePath()};q.strokeRect=function(m,j,i,p){var Z=this.currentPath_;this.beginPath();this.moveTo(m,j);this.lineTo(m+i,j);this.lineTo(m+i,j+p);this.lineTo(m,j+p);this.closePath();this.stroke();this.currentPath_=Z};q.fillRect=function(m,j,i,p){var Z=this.currentPath_;this.beginPath();this.moveTo(m,j);this.lineTo(m+i,j);this.lineTo(m+i,j+p);this.lineTo(m,j+p);this.closePath();this.fill();this.currentPath_=Z};q.createLinearGradient=function(j,p,i,m){var Z=new U("gradient");Z.x0_=j;Z.y0_=p;Z.x1_=i;Z.y1_=m;return Z};q.createRadialGradient=function(p,ag,m,j,Z,i){var ah=new U("gradientradial");ah.x0_=p;ah.y0_=ag;ah.r0_=m;ah.x1_=j;ah.y1_=Z;ah.r1_=i;return ah};q.drawImage=function(aq,m){var aj,ah,al,ay,ao,am,at,aA;var ak=aq.runtimeStyle.width;var ap=aq.runtimeStyle.height;aq.runtimeStyle.width="auto";aq.runtimeStyle.height="auto";var ai=aq.width;var aw=aq.height;aq.runtimeStyle.width=ak;aq.runtimeStyle.height=ap;if(arguments.length==3){aj=arguments[1];ah=arguments[2];ao=am=0;at=al=ai;aA=ay=aw}else{if(arguments.length==5){aj=arguments[1];ah=arguments[2];al=arguments[3];ay=arguments[4];ao=am=0;at=ai;aA=aw}else{if(arguments.length==9){ao=arguments[1];am=arguments[2];at=arguments[3];aA=arguments[4];aj=arguments[5];ah=arguments[6];al=arguments[7];ay=arguments[8]}else{throw Error("Invalid number of arguments")}}}var az=V(this,aj,ah);var p=at/2;var j=aA/2;var ax=[];var i=10;var ag=10;ax.push(" <g_vml_:group",' coordsize="',d*i,",",d*ag,'"',' coordorigin="0,0"',' style="width:',i,"px;height:",ag,"px;position:absolute;");if(this.m_[0][0]!=1||this.m_[0][1]||this.m_[1][1]!=1||this.m_[1][0]){var Z=[];Z.push("M11=",this.m_[0][0],",","M12=",this.m_[1][0],",","M21=",this.m_[0][1],",","M22=",this.m_[1][1],",","Dx=",n(az.x/d),",","Dy=",n(az.y/d),"");var av=az;var au=V(this,aj+al,ah);var ar=V(this,aj,ah+ay);var an=V(this,aj+al,ah+ay);av.x=ab.max(av.x,au.x,ar.x,an.x);av.y=ab.max(av.y,au.y,ar.y,an.y);ax.push("padding:0 ",n(av.x/d),"px ",n(av.y/d),"px 0;filter:progid:DXImageTransform.Microsoft.Matrix(",Z.join(""),", sizingmethod='clip');")}else{ax.push("top:",n(az.y/d),"px;left:",n(az.x/d),"px;")}ax.push(' ">','<g_vml_:image src="',aq.src,'"',' style="width:',d*al,"px;"," height:",d*ay,'px"',' cropleft="',ao/ai,'"',' croptop="',am/aw,'"',' cropright="',(ai-ao-at)/ai,'"',' cropbottom="',(aw-am-aA)/aw,'"'," />","</g_vml_:group>");this.element_.insertAdjacentHTML("BeforeEnd",ax.join(""))};q.stroke=function(ao){var Z=10;var ap=10;var ag=5000;var ai={x:null,y:null};var an={x:null,y:null};for(var aj=0;aj<this.currentPath_.length;aj+=ag){var am=[];var ah=false;am.push("<g_vml_:shape",' filled="',!!ao,'"',' style="position:absolute;width:',Z,"px;height:",ap,'px;"',' coordorigin="0,0"',' coordsize="',d*Z,",",d*ap,'"',' stroked="',!ao,'"',' path="');var aq=false;for(var ak=aj;ak<Math.min(aj+ag,this.currentPath_.length);ak++){if(ak%ag==0&&ak>0){am.push(" m ",n(this.currentPath_[ak-1].x),",",n(this.currentPath_[ak-1].y))}var m=this.currentPath_[ak];var al;switch(m.type){case"moveTo":al=m;am.push(" m ",n(m.x),",",n(m.y));break;case"lineTo":am.push(" l ",n(m.x),",",n(m.y));break;case"close":am.push(" x ");m=null;break;case"bezierCurveTo":am.push(" c ",n(m.cp1x),",",n(m.cp1y),",",n(m.cp2x),",",n(m.cp2y),",",n(m.x),",",n(m.y));break;case"at":case"wa":am.push(" ",m.type," ",n(m.x-this.arcScaleX_*m.radius),",",n(m.y-this.arcScaleY_*m.radius)," ",n(m.x+this.arcScaleX_*m.radius),",",n(m.y+this.arcScaleY_*m.radius)," ",n(m.xStart),",",n(m.yStart)," ",n(m.xEnd),",",n(m.yEnd));break}if(m){if(ai.x==null||m.x<ai.x){ai.x=m.x}if(an.x==null||m.x>an.x){an.x=m.x}if(ai.y==null||m.y<ai.y){ai.y=m.y}if(an.y==null||m.y>an.y){an.y=m.y}}}am.push(' ">');if(!ao){w(this,am)}else{G(this,am,ai,an)}am.push("</g_vml_:shape>");this.element_.insertAdjacentHTML("beforeEnd",am.join(""))}};function w(m,ag){var j=F(m.strokeStyle);var p=j.color;var Z=j.alpha*m.globalAlpha;var i=m.lineScale_*m.lineWidth;if(i<1){Z*=i}ag.push("<g_vml_:stroke",' opacity="',Z,'"',' joinstyle="',m.lineJoin,'"',' miterlimit="',m.miterLimit,'"',' endcap="',S(m.lineCap),'"',' weight="',i,'px"',' color="',p,'" />')}function G(aq,ai,aK,ar){var aj=aq.fillStyle;var aB=aq.arcScaleX_;var aA=aq.arcScaleY_;var j=ar.x-aK.x;var p=ar.y-aK.y;if(aj instanceof U){var an=0;var aF={x:0,y:0};var ax=0;var am=1;if(aj.type_=="gradient"){var al=aj.x0_/aB;var m=aj.y0_/aA;var ak=aj.x1_/aB;var aM=aj.y1_/aA;var aJ=V(aq,al,m);var aI=V(aq,ak,aM);var ag=aI.x-aJ.x;var Z=aI.y-aJ.y;an=Math.atan2(ag,Z)*180/Math.PI;if(an<0){an+=360}if(an<0.000001){an=0}}else{var aJ=V(aq,aj.x0_,aj.y0_);aF={x:(aJ.x-aK.x)/j,y:(aJ.y-aK.y)/p};j/=aB*d;p/=aA*d;var aD=ab.max(j,p);ax=2*aj.r0_/aD;am=2*aj.r1_/aD-ax}var av=aj.colors_;av.sort(function(aN,i){return aN.offset-i.offset});var ap=av.length;var au=av[0].color;var at=av[ap-1].color;var az=av[0].alpha*aq.globalAlpha;var ay=av[ap-1].alpha*aq.globalAlpha;var aE=[];for(var aH=0;aH<ap;aH++){var ao=av[aH];aE.push(ao.offset*am+ax+" "+ao.color)}ai.push('<g_vml_:fill type="',aj.type_,'"',' method="none" focus="100%"',' color="',au,'"',' color2="',at,'"',' colors="',aE.join(","),'"',' opacity="',ay,'"',' g_o_:opacity2="',az,'"',' angle="',an,'"',' focusposition="',aF.x,",",aF.y,'" />')}else{if(aj instanceof T){if(j&&p){var ah=-aK.x;var aC=-aK.y;ai.push("<g_vml_:fill",' position="',ah/j*aB*aB,",",aC/p*aA*aA,'"',' type="tile"',' src="',aj.src_,'" />')}}else{var aL=F(aq.fillStyle);var aw=aL.color;var aG=aL.alpha*aq.globalAlpha;ai.push('<g_vml_:fill color="',aw,'" opacity="',aG,'" />')}}}q.fill=function(){this.stroke(true)};q.closePath=function(){this.currentPath_.push({type:"close"})};function V(j,Z,p){var i=j.m_;return{x:d*(Z*i[0][0]+p*i[1][0]+i[2][0])-f,y:d*(Z*i[0][1]+p*i[1][1]+i[2][1])-f}}q.save=function(){var i={};v(this,i);this.aStack_.push(i);this.mStack_.push(this.m_);this.m_=J(B(),this.m_)};q.restore=function(){if(this.aStack_.length){v(this.aStack_.pop(),this);this.m_=this.mStack_.pop()}};function h(i){return isFinite(i[0][0])&&isFinite(i[0][1])&&isFinite(i[1][0])&&isFinite(i[1][1])&&isFinite(i[2][0])&&isFinite(i[2][1])}function aa(j,i,p){if(!h(i)){return}j.m_=i;if(p){var Z=i[0][0]*i[1][1]-i[0][1]*i[1][0];j.lineScale_=N(H(Z))}}q.translate=function(m,j){var i=[[1,0,0],[0,1,0],[m,j,1]];aa(this,J(i,this.m_),false)};q.rotate=function(j){var p=A(j);var m=l(j);var i=[[p,m,0],[-m,p,0],[0,0,1]];aa(this,J(i,this.m_),false)};q.scale=function(m,j){this.arcScaleX_*=m;this.arcScaleY_*=j;var i=[[m,0,0],[0,j,0],[0,0,1]];aa(this,J(i,this.m_),true)};q.transform=function(Z,p,ah,ag,j,i){var m=[[Z,p,0],[ah,ag,0],[j,i,1]];aa(this,J(m,this.m_),true)};q.setTransform=function(ag,Z,ai,ah,p,j){var i=[[ag,Z,0],[ai,ah,0],[p,j,1]];aa(this,i,true)};q.drawText_=function(am,ak,aj,ap,ai){var ao=this.m_,at=1000,j=0,ar=at,ah={x:0,y:0},ag=[];var i=u(E(this.font),this.element_);var p=ac(i);var au=this.element_.currentStyle;var Z=this.textAlign.toLowerCase();switch(Z){case"left":case"center":case"right":break;case"end":Z=au.direction=="ltr"?"right":"left";break;case"start":Z=au.direction=="rtl"?"right":"left";break;default:Z="left"}switch(this.textBaseline){case"hanging":case"top":ah.y=i.size/1.75;break;case"middle":break;default:case null:case"alphabetic":case"ideographic":case"bottom":ah.y=-i.size/2.25;break}switch(Z){case"right":j=at;ar=0.05;break;case"center":j=ar=at/2;break}var aq=V(this,ak+ah.x,aj+ah.y);ag.push('<g_vml_:line from="',-j,' 0" to="',ar,' 0.05" ',' coordsize="100 100" coordorigin="0 0"',' filled="',!ai,'" stroked="',!!ai,'" style="position:absolute;width:1px;height:1px;">');if(ai){w(this,ag)}else{G(this,ag,{x:-j,y:0},{x:ar,y:i.size})}var an=ao[0][0].toFixed(3)+","+ao[1][0].toFixed(3)+","+ao[0][1].toFixed(3)+","+ao[1][1].toFixed(3)+",0,0";var al=n(aq.x/d)+","+n(aq.y/d);ag.push('<g_vml_:skew on="t" matrix="',an,'" ',' offset="',al,'" origin="',j,' 0" />','<g_vml_:path textpathok="true" />','<g_vml_:textpath on="true" string="',af(am),'" style="v-text-align:',Z,";font:",af(p),'" /></g_vml_:line>');this.element_.insertAdjacentHTML("beforeEnd",ag.join(""))};q.fillText=function(m,i,p,j){this.drawText_(m,i,p,j,false)};q.strokeText=function(m,i,p,j){this.drawText_(m,i,p,j,true)};q.measureText=function(m){if(!this.textMeasureEl_){var i='<span style="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;"></span>';this.element_.insertAdjacentHTML("beforeEnd",i);this.textMeasureEl_=this.element_.lastChild}var j=this.element_.ownerDocument;this.textMeasureEl_.innerHTML="";this.textMeasureEl_.style.font=this.font;this.textMeasureEl_.appendChild(j.createTextNode(m));return{width:this.textMeasureEl_.offsetWidth}};q.clip=function(){};q.arcTo=function(){};q.createPattern=function(j,i){return new T(j,i)};function U(i){this.type_=i;this.x0_=0;this.y0_=0;this.r0_=0;this.x1_=0;this.y1_=0;this.r1_=0;this.colors_=[]}U.prototype.addColorStop=function(j,i){i=F(i);this.colors_.push({offset:j,color:i.color,alpha:i.alpha})};function T(j,i){Q(j);switch(i){case"repeat":case null:case"":this.repetition_="repeat";break;case"repeat-x":case"repeat-y":case"no-repeat":this.repetition_=i;break;default:O("SYNTAX_ERR")}this.src_=j.src;this.width_=j.width;this.height_=j.height}function O(i){throw new P(i)}function Q(i){if(!i||i.nodeType!=1||i.tagName!="IMG"){O("TYPE_MISMATCH_ERR")}if(i.readyState!="complete"){O("INVALID_STATE_ERR")}}function P(i){this.code=this[i];this.message=i+": DOM Exception "+this.code}var X=P.prototype=new Error;X.INDEX_SIZE_ERR=1;X.DOMSTRING_SIZE_ERR=2;X.HIERARCHY_REQUEST_ERR=3;X.WRONG_DOCUMENT_ERR=4;X.INVALID_CHARACTER_ERR=5;X.NO_DATA_ALLOWED_ERR=6;X.NO_MODIFICATION_ALLOWED_ERR=7;X.NOT_FOUND_ERR=8;X.NOT_SUPPORTED_ERR=9;X.INUSE_ATTRIBUTE_ERR=10;X.INVALID_STATE_ERR=11;X.SYNTAX_ERR=12;X.INVALID_MODIFICATION_ERR=13;X.NAMESPACE_ERR=14;X.INVALID_ACCESS_ERR=15;X.VALIDATION_ERR=16;X.TYPE_MISMATCH_ERR=17;G_vmlCanvasManager=e;CanvasRenderingContext2D=D;CanvasGradient=U;CanvasPattern=T;DOMException=P})()};
@@ -0,0 +1,180 @@
1
+ /* Plugin for jQuery for working with colors.
2
+ *
3
+ * Version 1.1.
4
+ *
5
+ * Inspiration from jQuery color animation plugin by John Resig.
6
+ *
7
+ * Released under the MIT license by Ole Laursen, October 2009.
8
+ *
9
+ * Examples:
10
+ *
11
+ * $.color.parse("#fff").scale('rgb', 0.25).add('a', -0.5).toString()
12
+ * var c = $.color.extract($("#mydiv"), 'background-color');
13
+ * console.log(c.r, c.g, c.b, c.a);
14
+ * $.color.make(100, 50, 25, 0.4).toString() // returns "rgba(100,50,25,0.4)"
15
+ *
16
+ * Note that .scale() and .add() return the same modified object
17
+ * instead of making a new one.
18
+ *
19
+ * V. 1.1: Fix error handling so e.g. parsing an empty string does
20
+ * produce a color rather than just crashing.
21
+ */
22
+
23
+ (function($) {
24
+ $.color = {};
25
+
26
+ // construct color object with some convenient chainable helpers
27
+ $.color.make = function (r, g, b, a) {
28
+ var o = {};
29
+ o.r = r || 0;
30
+ o.g = g || 0;
31
+ o.b = b || 0;
32
+ o.a = a != null ? a : 1;
33
+
34
+ o.add = function (c, d) {
35
+ for (var i = 0; i < c.length; ++i)
36
+ o[c.charAt(i)] += d;
37
+ return o.normalize();
38
+ };
39
+
40
+ o.scale = function (c, f) {
41
+ for (var i = 0; i < c.length; ++i)
42
+ o[c.charAt(i)] *= f;
43
+ return o.normalize();
44
+ };
45
+
46
+ o.toString = function () {
47
+ if (o.a >= 1.0) {
48
+ return "rgb("+[o.r, o.g, o.b].join(",")+")";
49
+ } else {
50
+ return "rgba("+[o.r, o.g, o.b, o.a].join(",")+")";
51
+ }
52
+ };
53
+
54
+ o.normalize = function () {
55
+ function clamp(min, value, max) {
56
+ return value < min ? min: (value > max ? max: value);
57
+ }
58
+
59
+ o.r = clamp(0, parseInt(o.r), 255);
60
+ o.g = clamp(0, parseInt(o.g), 255);
61
+ o.b = clamp(0, parseInt(o.b), 255);
62
+ o.a = clamp(0, o.a, 1);
63
+ return o;
64
+ };
65
+
66
+ o.clone = function () {
67
+ return $.color.make(o.r, o.b, o.g, o.a);
68
+ };
69
+
70
+ return o.normalize();
71
+ }
72
+
73
+ // extract CSS color property from element, going up in the DOM
74
+ // if it's "transparent"
75
+ $.color.extract = function (elem, css) {
76
+ var c;
77
+
78
+ do {
79
+ c = elem.css(css).toLowerCase();
80
+ // keep going until we find an element that has color, or
81
+ // we hit the body or root (have no parent)
82
+ if (c != '' && c != 'transparent')
83
+ break;
84
+ elem = elem.parent();
85
+ } while (elem.length && !$.nodeName(elem.get(0), "body"));
86
+
87
+ // catch Safari's way of signalling transparent
88
+ if (c == "rgba(0, 0, 0, 0)")
89
+ c = "transparent";
90
+
91
+ return $.color.parse(c);
92
+ }
93
+
94
+ // parse CSS color string (like "rgb(10, 32, 43)" or "#fff"),
95
+ // returns color object, if parsing failed, you get black (0, 0,
96
+ // 0) out
97
+ $.color.parse = function (str) {
98
+ var res, m = $.color.make;
99
+
100
+ // Look for rgb(num,num,num)
101
+ if (res = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(str))
102
+ return m(parseInt(res[1], 10), parseInt(res[2], 10), parseInt(res[3], 10));
103
+
104
+ // Look for rgba(num,num,num,num)
105
+ if (res = /rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(str))
106
+ return m(parseInt(res[1], 10), parseInt(res[2], 10), parseInt(res[3], 10), parseFloat(res[4]));
107
+
108
+ // Look for rgb(num%,num%,num%)
109
+ if (res = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(str))
110
+ return m(parseFloat(res[1])*2.55, parseFloat(res[2])*2.55, parseFloat(res[3])*2.55);
111
+
112
+ // Look for rgba(num%,num%,num%,num)
113
+ if (res = /rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(str))
114
+ return m(parseFloat(res[1])*2.55, parseFloat(res[2])*2.55, parseFloat(res[3])*2.55, parseFloat(res[4]));
115
+
116
+ // Look for #a0b1c2
117
+ if (res = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(str))
118
+ return m(parseInt(res[1], 16), parseInt(res[2], 16), parseInt(res[3], 16));
119
+
120
+ // Look for #fff
121
+ if (res = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(str))
122
+ return m(parseInt(res[1]+res[1], 16), parseInt(res[2]+res[2], 16), parseInt(res[3]+res[3], 16));
123
+
124
+ // Otherwise, we're most likely dealing with a named color
125
+ var name = $.trim(str).toLowerCase();
126
+ if (name == "transparent")
127
+ return m(255, 255, 255, 0);
128
+ else {
129
+ // default to black
130
+ res = lookupColors[name] || [0, 0, 0];
131
+ return m(res[0], res[1], res[2]);
132
+ }
133
+ }
134
+
135
+ var lookupColors = {
136
+ aqua:[0,255,255],
137
+ azure:[240,255,255],
138
+ beige:[245,245,220],
139
+ black:[0,0,0],
140
+ blue:[0,0,255],
141
+ brown:[165,42,42],
142
+ cyan:[0,255,255],
143
+ darkblue:[0,0,139],
144
+ darkcyan:[0,139,139],
145
+ darkgrey:[169,169,169],
146
+ darkgreen:[0,100,0],
147
+ darkkhaki:[189,183,107],
148
+ darkmagenta:[139,0,139],
149
+ darkolivegreen:[85,107,47],
150
+ darkorange:[255,140,0],
151
+ darkorchid:[153,50,204],
152
+ darkred:[139,0,0],
153
+ darksalmon:[233,150,122],
154
+ darkviolet:[148,0,211],
155
+ fuchsia:[255,0,255],
156
+ gold:[255,215,0],
157
+ green:[0,128,0],
158
+ indigo:[75,0,130],
159
+ khaki:[240,230,140],
160
+ lightblue:[173,216,230],
161
+ lightcyan:[224,255,255],
162
+ lightgreen:[144,238,144],
163
+ lightgrey:[211,211,211],
164
+ lightpink:[255,182,193],
165
+ lightyellow:[255,255,224],
166
+ lime:[0,255,0],
167
+ magenta:[255,0,255],
168
+ maroon:[128,0,0],
169
+ navy:[0,0,128],
170
+ olive:[128,128,0],
171
+ orange:[255,165,0],
172
+ pink:[255,192,203],
173
+ purple:[128,0,128],
174
+ violet:[128,0,128],
175
+ red:[255,0,0],
176
+ silver:[192,192,192],
177
+ white:[255,255,255],
178
+ yellow:[255,255,0]
179
+ };
180
+ })(jQuery);
@@ -0,0 +1 @@
1
+ (function($){$.color={};$.color.make=function(r,g,b,a){var o={};o.r=r||0;o.g=g||0;o.b=b||0;o.a=a!=null?a:1;o.add=function(c,d){for(var i=0;i<c.length;++i)o[c.charAt(i)]+=d;return o.normalize()};o.scale=function(c,f){for(var i=0;i<c.length;++i)o[c.charAt(i)]*=f;return o.normalize()};o.toString=function(){if(o.a>=1){return"rgb("+[o.r,o.g,o.b].join(",")+")"}else{return"rgba("+[o.r,o.g,o.b,o.a].join(",")+")"}};o.normalize=function(){function clamp(min,value,max){return value<min?min:value>max?max:value}o.r=clamp(0,parseInt(o.r),255);o.g=clamp(0,parseInt(o.g),255);o.b=clamp(0,parseInt(o.b),255);o.a=clamp(0,o.a,1);return o};o.clone=function(){return $.color.make(o.r,o.b,o.g,o.a)};return o.normalize()};$.color.extract=function(elem,css){var c;do{c=elem.css(css).toLowerCase();if(c!=""&&c!="transparent")break;elem=elem.parent()}while(elem.length&&!$.nodeName(elem.get(0),"body"));if(c=="rgba(0, 0, 0, 0)")c="transparent";return $.color.parse(c)};$.color.parse=function(str){var res,m=$.color.make;if(res=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(str))return m(parseInt(res[1],10),parseInt(res[2],10),parseInt(res[3],10));if(res=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(str))return m(parseInt(res[1],10),parseInt(res[2],10),parseInt(res[3],10),parseFloat(res[4]));if(res=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(str))return m(parseFloat(res[1])*2.55,parseFloat(res[2])*2.55,parseFloat(res[3])*2.55);if(res=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(str))return m(parseFloat(res[1])*2.55,parseFloat(res[2])*2.55,parseFloat(res[3])*2.55,parseFloat(res[4]));if(res=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(str))return m(parseInt(res[1],16),parseInt(res[2],16),parseInt(res[3],16));if(res=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(str))return m(parseInt(res[1]+res[1],16),parseInt(res[2]+res[2],16),parseInt(res[3]+res[3],16));var name=$.trim(str).toLowerCase();if(name=="transparent")return m(255,255,255,0);else{res=lookupColors[name]||[0,0,0];return m(res[0],res[1],res[2])}};var lookupColors={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}})(jQuery);
@@ -0,0 +1,345 @@
1
+ /* Flot plugin for drawing all elements of a plot on the canvas.
2
+
3
+ Copyright (c) 2007-2013 IOLA and Ole Laursen.
4
+ Licensed under the MIT license.
5
+
6
+ Flot normally produces certain elements, like axis labels and the legend, using
7
+ HTML elements. This permits greater interactivity and customization, and often
8
+ looks better, due to cross-browser canvas text inconsistencies and limitations.
9
+
10
+ It can also be desirable to render the plot entirely in canvas, particularly
11
+ if the goal is to save it as an image, or if Flot is being used in a context
12
+ where the HTML DOM does not exist, as is the case within Node.js. This plugin
13
+ switches out Flot's standard drawing operations for canvas-only replacements.
14
+
15
+ Currently the plugin supports only axis labels, but it will eventually allow
16
+ every element of the plot to be rendered directly to canvas.
17
+
18
+ The plugin supports these options:
19
+
20
+ {
21
+ canvas: boolean
22
+ }
23
+
24
+ The "canvas" option controls whether full canvas drawing is enabled, making it
25
+ possible to toggle on and off. This is useful when a plot uses HTML text in the
26
+ browser, but needs to redraw with canvas text when exporting as an image.
27
+
28
+ */
29
+
30
+ (function($) {
31
+
32
+ var options = {
33
+ canvas: true
34
+ };
35
+
36
+ var render, getTextInfo, addText;
37
+
38
+ // Cache the prototype hasOwnProperty for faster access
39
+
40
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
41
+
42
+ function init(plot, classes) {
43
+
44
+ var Canvas = classes.Canvas;
45
+
46
+ // We only want to replace the functions once; the second time around
47
+ // we would just get our new function back. This whole replacing of
48
+ // prototype functions is a disaster, and needs to be changed ASAP.
49
+
50
+ if (render == null) {
51
+ getTextInfo = Canvas.prototype.getTextInfo,
52
+ addText = Canvas.prototype.addText,
53
+ render = Canvas.prototype.render;
54
+ }
55
+
56
+ // Finishes rendering the canvas, including overlaid text
57
+
58
+ Canvas.prototype.render = function() {
59
+
60
+ if (!plot.getOptions().canvas) {
61
+ return render.call(this);
62
+ }
63
+
64
+ var context = this.context,
65
+ cache = this._textCache;
66
+
67
+ // For each text layer, render elements marked as active
68
+
69
+ context.save();
70
+ context.textBaseline = "middle";
71
+
72
+ for (var layerKey in cache) {
73
+ if (hasOwnProperty.call(cache, layerKey)) {
74
+ var layerCache = cache[layerKey];
75
+ for (var styleKey in layerCache) {
76
+ if (hasOwnProperty.call(layerCache, styleKey)) {
77
+ var styleCache = layerCache[styleKey],
78
+ updateStyles = true;
79
+ for (var key in styleCache) {
80
+ if (hasOwnProperty.call(styleCache, key)) {
81
+
82
+ var info = styleCache[key],
83
+ positions = info.positions,
84
+ lines = info.lines;
85
+
86
+ // Since every element at this level of the cache have the
87
+ // same font and fill styles, we can just change them once
88
+ // using the values from the first element.
89
+
90
+ if (updateStyles) {
91
+ context.fillStyle = info.font.color;
92
+ context.font = info.font.definition;
93
+ updateStyles = false;
94
+ }
95
+
96
+ for (var i = 0, position; position = positions[i]; i++) {
97
+ if (position.active) {
98
+ for (var j = 0, line; line = position.lines[j]; j++) {
99
+ context.fillText(lines[j].text, line[0], line[1]);
100
+ }
101
+ } else {
102
+ positions.splice(i--, 1);
103
+ }
104
+ }
105
+
106
+ if (positions.length == 0) {
107
+ delete styleCache[key];
108
+ }
109
+ }
110
+ }
111
+ }
112
+ }
113
+ }
114
+ }
115
+
116
+ context.restore();
117
+ };
118
+
119
+ // Creates (if necessary) and returns a text info object.
120
+ //
121
+ // When the canvas option is set, the object looks like this:
122
+ //
123
+ // {
124
+ // width: Width of the text's bounding box.
125
+ // height: Height of the text's bounding box.
126
+ // positions: Array of positions at which this text is drawn.
127
+ // lines: [{
128
+ // height: Height of this line.
129
+ // widths: Width of this line.
130
+ // text: Text on this line.
131
+ // }],
132
+ // font: {
133
+ // definition: Canvas font property string.
134
+ // color: Color of the text.
135
+ // },
136
+ // }
137
+ //
138
+ // The positions array contains objects that look like this:
139
+ //
140
+ // {
141
+ // active: Flag indicating whether the text should be visible.
142
+ // lines: Array of [x, y] coordinates at which to draw the line.
143
+ // x: X coordinate at which to draw the text.
144
+ // y: Y coordinate at which to draw the text.
145
+ // }
146
+
147
+ Canvas.prototype.getTextInfo = function(layer, text, font, angle, width) {
148
+
149
+ if (!plot.getOptions().canvas) {
150
+ return getTextInfo.call(this, layer, text, font, angle, width);
151
+ }
152
+
153
+ var textStyle, layerCache, styleCache, info;
154
+
155
+ // Cast the value to a string, in case we were given a number
156
+
157
+ text = "" + text;
158
+
159
+ // If the font is a font-spec object, generate a CSS definition
160
+
161
+ if (typeof font === "object") {
162
+ textStyle = font.style + " " + font.variant + " " + font.weight + " " + font.size + "px " + font.family;
163
+ } else {
164
+ textStyle = font;
165
+ }
166
+
167
+ // Retrieve (or create) the cache for the text's layer and styles
168
+
169
+ layerCache = this._textCache[layer];
170
+
171
+ if (layerCache == null) {
172
+ layerCache = this._textCache[layer] = {};
173
+ }
174
+
175
+ styleCache = layerCache[textStyle];
176
+
177
+ if (styleCache == null) {
178
+ styleCache = layerCache[textStyle] = {};
179
+ }
180
+
181
+ info = styleCache[text];
182
+
183
+ if (info == null) {
184
+
185
+ var context = this.context;
186
+
187
+ // If the font was provided as CSS, create a div with those
188
+ // classes and examine it to generate a canvas font spec.
189
+
190
+ if (typeof font !== "object") {
191
+
192
+ var element = $("<div>&nbsp;</div>")
193
+ .css("position", "absolute")
194
+ .addClass(typeof font === "string" ? font : null)
195
+ .appendTo(this.getTextLayer(layer));
196
+
197
+ font = {
198
+ lineHeight: element.height(),
199
+ style: element.css("font-style"),
200
+ variant: element.css("font-variant"),
201
+ weight: element.css("font-weight"),
202
+ family: element.css("font-family"),
203
+ color: element.css("color")
204
+ };
205
+
206
+ // Setting line-height to 1, without units, sets it equal
207
+ // to the font-size, even if the font-size is abstract,
208
+ // like 'smaller'. This enables us to read the real size
209
+ // via the element's height, working around browsers that
210
+ // return the literal 'smaller' value.
211
+
212
+ font.size = element.css("line-height", 1).height();
213
+
214
+ element.remove();
215
+ }
216
+
217
+ textStyle = font.style + " " + font.variant + " " + font.weight + " " + font.size + "px " + font.family;
218
+
219
+ // Create a new info object, initializing the dimensions to
220
+ // zero so we can count them up line-by-line.
221
+
222
+ info = styleCache[text] = {
223
+ width: 0,
224
+ height: 0,
225
+ positions: [],
226
+ lines: [],
227
+ font: {
228
+ definition: textStyle,
229
+ color: font.color
230
+ }
231
+ };
232
+
233
+ context.save();
234
+ context.font = textStyle;
235
+
236
+ // Canvas can't handle multi-line strings; break on various
237
+ // newlines, including HTML brs, to build a list of lines.
238
+ // Note that we could split directly on regexps, but IE < 9 is
239
+ // broken; revisit when we drop IE 7/8 support.
240
+
241
+ var lines = (text + "").replace(/<br ?\/?>|\r\n|\r/g, "\n").split("\n");
242
+
243
+ for (var i = 0; i < lines.length; ++i) {
244
+
245
+ var lineText = lines[i],
246
+ measured = context.measureText(lineText);
247
+
248
+ info.width = Math.max(measured.width, info.width);
249
+ info.height += font.lineHeight;
250
+
251
+ info.lines.push({
252
+ text: lineText,
253
+ width: measured.width,
254
+ height: font.lineHeight
255
+ });
256
+ }
257
+
258
+ context.restore();
259
+ }
260
+
261
+ return info;
262
+ };
263
+
264
+ // Adds a text string to the canvas text overlay.
265
+
266
+ Canvas.prototype.addText = function(layer, x, y, text, font, angle, width, halign, valign) {
267
+
268
+ if (!plot.getOptions().canvas) {
269
+ return addText.call(this, layer, x, y, text, font, angle, width, halign, valign);
270
+ }
271
+
272
+ var info = this.getTextInfo(layer, text, font, angle, width),
273
+ positions = info.positions,
274
+ lines = info.lines;
275
+
276
+ // Text is drawn with baseline 'middle', which we need to account
277
+ // for by adding half a line's height to the y position.
278
+
279
+ y += info.height / lines.length / 2;
280
+
281
+ // Tweak the initial y-position to match vertical alignment
282
+
283
+ if (valign == "middle") {
284
+ y = Math.round(y - info.height / 2);
285
+ } else if (valign == "bottom") {
286
+ y = Math.round(y - info.height);
287
+ } else {
288
+ y = Math.round(y);
289
+ }
290
+
291
+ // FIXME: LEGACY BROWSER FIX
292
+ // AFFECTS: Opera < 12.00
293
+
294
+ // Offset the y coordinate, since Opera is off pretty
295
+ // consistently compared to the other browsers.
296
+
297
+ if (!!(window.opera && window.opera.version().split(".")[0] < 12)) {
298
+ y -= 2;
299
+ }
300
+
301
+ // Determine whether this text already exists at this position.
302
+ // If so, mark it for inclusion in the next render pass.
303
+
304
+ for (var i = 0, position; position = positions[i]; i++) {
305
+ if (position.x == x && position.y == y) {
306
+ position.active = true;
307
+ return;
308
+ }
309
+ }
310
+
311
+ // If the text doesn't exist at this position, create a new entry
312
+
313
+ position = {
314
+ active: true,
315
+ lines: [],
316
+ x: x,
317
+ y: y
318
+ };
319
+
320
+ positions.push(position);
321
+
322
+ // Fill in the x & y positions of each line, adjusting them
323
+ // individually for horizontal alignment.
324
+
325
+ for (var i = 0, line; line = lines[i]; i++) {
326
+ if (halign == "center") {
327
+ position.lines.push([Math.round(x - line.width / 2), y]);
328
+ } else if (halign == "right") {
329
+ position.lines.push([Math.round(x - line.width), y]);
330
+ } else {
331
+ position.lines.push([Math.round(x), y]);
332
+ }
333
+ y += line.height;
334
+ }
335
+ };
336
+ }
337
+
338
+ $.plot.plugins.push({
339
+ init: init,
340
+ options: options,
341
+ name: "canvas",
342
+ version: "1.0"
343
+ });
344
+
345
+ })(jQuery);