locomotivecms 3.0.1 → 3.1.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (576) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +5 -2
  3. data/app/api/locomotive/api.rb +4 -0
  4. data/app/api/locomotive/api/entities/site_entity.rb +8 -0
  5. data/app/api/locomotive/api/forms/site_form.rb +1 -1
  6. data/app/api/locomotive/api/helpers/params_helper.rb +14 -3
  7. data/app/api/locomotive/api/middlewares/logger_middleware.rb +1 -3
  8. data/app/api/locomotive/api/resources/current_site_resource.rb +3 -1
  9. data/app/api/locomotive/api/resources/page_resource.rb +2 -2
  10. data/app/api/locomotive/api/resources/site_resource.rb +4 -0
  11. data/app/assets/images/locomotive/blank.png +0 -0
  12. data/app/assets/images/locomotive/icons/flags/bf.png +0 -0
  13. data/app/assets/images/locomotive/icons/flags/bg.png +0 -0
  14. data/app/assets/images/locomotive/icons/flags/cs.png +0 -0
  15. data/app/assets/images/locomotive/icons/flags/de.png +0 -0
  16. data/app/assets/images/locomotive/icons/flags/en.png +0 -0
  17. data/app/assets/images/locomotive/icons/flags/es.png +0 -0
  18. data/app/assets/images/locomotive/icons/flags/et.png +0 -0
  19. data/app/assets/images/locomotive/icons/flags/fr.png +0 -0
  20. data/app/assets/images/locomotive/icons/flags/it.png +0 -0
  21. data/app/assets/images/locomotive/icons/flags/ja.png +0 -0
  22. data/app/assets/images/locomotive/icons/flags/lt.png +0 -0
  23. data/app/assets/images/locomotive/icons/flags/mg.png +0 -0
  24. data/app/assets/images/locomotive/icons/flags/nb.png +0 -0
  25. data/app/assets/images/locomotive/icons/flags/nl.png +0 -0
  26. data/app/assets/images/locomotive/icons/flags/pl.png +0 -0
  27. data/app/assets/images/locomotive/icons/flags/pt-BR.png +0 -0
  28. data/app/assets/images/locomotive/icons/flags/pt.png +0 -0
  29. data/app/assets/images/locomotive/icons/flags/ru.png +0 -0
  30. data/app/assets/images/locomotive/icons/flags/sk.png +0 -0
  31. data/app/assets/images/locomotive/icons/flags/sr.png +0 -0
  32. data/app/assets/images/locomotive/icons/flags/sv.png +0 -0
  33. data/app/assets/images/locomotive/icons/flags/zh-CN.png +0 -0
  34. data/app/assets/javascripts/locomotive.js +3 -1
  35. data/app/assets/javascripts/locomotive/utils/core_ext.js +10 -0
  36. data/app/assets/javascripts/locomotive/utils/wysihtml5.js.coffee +0 -16
  37. data/app/assets/javascripts/locomotive/views/application_view.js.coffee +20 -3
  38. data/app/assets/javascripts/locomotive/views/current_site/edit_view.js.coffee +7 -0
  39. data/app/assets/javascripts/locomotive/views/current_site_metafields/index_view.js.coffee +7 -0
  40. data/app/assets/javascripts/locomotive/views/editable_elements/edit_view.js.coffee +2 -2
  41. data/app/assets/javascripts/locomotive/views/editable_elements/iframe_view.js.coffee +10 -0
  42. data/app/assets/javascripts/locomotive/views/editable_elements/index_view.js.coffee +11 -6
  43. data/app/assets/javascripts/locomotive/views/editable_elements/text_highlighter_view.js.coffee +6 -1
  44. data/app/assets/javascripts/locomotive/views/inputs/file_view.js.coffee +1 -8
  45. data/app/assets/javascripts/locomotive/views/inputs/image_view.js.coffee +84 -0
  46. data/app/assets/javascripts/locomotive/views/inputs/rte/edit_table_view.js.coffee +2 -0
  47. data/app/assets/javascripts/locomotive/views/inputs/rte/file_view.js.coffee +5 -3
  48. data/app/assets/javascripts/locomotive/views/inputs/rte/image_view.js.coffee +14 -0
  49. data/app/assets/javascripts/locomotive/views/inputs/rte/link_view.js.coffee +9 -3
  50. data/app/assets/javascripts/locomotive/views/inputs/rte/table_view.js.coffee +7 -2
  51. data/app/assets/javascripts/locomotive/views/inputs/rte_view.js.coffee.erb +19 -6
  52. data/app/assets/javascripts/locomotive/views/inputs/simple_image_view.js.coffee +17 -40
  53. data/app/assets/javascripts/locomotive/views/shared/drawer_view.js.coffee +8 -6
  54. data/app/assets/javascripts/locomotive/views/shared/form_view.js.coffee +30 -8
  55. data/app/assets/javascripts/locomotive/views/shared/sidebar_view.js.coffee +31 -2
  56. data/app/assets/stylesheets/locomotive/account.scss +14 -10
  57. data/app/assets/stylesheets/locomotive/application.scss +101 -24
  58. data/app/assets/stylesheets/locomotive/live_editing_error.scss +48 -4
  59. data/app/assets/stylesheets/locomotive/live_editing_iframe.scss +0 -2
  60. data/app/assets/stylesheets/locomotive/new/_actionbar.scss +83 -0
  61. data/app/assets/stylesheets/locomotive/{account → new}/_brand.scss +0 -0
  62. data/app/assets/stylesheets/locomotive/new/_content.scss +65 -0
  63. data/app/assets/stylesheets/locomotive/new/_drawer.scss +53 -0
  64. data/app/assets/stylesheets/locomotive/new/_files.scss +124 -0
  65. data/app/assets/stylesheets/locomotive/{account → new}/_forms.scss +0 -0
  66. data/app/assets/stylesheets/locomotive/{account → new}/_keyframes.scss +0 -0
  67. data/app/assets/stylesheets/locomotive/{account → new}/_navigation.scss +85 -0
  68. data/app/assets/stylesheets/locomotive/{account → new}/_navs.scss +0 -0
  69. data/app/assets/stylesheets/locomotive/{account → new}/_notify.scss +0 -0
  70. data/app/assets/stylesheets/locomotive/{account → new}/_public.scss +0 -0
  71. data/app/assets/stylesheets/locomotive/new/_sidebar.scss +177 -0
  72. data/app/assets/stylesheets/locomotive/new/_transitions.scss +96 -0
  73. data/app/assets/stylesheets/locomotive/{account → new}/_type.scss +0 -0
  74. data/app/assets/stylesheets/locomotive/{account → new}/_variables.scss +0 -0
  75. data/app/assets/stylesheets/locomotive/{components → old}/_activity_feed.scss +0 -0
  76. data/app/assets/stylesheets/locomotive/{base → old}/_buttons.scss +0 -0
  77. data/app/assets/stylesheets/locomotive/{components → old}/_content_assets.scss +49 -48
  78. data/app/assets/stylesheets/locomotive/{components → old}/_dashboard.scss +0 -0
  79. data/app/assets/stylesheets/locomotive/{components → old}/_developers.scss +0 -0
  80. data/app/assets/stylesheets/locomotive/{components → old}/_list.scss +15 -21
  81. data/app/assets/stylesheets/locomotive/old/_live_editing.scss +37 -0
  82. data/app/assets/stylesheets/locomotive/{components → old}/_main.scss +4 -14
  83. data/app/assets/stylesheets/locomotive/{base → old}/_nav.scss +0 -0
  84. data/app/assets/stylesheets/locomotive/old/_scrollable.scss +11 -0
  85. data/app/assets/stylesheets/locomotive/{components/misc/_nav.scss → old/_search_bars.scss} +8 -14
  86. data/app/assets/stylesheets/locomotive/{components → old}/_translations.scss +0 -0
  87. data/app/assets/stylesheets/locomotive/{globals → old}/_variables.scss +47 -12
  88. data/app/assets/stylesheets/locomotive/{base → old}/form/_array_input.scss +20 -27
  89. data/app/assets/stylesheets/locomotive/{base → old}/form/_base.scss +1 -0
  90. data/app/assets/stylesheets/locomotive/{base → old}/form/_code.scss +0 -0
  91. data/app/assets/stylesheets/locomotive/{base → old}/form/_color_input.scss +0 -0
  92. data/app/assets/stylesheets/locomotive/{base → old}/form/_document_picker.scss +0 -0
  93. data/app/assets/stylesheets/locomotive/{base → old}/form/_file_input.scss +14 -20
  94. data/app/assets/stylesheets/locomotive/{base → old}/form/_link.scss +0 -0
  95. data/app/assets/stylesheets/locomotive/{base → old}/form/_markdown.scss +0 -0
  96. data/app/assets/stylesheets/locomotive/{base → old}/form/_popover.scss +0 -0
  97. data/app/assets/stylesheets/locomotive/{base → old}/form/_rte.scss +8 -0
  98. data/app/assets/stylesheets/locomotive/{base → old}/form/_select2.scss +35 -0
  99. data/app/assets/stylesheets/locomotive/{base → old}/form/_tags.scss +0 -0
  100. data/app/assets/stylesheets/locomotive/{base → old}/form/_toggle.scss +4 -10
  101. data/app/controllers/locomotive/content_entries_controller.rb +1 -1
  102. data/app/controllers/locomotive/current_site_metafields_controller.rb +34 -0
  103. data/app/controllers/locomotive/custom_fields/select_options_controller.rb +4 -0
  104. data/app/controllers/locomotive/pages_controller.rb +1 -1
  105. data/app/helpers/locomotive/base_helper.rb +13 -0
  106. data/app/helpers/locomotive/current_site_metafields_helper.rb +126 -0
  107. data/app/helpers/locomotive/my_account_helper.rb +1 -1
  108. data/app/helpers/locomotive/shared/pages_helper.rb +4 -0
  109. data/app/helpers/locomotive/sites_helper.rb +9 -11
  110. data/app/inputs/locomotive/file_input.rb +3 -3
  111. data/app/inputs/locomotive/image_input.rb +97 -0
  112. data/app/inputs/locomotive/rte_input.rb +2 -1
  113. data/app/inputs/locomotive/simple_image_input.rb +5 -68
  114. data/app/models/locomotive/concerns/site/metafields.rb +96 -0
  115. data/app/models/locomotive/editable_text.rb +2 -1
  116. data/app/models/locomotive/site.rb +1 -0
  117. data/app/policies/locomotive/page_policy.rb +6 -0
  118. data/app/services/locomotive/content_entry_service.rb +3 -0
  119. data/app/services/locomotive/site_metafields_service.rb +39 -0
  120. data/app/views/locomotive/current_site/edit.html.slim +3 -0
  121. data/app/views/locomotive/current_site_metafields/form/_panes.html.slim +19 -0
  122. data/app/views/locomotive/current_site_metafields/form/_tabs.html.slim +6 -0
  123. data/app/views/locomotive/current_site_metafields/index.html.slim +26 -0
  124. data/app/views/locomotive/editable_elements/_form.html.slim +1 -1
  125. data/app/views/locomotive/layouts/application.html.slim +22 -19
  126. data/app/views/locomotive/layouts/live_editing.html.slim +19 -30
  127. data/app/views/locomotive/pages/form/_main.html.slim +3 -0
  128. data/app/views/locomotive/shared/_account_navigation.slim +9 -2
  129. data/app/views/locomotive/shared/_head.html.slim +4 -0
  130. data/app/views/locomotive/shared/_locale_picker_link.html.slim +1 -1
  131. data/app/views/locomotive/shared/_navigation.html.slim +30 -0
  132. data/app/views/locomotive/shared/_sidebar.html.slim +42 -26
  133. data/app/views/locomotive/shared/rte/_toolbar.html.slim +76 -68
  134. data/app/views/locomotive/shared/sidebar/_content_types.html.slim +11 -11
  135. data/app/views/locomotive/shared/sidebar/_link.html.slim +0 -3
  136. data/app/views/locomotive/shared/sidebar/_page.html.slim +8 -13
  137. data/app/views/locomotive/shared/sidebar/_pages.html.slim +4 -7
  138. data/app/views/locomotive/sites/index.html.slim +0 -1
  139. data/config/locales/carrierwave.cs.yml +4 -0
  140. data/config/locales/carrierwave.de.yml +4 -0
  141. data/config/locales/cs.yml +318 -0
  142. data/config/locales/de.yml +318 -0
  143. data/config/locales/default.cs.yml +13 -0
  144. data/config/locales/default.de.yml +13 -0
  145. data/config/locales/default.fr.yml +13 -1
  146. data/config/locales/devise.cs.yml +61 -0
  147. data/config/locales/devise.de.yml +61 -0
  148. data/config/locales/devise.fr.yml +61 -1
  149. data/config/locales/el.yml +0 -2
  150. data/config/locales/en.yml +9 -0
  151. data/config/locales/flash.cs.yml +79 -0
  152. data/config/locales/flash.de.yml +79 -0
  153. data/config/locales/flash.en.yml +4 -0
  154. data/config/locales/flash.fr.yml +82 -1
  155. data/config/locales/fr.yml +323 -0
  156. data/config/locales/inputs.cs.yml +19 -0
  157. data/config/locales/inputs.de.yml +19 -0
  158. data/config/locales/inputs.fr.yml +19 -1
  159. data/config/locales/mongoid.cs.yml +47 -0
  160. data/config/locales/mongoid.de.yml +38 -0
  161. data/config/locales/mongoid.fr.yml +35 -0
  162. data/config/locales/simple_form.cs.yml +152 -0
  163. data/config/locales/simple_form.de.yml +36 -0
  164. data/config/locales/simple_form.el.yml +0 -1
  165. data/config/locales/simple_form.fr.yml +153 -1
  166. data/config/routes.rb +4 -0
  167. data/lib/generators/locomotive/install/templates/locomotive.rb +2 -2
  168. data/lib/locomotive/configuration.rb +1 -1
  169. data/lib/locomotive/dependencies.rb +1 -0
  170. data/lib/locomotive/engine.rb +0 -1
  171. data/lib/locomotive/middlewares/site.rb +1 -1
  172. data/lib/locomotive/mongoid/patches.rb +8 -0
  173. data/lib/locomotive/steam/middlewares/page_editing.rb +1 -1
  174. data/lib/locomotive/version.rb +1 -1
  175. data/spec/dummy/config/initializers/locomotive.rb +1 -1
  176. data/spec/models/locomotive/concerns/site/metafields_spec.rb +121 -0
  177. data/spec/requests/locomotive/steam/cache_spec.rb +1 -1
  178. data/vendor/assets/components/locomotive/eonasdan-bootstrap-datetimepicker/bootstrap-datetimepicker.css +5 -0
  179. data/vendor/assets/components/locomotive/eonasdan-bootstrap-datetimepicker/bootstrap-datetimepicker.js +9 -0
  180. data/vendor/assets/components/locomotive/moment-timezone/moment-timezone.js +7 -0
  181. data/vendor/assets/components/locomotive/moment/moment.js +3606 -0
  182. data/vendor/assets/components/locomotive/select2/select2.js +0 -3
  183. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/CONTRIBUTING.md +38 -0
  184. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/Gruntfile.js +191 -0
  185. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/LICENSE +21 -0
  186. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/README.md +37 -0
  187. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/bower.json +35 -0
  188. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker-standalone.css +103 -0
  189. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css +373 -0
  190. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css +5 -0
  191. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js +9 -0
  192. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/component.json +9 -0
  193. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/composer.json +28 -0
  194. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/ChangeLog.md +222 -0
  195. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/ContributorsGuide.md +126 -0
  196. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Events.md +96 -0
  197. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Extras.md +95 -0
  198. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/FAQ.md +22 -0
  199. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Functions.md +670 -0
  200. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Installing.md +161 -0
  201. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Options.md +473 -0
  202. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Version 4 Changelog.md +6 -0
  203. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Version 4 Contributors guide.md +6 -0
  204. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/index.md +592 -0
  205. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/mkdocs.yml +17 -0
  206. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/package.json +43 -0
  207. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js +2552 -0
  208. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/less/_bootstrap-datetimepicker.less +352 -0
  209. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/less/bootstrap-datetimepicker-build.less +17 -0
  210. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.CSS.nuspec +34 -0
  211. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.nuspec +34 -0
  212. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/NuGet.exe +0 -0
  213. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/install.ps1 +2 -0
  214. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/sass/_bootstrap-datetimepicker.scss +343 -0
  215. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/sass/bootstrap-datetimepicker-build.scss +16 -0
  216. data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/tasks/bump_version.js +88 -0
  217. data/vendor/assets/components/locomotive_sources/moment-timezone/LICENSE +20 -0
  218. data/vendor/assets/components/locomotive_sources/moment-timezone/README.md +36 -0
  219. data/vendor/assets/components/locomotive_sources/moment-timezone/bower.json +18 -0
  220. data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data-2010-2020.js +1189 -0
  221. data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data-2010-2020.min.js +7 -0
  222. data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data.js +1189 -0
  223. data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data.min.js +7 -0
  224. data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone.min.js +6 -0
  225. data/vendor/assets/components/locomotive_sources/moment-timezone/changelog.md +101 -0
  226. data/vendor/assets/components/locomotive_sources/moment-timezone/composer.json +43 -0
  227. data/vendor/assets/components/locomotive_sources/moment-timezone/data/meta/latest.json +5012 -0
  228. data/vendor/assets/components/locomotive_sources/moment-timezone/data/packed/latest.json +590 -0
  229. data/vendor/assets/components/locomotive_sources/moment-timezone/data/unpacked/latest.json +124081 -0
  230. data/vendor/assets/components/locomotive_sources/moment-timezone/moment-timezone-utils.js +316 -0
  231. data/vendor/assets/components/locomotive_sources/moment-timezone/moment-timezone.js +599 -0
  232. data/vendor/assets/components/locomotive_sources/moment/CHANGELOG.md +496 -0
  233. data/vendor/assets/components/locomotive_sources/moment/LICENSE +22 -0
  234. data/vendor/assets/components/locomotive_sources/moment/README.md +58 -0
  235. data/vendor/assets/components/locomotive_sources/moment/bower.json +22 -0
  236. data/vendor/assets/components/locomotive_sources/moment/locale/af.js +73 -0
  237. data/vendor/assets/components/locomotive_sources/moment/locale/ar-ma.js +59 -0
  238. data/vendor/assets/components/locomotive_sources/moment/locale/ar-sa.js +103 -0
  239. data/vendor/assets/components/locomotive_sources/moment/locale/ar-tn.js +57 -0
  240. data/vendor/assets/components/locomotive_sources/moment/locale/ar.js +136 -0
  241. data/vendor/assets/components/locomotive_sources/moment/locale/az.js +104 -0
  242. data/vendor/assets/components/locomotive_sources/moment/locale/be.js +134 -0
  243. data/vendor/assets/components/locomotive_sources/moment/locale/bg.js +90 -0
  244. data/vendor/assets/components/locomotive_sources/moment/locale/bn.js +113 -0
  245. data/vendor/assets/components/locomotive_sources/moment/locale/bo.js +110 -0
  246. data/vendor/assets/components/locomotive_sources/moment/locale/br.js +107 -0
  247. data/vendor/assets/components/locomotive_sources/moment/locale/bs.js +141 -0
  248. data/vendor/assets/components/locomotive_sources/moment/locale/ca.js +79 -0
  249. data/vendor/assets/components/locomotive_sources/moment/locale/cs.js +171 -0
  250. data/vendor/assets/components/locomotive_sources/moment/locale/cv.js +63 -0
  251. data/vendor/assets/components/locomotive_sources/moment/locale/cy.js +79 -0
  252. data/vendor/assets/components/locomotive_sources/moment/locale/da.js +60 -0
  253. data/vendor/assets/components/locomotive_sources/moment/locale/de-at.js +77 -0
  254. data/vendor/assets/components/locomotive_sources/moment/locale/de.js +76 -0
  255. data/vendor/assets/components/locomotive_sources/moment/locale/dv.js +99 -0
  256. data/vendor/assets/components/locomotive_sources/moment/locale/el.js +98 -0
  257. data/vendor/assets/components/locomotive_sources/moment/locale/en-au.js +66 -0
  258. data/vendor/assets/components/locomotive_sources/moment/locale/en-ca.js +63 -0
  259. data/vendor/assets/components/locomotive_sources/moment/locale/en-gb.js +67 -0
  260. data/vendor/assets/components/locomotive_sources/moment/locale/en-ie.js +67 -0
  261. data/vendor/assets/components/locomotive_sources/moment/locale/en-nz.js +66 -0
  262. data/vendor/assets/components/locomotive_sources/moment/locale/eo.js +73 -0
  263. data/vendor/assets/components/locomotive_sources/moment/locale/es.js +79 -0
  264. data/vendor/assets/components/locomotive_sources/moment/locale/et.js +80 -0
  265. data/vendor/assets/components/locomotive_sources/moment/locale/eu.js +64 -0
  266. data/vendor/assets/components/locomotive_sources/moment/locale/fa.js +105 -0
  267. data/vendor/assets/components/locomotive_sources/moment/locale/fi.js +107 -0
  268. data/vendor/assets/components/locomotive_sources/moment/locale/fo.js +60 -0
  269. data/vendor/assets/components/locomotive_sources/moment/locale/fr-ca.js +58 -0
  270. data/vendor/assets/components/locomotive_sources/moment/locale/fr-ch.js +62 -0
  271. data/vendor/assets/components/locomotive_sources/moment/locale/fr.js +62 -0
  272. data/vendor/assets/components/locomotive_sources/moment/locale/fy.js +71 -0
  273. data/vendor/assets/components/locomotive_sources/moment/locale/gd.js +76 -0
  274. data/vendor/assets/components/locomotive_sources/moment/locale/gl.js +75 -0
  275. data/vendor/assets/components/locomotive_sources/moment/locale/he.js +82 -0
  276. data/vendor/assets/components/locomotive_sources/moment/locale/hi.js +123 -0
  277. data/vendor/assets/components/locomotive_sources/moment/locale/hr.js +143 -0
  278. data/vendor/assets/components/locomotive_sources/moment/locale/hu.js +109 -0
  279. data/vendor/assets/components/locomotive_sources/moment/locale/hy-am.js +95 -0
  280. data/vendor/assets/components/locomotive_sources/moment/locale/id.js +83 -0
  281. data/vendor/assets/components/locomotive_sources/moment/locale/is.js +127 -0
  282. data/vendor/assets/components/locomotive_sources/moment/locale/it.js +70 -0
  283. data/vendor/assets/components/locomotive_sources/moment/locale/ja.js +65 -0
  284. data/vendor/assets/components/locomotive_sources/moment/locale/jv.js +83 -0
  285. data/vendor/assets/components/locomotive_sources/moment/locale/ka.js +89 -0
  286. data/vendor/assets/components/locomotive_sources/moment/locale/kk.js +87 -0
  287. data/vendor/assets/components/locomotive_sources/moment/locale/km.js +58 -0
  288. data/vendor/assets/components/locomotive_sources/moment/locale/ko.js +68 -0
  289. data/vendor/assets/components/locomotive_sources/moment/locale/lb.js +134 -0
  290. data/vendor/assets/components/locomotive_sources/moment/locale/lo.js +69 -0
  291. data/vendor/assets/components/locomotive_sources/moment/locale/lt.js +115 -0
  292. data/vendor/assets/components/locomotive_sources/moment/locale/lv.js +96 -0
  293. data/vendor/assets/components/locomotive_sources/moment/locale/me.js +109 -0
  294. data/vendor/assets/components/locomotive_sources/moment/locale/mk.js +90 -0
  295. data/vendor/assets/components/locomotive_sources/moment/locale/ml.js +71 -0
  296. data/vendor/assets/components/locomotive_sources/moment/locale/mr.js +158 -0
  297. data/vendor/assets/components/locomotive_sources/moment/locale/ms-my.js +82 -0
  298. data/vendor/assets/components/locomotive_sources/moment/locale/ms.js +82 -0
  299. data/vendor/assets/components/locomotive_sources/moment/locale/my.js +93 -0
  300. data/vendor/assets/components/locomotive_sources/moment/locale/nb.js +61 -0
  301. data/vendor/assets/components/locomotive_sources/moment/locale/ne.js +121 -0
  302. data/vendor/assets/components/locomotive_sources/moment/locale/nl.js +71 -0
  303. data/vendor/assets/components/locomotive_sources/moment/locale/nn.js +60 -0
  304. data/vendor/assets/components/locomotive_sources/moment/locale/pl.js +105 -0
  305. data/vendor/assets/components/locomotive_sources/moment/locale/pt-br.js +60 -0
  306. data/vendor/assets/components/locomotive_sources/moment/locale/pt.js +64 -0
  307. data/vendor/assets/components/locomotive_sources/moment/locale/ro.js +74 -0
  308. data/vendor/assets/components/locomotive_sources/moment/locale/ru.js +166 -0
  309. data/vendor/assets/components/locomotive_sources/moment/locale/se.js +61 -0
  310. data/vendor/assets/components/locomotive_sources/moment/locale/si.js +66 -0
  311. data/vendor/assets/components/locomotive_sources/moment/locale/sk.js +150 -0
  312. data/vendor/assets/components/locomotive_sources/moment/locale/sl.js +160 -0
  313. data/vendor/assets/components/locomotive_sources/moment/locale/sq.js +69 -0
  314. data/vendor/assets/components/locomotive_sources/moment/locale/sr-cyrl.js +108 -0
  315. data/vendor/assets/components/locomotive_sources/moment/locale/sr.js +108 -0
  316. data/vendor/assets/components/locomotive_sources/moment/locale/sv.js +67 -0
  317. data/vendor/assets/components/locomotive_sources/moment/locale/sw.js +58 -0
  318. data/vendor/assets/components/locomotive_sources/moment/locale/ta.js +129 -0
  319. data/vendor/assets/components/locomotive_sources/moment/locale/te.js +88 -0
  320. data/vendor/assets/components/locomotive_sources/moment/locale/th.js +65 -0
  321. data/vendor/assets/components/locomotive_sources/moment/locale/tl-ph.js +62 -0
  322. data/vendor/assets/components/locomotive_sources/moment/locale/tlh.js +119 -0
  323. data/vendor/assets/components/locomotive_sources/moment/locale/tr.js +90 -0
  324. data/vendor/assets/components/locomotive_sources/moment/locale/tzl.js +87 -0
  325. data/vendor/assets/components/locomotive_sources/moment/locale/tzm-latn.js +58 -0
  326. data/vendor/assets/components/locomotive_sources/moment/locale/tzm.js +58 -0
  327. data/vendor/assets/components/locomotive_sources/moment/locale/uk.js +146 -0
  328. data/vendor/assets/components/locomotive_sources/moment/locale/uz.js +58 -0
  329. data/vendor/assets/components/locomotive_sources/moment/locale/vi.js +66 -0
  330. data/vendor/assets/components/locomotive_sources/moment/locale/zh-cn.js +127 -0
  331. data/vendor/assets/components/locomotive_sources/moment/locale/zh-tw.js +101 -0
  332. data/vendor/assets/components/locomotive_sources/moment/min/locales.js +7548 -0
  333. data/vendor/assets/components/locomotive_sources/moment/min/locales.min.js +72 -0
  334. data/vendor/assets/components/locomotive_sources/moment/min/moment-with-locales.js +11144 -0
  335. data/vendor/assets/components/locomotive_sources/moment/min/moment-with-locales.min.js +74 -0
  336. data/vendor/assets/components/locomotive_sources/moment/min/moment.min.js +7 -0
  337. data/vendor/assets/components/locomotive_sources/moment/min/tests.js +46196 -0
  338. data/vendor/assets/components/locomotive_sources/moment/moment.js +3606 -0
  339. data/vendor/assets/components/locomotive_sources/moment/src/lib/create/check-overflow.js +34 -0
  340. data/vendor/assets/components/locomotive_sources/moment/src/lib/create/date-from-array.js +21 -0
  341. data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-anything.js +101 -0
  342. data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-array.js +136 -0
  343. data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-object.js +16 -0
  344. data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-string-and-array.js +50 -0
  345. data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-string-and-format.js +104 -0
  346. data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-string.js +120 -0
  347. data/vendor/assets/components/locomotive_sources/moment/src/lib/create/local.js +5 -0
  348. data/vendor/assets/components/locomotive_sources/moment/src/lib/create/parsing-flags.js +22 -0
  349. data/vendor/assets/components/locomotive_sources/moment/src/lib/create/utc.js +5 -0
  350. data/vendor/assets/components/locomotive_sources/moment/src/lib/create/valid.js +37 -0
  351. data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/abs.js +18 -0
  352. data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/add-subtract.js +21 -0
  353. data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/as.js +55 -0
  354. data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/bubble.js +61 -0
  355. data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/constructor.js +41 -0
  356. data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/create.js +117 -0
  357. data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/duration.js +12 -0
  358. data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/get.js +25 -0
  359. data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/humanize.js +64 -0
  360. data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/iso-string.js +52 -0
  361. data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/prototype.js +48 -0
  362. data/vendor/assets/components/locomotive_sources/moment/src/lib/format/format.js +92 -0
  363. data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/calendar.js +15 -0
  364. data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/constructor.js +2 -0
  365. data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/en.js +15 -0
  366. data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/formats.js +23 -0
  367. data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/invalid.js +5 -0
  368. data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/lists.js +48 -0
  369. data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/locale.js +35 -0
  370. data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/locales.js +118 -0
  371. data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/ordinal.js +7 -0
  372. data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/pre-post-format.js +3 -0
  373. data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/prototype.js +76 -0
  374. data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/relative.js +29 -0
  375. data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/set.js +16 -0
  376. data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/add-subtract.js +52 -0
  377. data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/calendar.js +21 -0
  378. data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/clone.js +5 -0
  379. data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/compare.js +57 -0
  380. data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/constructor.js +74 -0
  381. data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/creation-data.js +9 -0
  382. data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/diff.js +61 -0
  383. data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/format.js +28 -0
  384. data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/from.js +17 -0
  385. data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/get-set.js +43 -0
  386. data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/locale.js +34 -0
  387. data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/min-max.js +63 -0
  388. data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/moment.js +28 -0
  389. data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/now.js +3 -0
  390. data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/prototype.js +149 -0
  391. data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/start-end-of.js +52 -0
  392. data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/to-type.js +34 -0
  393. data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/to.js +17 -0
  394. data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/valid.js +15 -0
  395. data/vendor/assets/components/locomotive_sources/moment/src/lib/parse/regex.js +54 -0
  396. data/vendor/assets/components/locomotive_sources/moment/src/lib/parse/token.js +32 -0
  397. data/vendor/assets/components/locomotive_sources/moment/src/lib/units/aliases.js +29 -0
  398. data/vendor/assets/components/locomotive_sources/moment/src/lib/units/constants.js +9 -0
  399. data/vendor/assets/components/locomotive_sources/moment/src/lib/units/day-of-month.js +32 -0
  400. data/vendor/assets/components/locomotive_sources/moment/src/lib/units/day-of-week.js +162 -0
  401. data/vendor/assets/components/locomotive_sources/moment/src/lib/units/day-of-year.js +32 -0
  402. data/vendor/assets/components/locomotive_sources/moment/src/lib/units/hour.js +129 -0
  403. data/vendor/assets/components/locomotive_sources/moment/src/lib/units/millisecond.js +64 -0
  404. data/vendor/assets/components/locomotive_sources/moment/src/lib/units/minute.js +24 -0
  405. data/vendor/assets/components/locomotive_sources/moment/src/lib/units/month.js +209 -0
  406. data/vendor/assets/components/locomotive_sources/moment/src/lib/units/offset.js +219 -0
  407. data/vendor/assets/components/locomotive_sources/moment/src/lib/units/quarter.js +27 -0
  408. data/vendor/assets/components/locomotive_sources/moment/src/lib/units/second.js +24 -0
  409. data/vendor/assets/components/locomotive_sources/moment/src/lib/units/timestamp.js +20 -0
  410. data/vendor/assets/components/locomotive_sources/moment/src/lib/units/timezone.js +16 -0
  411. data/vendor/assets/components/locomotive_sources/moment/src/lib/units/units.js +20 -0
  412. data/vendor/assets/components/locomotive_sources/moment/src/lib/units/week-calendar-utils.js +65 -0
  413. data/vendor/assets/components/locomotive_sources/moment/src/lib/units/week-year.js +101 -0
  414. data/vendor/assets/components/locomotive_sources/moment/src/lib/units/week.js +61 -0
  415. data/vendor/assets/components/locomotive_sources/moment/src/lib/units/year.js +70 -0
  416. data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/abs-ceil.js +7 -0
  417. data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/abs-floor.js +7 -0
  418. data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/compare-arrays.js +16 -0
  419. data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/defaults.js +10 -0
  420. data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/deprecate.js +33 -0
  421. data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/extend.js +19 -0
  422. data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/has-own-prop.js +3 -0
  423. data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/hooks.js +13 -0
  424. data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-array.js +3 -0
  425. data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-date.js +3 -0
  426. data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-function.js +3 -0
  427. data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-undefined.js +3 -0
  428. data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/map.js +7 -0
  429. data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/to-int.js +12 -0
  430. data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/zero-fill.js +7 -0
  431. data/vendor/assets/components/locomotive_sources/moment/src/locale/af.js +63 -0
  432. data/vendor/assets/components/locomotive_sources/moment/src/locale/ar-ma.js +50 -0
  433. data/vendor/assets/components/locomotive_sources/moment/src/locale/ar-sa.js +94 -0
  434. data/vendor/assets/components/locomotive_sources/moment/src/locale/ar-tn.js +48 -0
  435. data/vendor/assets/components/locomotive_sources/moment/src/locale/ar.js +127 -0
  436. data/vendor/assets/components/locomotive_sources/moment/src/locale/az.js +95 -0
  437. data/vendor/assets/components/locomotive_sources/moment/src/locale/be.js +125 -0
  438. data/vendor/assets/components/locomotive_sources/moment/src/locale/bg.js +81 -0
  439. data/vendor/assets/components/locomotive_sources/moment/src/locale/bn.js +104 -0
  440. data/vendor/assets/components/locomotive_sources/moment/src/locale/bo.js +101 -0
  441. data/vendor/assets/components/locomotive_sources/moment/src/locale/br.js +98 -0
  442. data/vendor/assets/components/locomotive_sources/moment/src/locale/bs.js +132 -0
  443. data/vendor/assets/components/locomotive_sources/moment/src/locale/ca.js +70 -0
  444. data/vendor/assets/components/locomotive_sources/moment/src/locale/cs.js +162 -0
  445. data/vendor/assets/components/locomotive_sources/moment/src/locale/cv.js +53 -0
  446. data/vendor/assets/components/locomotive_sources/moment/src/locale/cy.js +70 -0
  447. data/vendor/assets/components/locomotive_sources/moment/src/locale/da.js +51 -0
  448. data/vendor/assets/components/locomotive_sources/moment/src/locale/de-at.js +67 -0
  449. data/vendor/assets/components/locomotive_sources/moment/src/locale/de.js +66 -0
  450. data/vendor/assets/components/locomotive_sources/moment/src/locale/dv.js +89 -0
  451. data/vendor/assets/components/locomotive_sources/moment/src/locale/el.js +86 -0
  452. data/vendor/assets/components/locomotive_sources/moment/src/locale/en-au.js +57 -0
  453. data/vendor/assets/components/locomotive_sources/moment/src/locale/en-ca.js +54 -0
  454. data/vendor/assets/components/locomotive_sources/moment/src/locale/en-gb.js +58 -0
  455. data/vendor/assets/components/locomotive_sources/moment/src/locale/en-ie.js +58 -0
  456. data/vendor/assets/components/locomotive_sources/moment/src/locale/en-nz.js +56 -0
  457. data/vendor/assets/components/locomotive_sources/moment/src/locale/eo.js +64 -0
  458. data/vendor/assets/components/locomotive_sources/moment/src/locale/es.js +70 -0
  459. data/vendor/assets/components/locomotive_sources/moment/src/locale/et.js +71 -0
  460. data/vendor/assets/components/locomotive_sources/moment/src/locale/eu.js +55 -0
  461. data/vendor/assets/components/locomotive_sources/moment/src/locale/fa.js +96 -0
  462. data/vendor/assets/components/locomotive_sources/moment/src/locale/fi.js +98 -0
  463. data/vendor/assets/components/locomotive_sources/moment/src/locale/fo.js +51 -0
  464. data/vendor/assets/components/locomotive_sources/moment/src/locale/fr-ca.js +49 -0
  465. data/vendor/assets/components/locomotive_sources/moment/src/locale/fr-ch.js +53 -0
  466. data/vendor/assets/components/locomotive_sources/moment/src/locale/fr.js +53 -0
  467. data/vendor/assets/components/locomotive_sources/moment/src/locale/fy.js +62 -0
  468. data/vendor/assets/components/locomotive_sources/moment/src/locale/gd.js +67 -0
  469. data/vendor/assets/components/locomotive_sources/moment/src/locale/gl.js +66 -0
  470. data/vendor/assets/components/locomotive_sources/moment/src/locale/he.js +73 -0
  471. data/vendor/assets/components/locomotive_sources/moment/src/locale/hi.js +114 -0
  472. data/vendor/assets/components/locomotive_sources/moment/src/locale/hr.js +134 -0
  473. data/vendor/assets/components/locomotive_sources/moment/src/locale/hu.js +100 -0
  474. data/vendor/assets/components/locomotive_sources/moment/src/locale/hy-am.js +86 -0
  475. data/vendor/assets/components/locomotive_sources/moment/src/locale/id.js +74 -0
  476. data/vendor/assets/components/locomotive_sources/moment/src/locale/is.js +118 -0
  477. data/vendor/assets/components/locomotive_sources/moment/src/locale/it.js +61 -0
  478. data/vendor/assets/components/locomotive_sources/moment/src/locale/ja.js +56 -0
  479. data/vendor/assets/components/locomotive_sources/moment/src/locale/jv.js +73 -0
  480. data/vendor/assets/components/locomotive_sources/moment/src/locale/ka.js +80 -0
  481. data/vendor/assets/components/locomotive_sources/moment/src/locale/kk.js +77 -0
  482. data/vendor/assets/components/locomotive_sources/moment/src/locale/km.js +49 -0
  483. data/vendor/assets/components/locomotive_sources/moment/src/locale/ko.js +59 -0
  484. data/vendor/assets/components/locomotive_sources/moment/src/locale/lb.js +125 -0
  485. data/vendor/assets/components/locomotive_sources/moment/src/locale/lo.js +60 -0
  486. data/vendor/assets/components/locomotive_sources/moment/src/locale/lt.js +106 -0
  487. data/vendor/assets/components/locomotive_sources/moment/src/locale/lv.js +87 -0
  488. data/vendor/assets/components/locomotive_sources/moment/src/locale/me.js +99 -0
  489. data/vendor/assets/components/locomotive_sources/moment/src/locale/mk.js +81 -0
  490. data/vendor/assets/components/locomotive_sources/moment/src/locale/ml.js +62 -0
  491. data/vendor/assets/components/locomotive_sources/moment/src/locale/mr.js +149 -0
  492. data/vendor/assets/components/locomotive_sources/moment/src/locale/ms-my.js +73 -0
  493. data/vendor/assets/components/locomotive_sources/moment/src/locale/ms.js +73 -0
  494. data/vendor/assets/components/locomotive_sources/moment/src/locale/my.js +84 -0
  495. data/vendor/assets/components/locomotive_sources/moment/src/locale/nb.js +52 -0
  496. data/vendor/assets/components/locomotive_sources/moment/src/locale/ne.js +112 -0
  497. data/vendor/assets/components/locomotive_sources/moment/src/locale/nl.js +62 -0
  498. data/vendor/assets/components/locomotive_sources/moment/src/locale/nn.js +51 -0
  499. data/vendor/assets/components/locomotive_sources/moment/src/locale/pl.js +95 -0
  500. data/vendor/assets/components/locomotive_sources/moment/src/locale/pt-br.js +51 -0
  501. data/vendor/assets/components/locomotive_sources/moment/src/locale/pt.js +55 -0
  502. data/vendor/assets/components/locomotive_sources/moment/src/locale/ro.js +65 -0
  503. data/vendor/assets/components/locomotive_sources/moment/src/locale/ru.js +156 -0
  504. data/vendor/assets/components/locomotive_sources/moment/src/locale/se.js +51 -0
  505. data/vendor/assets/components/locomotive_sources/moment/src/locale/si.js +56 -0
  506. data/vendor/assets/components/locomotive_sources/moment/src/locale/sk.js +141 -0
  507. data/vendor/assets/components/locomotive_sources/moment/src/locale/sl.js +150 -0
  508. data/vendor/assets/components/locomotive_sources/moment/src/locale/sq.js +60 -0
  509. data/vendor/assets/components/locomotive_sources/moment/src/locale/sr-cyrl.js +99 -0
  510. data/vendor/assets/components/locomotive_sources/moment/src/locale/sr.js +99 -0
  511. data/vendor/assets/components/locomotive_sources/moment/src/locale/sv.js +58 -0
  512. data/vendor/assets/components/locomotive_sources/moment/src/locale/sw.js +49 -0
  513. data/vendor/assets/components/locomotive_sources/moment/src/locale/ta.js +120 -0
  514. data/vendor/assets/components/locomotive_sources/moment/src/locale/te.js +78 -0
  515. data/vendor/assets/components/locomotive_sources/moment/src/locale/th.js +56 -0
  516. data/vendor/assets/components/locomotive_sources/moment/src/locale/tl-ph.js +53 -0
  517. data/vendor/assets/components/locomotive_sources/moment/src/locale/tlh.js +109 -0
  518. data/vendor/assets/components/locomotive_sources/moment/src/locale/tr.js +81 -0
  519. data/vendor/assets/components/locomotive_sources/moment/src/locale/tzl.js +78 -0
  520. data/vendor/assets/components/locomotive_sources/moment/src/locale/tzm-latn.js +49 -0
  521. data/vendor/assets/components/locomotive_sources/moment/src/locale/tzm.js +49 -0
  522. data/vendor/assets/components/locomotive_sources/moment/src/locale/uk.js +137 -0
  523. data/vendor/assets/components/locomotive_sources/moment/src/locale/uz.js +49 -0
  524. data/vendor/assets/components/locomotive_sources/moment/src/locale/vi.js +57 -0
  525. data/vendor/assets/components/locomotive_sources/moment/src/locale/zh-cn.js +118 -0
  526. data/vendor/assets/components/locomotive_sources/moment/src/locale/zh-tw.js +91 -0
  527. data/vendor/assets/components/locomotive_sources/moment/src/moment.js +71 -0
  528. data/vendor/assets/components/locomotive_sources/moment/templates/amd-named.js +7 -0
  529. data/vendor/assets/components/locomotive_sources/moment/templates/amd.js +7 -0
  530. data/vendor/assets/components/locomotive_sources/moment/templates/default.js +5 -0
  531. data/vendor/assets/components/locomotive_sources/moment/templates/globals.js +5 -0
  532. data/vendor/assets/components/locomotive_sources/moment/templates/locale-header.js +6 -0
  533. data/vendor/assets/components/locomotive_sources/moment/templates/test-header.js +6 -0
  534. data/vendor/assets/javascripts/locomotive/vendor.js +1 -2
  535. data/vendor/assets/stylesheets/locomotive/wysihtml5_editor.css +1 -1
  536. metadata +458 -100
  537. data/app/assets/stylesheets/locomotive/account/_files.scss +0 -125
  538. data/app/assets/stylesheets/locomotive/base/_all.scss +0 -6
  539. data/app/assets/stylesheets/locomotive/base/_fonts.scss +0 -27
  540. data/app/assets/stylesheets/locomotive/base/_form.scss +0 -18
  541. data/app/assets/stylesheets/locomotive/base/_iframe.scss +0 -4
  542. data/app/assets/stylesheets/locomotive/base/_typography.scss +0 -6
  543. data/app/assets/stylesheets/locomotive/base/form/_api_key.scss +0 -24
  544. data/app/assets/stylesheets/locomotive/base/form/_date.scss +0 -11
  545. data/app/assets/stylesheets/locomotive/components/_drawer.scss +0 -24
  546. data/app/assets/stylesheets/locomotive/components/_header.scss +0 -3
  547. data/app/assets/stylesheets/locomotive/components/_live_editing.scss +0 -95
  548. data/app/assets/stylesheets/locomotive/components/_misc.scss +0 -3
  549. data/app/assets/stylesheets/locomotive/components/_sidebar.scss +0 -5
  550. data/app/assets/stylesheets/locomotive/components/_sites.scss +0 -130
  551. data/app/assets/stylesheets/locomotive/components/_transitions.scss +0 -149
  552. data/app/assets/stylesheets/locomotive/components/header/_account.scss +0 -63
  553. data/app/assets/stylesheets/locomotive/components/header/_base.scss +0 -91
  554. data/app/assets/stylesheets/locomotive/components/header/_responsive.scss +0 -34
  555. data/app/assets/stylesheets/locomotive/components/misc/_modal.scss +0 -13
  556. data/app/assets/stylesheets/locomotive/components/misc/_notify.scss +0 -25
  557. data/app/assets/stylesheets/locomotive/components/sidebar/_base.scss +0 -58
  558. data/app/assets/stylesheets/locomotive/components/sidebar/_content_types.scss +0 -30
  559. data/app/assets/stylesheets/locomotive/components/sidebar/_link.scss +0 -36
  560. data/app/assets/stylesheets/locomotive/components/sidebar/_my_account.scss +0 -21
  561. data/app/assets/stylesheets/locomotive/components/sidebar/_pages_tree.scss +0 -108
  562. data/app/assets/stylesheets/locomotive/globals/_mixins.scss +0 -34
  563. data/app/assets/stylesheets/locomotive/layouts/_live_editing.scss +0 -33
  564. data/app/assets/stylesheets/locomotive/layouts/_main.scss +0 -62
  565. data/app/assets/stylesheets/locomotive/layouts/_not_logged_in.scss +0 -33
  566. data/app/assets/stylesheets/locomotive/layouts/_responsive.scss +0 -12
  567. data/app/views/locomotive/shared/_header.html.slim +0 -30
  568. data/app/views/locomotive/shared/_sidebar_without_site.html.slim +0 -5
  569. data/app/views/locomotive/shared/header/_account.html.slim +0 -4
  570. data/app/views/locomotive/shared/header/_account_menu.html.slim +0 -5
  571. data/app/views/locomotive/shared/header/_brand.html.slim +0 -3
  572. data/app/views/locomotive/shared/header/_site.html.slim +0 -8
  573. data/app/views/locomotive/shared/sidebar/_my_account.html.slim +0 -8
  574. data/vendor/assets/javascripts/locomotive/bootstrap-datetimepicker.js +0 -1395
  575. data/vendor/assets/javascripts/locomotive/moment.js +0 -2808
  576. data/vendor/assets/stylesheets/locomotive/bootstrap-datetimepicker.css +0 -235
@@ -11,6 +11,9 @@
11
11
 
12
12
  = f.input :parent_id, as: :select, collection: parent_pages_options, include_blank: false
13
13
 
14
+ - if policy(current_site).site_admin_or_designer?
15
+ = f.input :handle
16
+
14
17
  = f.input :redirect, as: :toggle
15
18
 
16
19
  = f.input :redirect_url, as: :string, wrapper_html: { class: "#{'hide' unless @page.redirect?}" }
@@ -4,7 +4,14 @@ nav.navigation class="#{class_name rescue ''}"
4
4
 
5
5
  ul.navigation-links
6
6
  li.dropdown
7
- = render 'locomotive/shared/header/account'
7
+ = link_to '#', id: 'navigation-dropdown', class: 'dropdown-toggle', data: { toggle: 'dropdown' }, aria: { haspopup: 'true', expanded: 'false' } do
8
+ = image_tag account_avatar_url(current_locomotive_account), class: 'img-circle', alt: current_locomotive_account.name_was
9
+ span= current_locomotive_account.name_was
10
+ span.caret
8
11
 
9
12
  ul.dropdown-menu role='menu' aria-labelledby="navigation-dropdown"
10
- = render 'locomotive/shared/header/account_menu'
13
+ li= link_to t(:sites, scope: 'locomotive.shared.header'), sites_path
14
+ li= link_to t(:account, scope: 'locomotive.shared.header'), edit_my_account_path(_location: request.fullpath)
15
+ li= link_to t(:help, scope: 'locomotive.shared.header'), 'http://locomotive-v3.readme.io', target: '_blank'
16
+ li class="divider"
17
+ li= link_to t(:logout, scope: 'locomotive.shared.header'), sign_out_path, data: { method: 'delete' }
@@ -9,12 +9,16 @@
9
9
 
10
10
  meta name='key-param' content=Rails.application.config.session_options[:key]
11
11
  meta name='key-token' content=cookies[key]
12
+ meta name='unsaved-content-warning' content=t('locomotive.messages.unsaved_content_warning')
13
+ meta name="viewport" content="width=device-width, initial-scale=1"
12
14
 
13
15
  link rel="icon" type="image/png" href="#{asset_url('locomotive/favicon.png')}" sizes="32x32"
14
16
 
15
17
  javascript:
16
18
  window.Locomotive = { mounted_on: '#{Locomotive.mounted_on}' }
17
19
 
20
+ link href="https://fonts.googleapis.com/css?family=Muli:400,300|Noto+Sans:400,700" rel="stylesheet" type="text/css"
21
+
18
22
  = stylesheet_link_tag 'locomotive/application', media: 'screen'
19
23
  = javascript_include_tag 'locomotive'
20
24
 
@@ -1,4 +1,4 @@
1
- .btn-group
1
+ .btn-group.locale-picker-btn-group
2
2
  button.btn.btn-primary.btn-sm.dropdown-toggle data-toggle='dropdown' data-aria-haspopup='true' data-aria-expanded='false'
3
3
  = flag_tag current_content_locale, '17x17'
4
4
  |  
@@ -0,0 +1,30 @@
1
+ nav.navigation.navigation-app
2
+ .navigation-trigger
3
+ .fa.fa-caret-left
4
+ .fa.fa-bars
5
+ .fa.fa-caret-right
6
+
7
+ - if (_title = yield(:site_title)).present?
8
+ .navigation-middle
9
+ = _title
10
+ - else
11
+ .navigation-middle
12
+ = link_to current_site.name_was, dashboard_path(current_site)
13
+ = link_to preview_path(current_site), target: 'blank' do
14
+ i.fa.fa-external-link
15
+
16
+ ul.navigation-links
17
+ li.dropdown
18
+ = link_to '#', id: 'navigation-dropdown', class: 'dropdown-toggle', data: { toggle: 'dropdown' }, aria: { haspopup: 'true', expanded: 'false' } do
19
+ = image_tag account_avatar_url(current_locomotive_account), class: 'img-circle', alt: current_locomotive_account.name_was
20
+ span= current_locomotive_account.name_was
21
+ span.caret
22
+
23
+ ul.dropdown-menu role='menu' aria-labelledby="navigation-dropdown"
24
+ li= link_to t(:sites, scope: 'locomotive.shared.header'), sites_path
25
+ li= link_to t(:account, scope: 'locomotive.shared.header'), edit_my_account_path(_location: request.fullpath)
26
+ li= link_to t(:help, scope: 'locomotive.shared.header'), 'http://locomotive-v3.readme.io', target: '_blank'
27
+ li class="divider"
28
+ li= link_to t(:logout, scope: 'locomotive.shared.header'), sign_out_path, data: { method: 'delete' }
29
+
30
+ = render 'locomotive/shared/main_app_header'
@@ -1,26 +1,42 @@
1
- = render 'locomotive/shared/sidebar/my_account'
2
-
3
- - cache(cache_key_for_sidebar) do
4
-
5
- = render 'locomotive/shared/sidebar/link', icon: 'fa-dashboard', label: t('.dashboard'), url: dashboard_path(current_site)
6
-
7
- - cache(cache_key_for_sidebar_pages) do
8
- = render_pages
9
-
10
- - cache(cache_key_for_sidebar_content_types) do
11
- = render 'locomotive/shared/sidebar/content_types'
12
-
13
- = render 'locomotive/shared/sidebar/link', icon: 'fa-picture-o', label: t('.assets'), url: content_assets_path(current_site)
14
-
15
- - if current_site.localized?
16
- = render 'locomotive/shared/sidebar/link', icon: 'fa-globe', label: t('.translations'), url: translations_path(current_site)
17
-
18
- = render 'locomotive/shared/sidebar/link', icon: 'fa-gear', label: t('.settings'), url: edit_current_site_path(current_site)
19
-
20
- - if policy(current_site).show_developers_documentation?
21
- = render 'locomotive/shared/sidebar/link', icon: 'fa-book', label: t('.developers'), url: developers_documentation_path(current_site)
22
-
23
- = render 'locomotive/shared/sidebar/link', icon: 'fa-suitcase', label: t(:sites, scope: 'locomotive.shared.header'), url: sites_path, section_class: 'visible-xs-block'
24
-
25
- = render 'locomotive/shared/sidebar/link', icon: 'fa-sign-out', label: t(:logout, scope: 'locomotive.shared.header'), url: sign_out_path, data: { method: 'delete' }, section_class: 'visible-xs-block'
26
-
1
+ .sidebar role="tablist" aria-multiselectable="false"
2
+ = link_to root_path, class: 'sidebar-logo' do
3
+ = image_tag 'locomotive/logo.png'
4
+
5
+ - cache(cache_key_for_sidebar) do
6
+ = link_to dashboard_path(current_site), class: sidebar_link_class(:dashboard) do
7
+ i.fa.fa-bar-chart
8
+ span= t('.dashboard')
9
+
10
+ - cache(cache_key_for_sidebar_pages) do
11
+ = link_to '#collapsePages', data: { toggle: 'collapse' }, aria: { expanded: 'false', controls: 'collapsePages' }, class: sidebar_link_class(:pages) do
12
+ i.fa.fa-file-text-o
13
+ span= t('.pages')
14
+ i.fa.fa-caret-down
15
+
16
+ = render_pages
17
+
18
+ - cache(cache_key_for_sidebar_content_types) do
19
+ = render 'locomotive/shared/sidebar/content_types'
20
+
21
+ = link_to content_assets_path(current_site), class: sidebar_link_class(:content_assets) do
22
+ i.fa.fa-picture-o
23
+ span= t('.assets')
24
+
25
+ - if current_site.localized?
26
+ = link_to translations_path(current_site), class: sidebar_link_class(:translations) do
27
+ i.fa.fa-globe
28
+ span= t('.translations')
29
+
30
+ - if current_site.has_metafields?
31
+ = link_to current_site_metafields_path(current_site), class: sidebar_link_class(:current_site_metafields) do
32
+ i.fa.fa-newspaper-o
33
+ span= t('.metafields')
34
+
35
+ = link_to edit_current_site_path(current_site), class: sidebar_link_class(:current_site) do
36
+ i.fa.fa-cogs
37
+ span= t('.settings')
38
+
39
+ - if policy(current_site).show_developers_documentation?
40
+ = link_to developers_documentation_path(current_site), class: sidebar_link_class(:developers_documentation) do
41
+ i.fa.fa-file-code-o
42
+ span= t('.developers')
@@ -10,90 +10,98 @@
10
10
  a data-wysihtml5-command='strike'
11
11
  i.fa.fa-strikethrough
12
12
 
13
- span.wysihtml5-toolbar-group
14
- a data-wysihtml5-command='justifyLeft'
15
- i.fa.fa-align-left
16
- a data-wysihtml5-command='justifyCenter'
17
- i.fa.fa-align-center
18
- a data-wysihtml5-command='justifyRight'
19
- i.fa.fa-align-right
20
- a data-wysihtml5-command='justifyFull'
21
- i.fa.fa-align-justify
13
+ - unless inline
14
+ span.wysihtml5-toolbar-group
15
+ a data-wysihtml5-command='justifyLeft'
16
+ i.fa.fa-align-left
17
+ a data-wysihtml5-command='justifyCenter'
18
+ i.fa.fa-align-center
19
+ a data-wysihtml5-command='justifyRight'
20
+ i.fa.fa-align-right
21
+ a data-wysihtml5-command='justifyFull'
22
+ i.fa.fa-align-justify
22
23
 
23
- span.wysihtml5-toolbar-group
24
- a data-wysihtml5-command='insertUnorderedList'
25
- i.fa.fa-list-ul
26
- a data-wysihtml5-command='insertOrderedList'
27
- i.fa.fa-list-ol
28
- a.style
29
- i.fa.fa-paragraph
24
+ span.wysihtml5-toolbar-group
25
+ a data-wysihtml5-command='insertUnorderedList'
26
+ i.fa.fa-list-ul
27
+ a data-wysihtml5-command='insertOrderedList'
28
+ i.fa.fa-list-ol
29
+ a.style
30
+ i.fa.fa-paragraph
30
31
 
31
- .style-dialog-content style='display: none'
32
- a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h1' H1
33
- |  
34
- a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h2' H2
35
- |  
36
- a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h3' H3
37
- |  
38
- a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h4' H4
39
- |  
40
- a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h5' H5
41
- |  
42
- a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h6' H6
43
- |  
44
- a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='p' P
45
- |  
46
- a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='blockquote'
47
- i.fa.fa-quote-right
48
- |  
49
- a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='code'
50
- | Code
51
- |  
52
- a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='pre'
53
- | Pre
32
+ .style-dialog-content style='display: none'
33
+ a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h1' H1
34
+ |  
35
+ a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h2' H2
36
+ |  
37
+ a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h3' H3
38
+ |  
39
+ a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h4' H4
40
+ |  
41
+ a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h5' H5
42
+ |  
43
+ a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h6' H6
44
+ |  
45
+ a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='p' P
46
+ |  
47
+ a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='blockquote'
48
+ i.fa.fa-quote-right
49
+ |  
50
+ a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='code'
51
+ | Code
52
+ |  
53
+ a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='pre'
54
+ | Pre
54
55
 
56
+ span.wysihtml5-toolbar-group
55
57
  a data-wysihtml5-command='createLink'
56
58
  i.fa.fa-chain
57
59
  = link_popover
58
60
  a data-wysihtml5-command='removeLink'
59
61
  i.fa.fa-chain-broken
60
62
 
63
+ a data-url=content_assets_path(types: 'image') data-wysihtml5-command='insertImage'
64
+ i.fa.fa-picture-o
65
+ = image_popover
66
+
61
67
  a data-url=content_assets_path data-wysihtml5-command='insertFile'
62
- i.fa.fa-file-o
68
+ i.fa.fa-paperclip
63
69
  = image_popover
64
70
 
65
- a data-wysihtml5-command='createTable'
66
- i.fa.fa-table
67
- = table_popover
71
+ - unless inline
72
+ a data-wysihtml5-command='createTable'
73
+ i.fa.fa-table
74
+ = table_popover
68
75
 
69
- a data-wysihtml5-hiddentools='table' class="edit-table" style="display: none"
70
- i.fa.fa-table
76
+ a data-wysihtml5-hiddentools='table' class="edit-table" style="display: none"
77
+ i.fa.fa-table
71
78
 
72
- .table-dialog-content style='display: none'
73
- a data-wysihtml5-command="mergeTableCells" unselectable="on"
74
- = t('.table.merge')
75
- br
76
- a data-wysihtml5-command="addTableCells" data-wysihtml5-command-value="above" unselectable="on"
77
- = t('.table.insert_row_before')
78
- br
79
- a data-wysihtml5-command="addTableCells" data-wysihtml5-command-value="below"
80
- = t('.table.insert_row_after')
81
- br
82
- a data-wysihtml5-command="addTableCells" data-wysihtml5-command-value="before" unselectable="on"
83
- = t('.table.insert_col_before')
84
- br
85
- a data-wysihtml5-command="addTableCells" data-wysihtml5-command-value="after" unselectable="on"
86
- = t('.table.insert_col_after')
87
- br
88
- a data-wysihtml5-command="deleteTableCells" data-wysihtml5-command-value="row" unselectable="on"
89
- = t('.table.delete_row')
90
- br
91
- a data-wysihtml5-command="deleteTableCells" data-wysihtml5-command-value="column" unselectable="on"
92
- = t('.table.delete_col')
79
+ .table-dialog-content style='display: none'
80
+ a data-wysihtml5-command="mergeTableCells" unselectable="on"
81
+ = t('.table.merge')
82
+ br
83
+ a data-wysihtml5-command="addTableCells" data-wysihtml5-command-value="above" unselectable="on"
84
+ = t('.table.insert_row_before')
85
+ br
86
+ a data-wysihtml5-command="addTableCells" data-wysihtml5-command-value="below"
87
+ = t('.table.insert_row_after')
88
+ br
89
+ a data-wysihtml5-command="addTableCells" data-wysihtml5-command-value="before" unselectable="on"
90
+ = t('.table.insert_col_before')
91
+ br
92
+ a data-wysihtml5-command="addTableCells" data-wysihtml5-command-value="after" unselectable="on"
93
+ = t('.table.insert_col_after')
94
+ br
95
+ a data-wysihtml5-command="deleteTableCells" data-wysihtml5-command-value="row" unselectable="on"
96
+ = t('.table.delete_row')
97
+ br
98
+ a data-wysihtml5-command="deleteTableCells" data-wysihtml5-command-value="column" unselectable="on"
99
+ = t('.table.delete_col')
93
100
 
94
101
  span.wysihtml5-toolbar-group
95
- a.expand
96
- i.fa.fa-expand
102
+ - unless inline
103
+ a.expand
104
+ i.fa.fa-expand
97
105
  a data-wysihtml5-action='change_view'
98
106
  i.fa.fa-code
99
107
 
@@ -1,16 +1,16 @@
1
1
  - list = Locomotive::ContentTypeService.new(current_site).list
2
2
 
3
3
  - unless list.empty?
4
- section.content-types
5
- h1= t('.title')
6
-
7
- ul
8
- - list.each do |content_type|
9
- - if policy(content_type).show?
10
- li
11
- = link_to content_entries_path(current_site, content_type.slug) do
12
- span.text= content_type.name
13
-
14
- span.badge= content_type.number_of_entries || '?'
4
+ = link_to '#collapseContentTypes', data: { toggle: 'collapse' }, aria: { expanded: 'false', controls: 'collapseContentTypes' }, class: sidebar_link_class(:content_types) do
5
+ i.fa.fa-list
6
+ span= t('.title')
7
+ i.fa.fa-caret-down
15
8
 
9
+ ul.sidebar-list.collapse#collapseContentTypes
10
+ - list.each do |content_type|
11
+ - if policy(content_type).show?
12
+ li
13
+ = link_to content_entries_path(current_site, content_type.slug) do
14
+ = content_type.name
16
15
 
16
+ span.badge= content_type.number_of_entries || '?'
@@ -1,10 +1,7 @@
1
1
  section class="link #{defined?(section_class) ? section_class : nil}"
2
-
3
2
  = link_to url, data: defined?(data) ? data : {} do
4
-
5
3
  span.arrow
6
4
  i.fa.fa-angle-right
7
5
 
8
6
  i.icon.fa class=icon
9
-
10
7
  span.text= label
@@ -1,33 +1,28 @@
1
1
  li id="node-#{page._id}" class=page.class_names
2
-
3
- i class="fa #{page.icon} icon #{page.draggable}"
4
-
5
2
  - url = page.redirect? ? edit_page_path(current_site, page) : editable_elements_path(current_site, page)
6
3
 
7
4
  = link_to url do
5
+ - if page.draggable?
6
+ i class="fa fa-bars icon #{page.draggable}"
7
+ - else
8
+ i class="fa fa-file-text-o"
8
9
  span.text= page.title
9
10
 
10
11
  - unless page.translated?
11
12
  i.fa.fa-globe.untranslated
12
13
 
13
14
  - if page.children?
14
-
15
- span.fold-unfold class=page.fold_state
16
- i.fa.fa-sort-desc.unfolded
17
- i.fa.fa-sort-asc.folded
18
-
19
- ul.leaves data-url=sort_page_path(current_site, page)
20
-
15
+ ul.sidebar-sublist.leaves data-url=sort_page_path(current_site, page)
21
16
  - unless page.content_type && page.nodes.count == 1
22
17
  = render partial: 'locomotive/shared/sidebar/page', collection: page.nodes
23
18
 
24
19
  - if page.content_type
25
20
  li.list-entries
26
- i.fa.fa-list-ul.icon
27
21
  = link_to content_entries_path(current_site, page.templatized_page.content_type.slug) do
22
+ i.fa.fa-bars.icon
28
23
  span.text= t(:list_content_entries, name: page.content_type.name.pluralize, scope: 'locomotive.pages.index')
29
24
 
30
- li.new-entry
31
- i.fa.fa-plus.icon
25
+ li.new-entry.sidebar-list-add
32
26
  = link_to new_content_entry_path(current_site, page.templatized_page.content_type.slug) do
27
+ i.fa.fa-plus.icon
33
28
  span.text= t(:new_content_entry, name: page.content_type.name.singularize, scope: 'locomotive.pages.index')
@@ -1,11 +1,8 @@
1
- section.pages-tree
2
- h1= t(:title, scope: 'locomotive.pages.index')
3
-
4
- ul.root data-url=sort_page_path(current_site, root)
5
-
1
+ .pages-tree
2
+ ul.root.sidebar-list.collapse#collapsePages data-url=sort_page_path(current_site, root)
6
3
  = render partial: 'locomotive/shared/sidebar/page', collection: nodes
7
4
 
8
- li.new-page
9
- i.fa.fa-plus.icon
5
+ li.sidebar-list-add
10
6
  = link_to new_page_path(current_site) do
7
+ i.fa.fa-plus.icon
11
8
  span.text= t(:new, scope: 'locomotive.pages.index')
@@ -9,7 +9,6 @@
9
9
  p= t('.description')
10
10
 
11
11
  .public-entries
12
- // TODO: Sort these on last modified.
13
12
  = render @sites
14
13
 
15
14
  = link_to new_site_url, class: 'public-entry is-add' do
@@ -0,0 +1,4 @@
1
+ cs:
2
+ carrierwave:
3
+ errors:
4
+ integrity: ' není dovolen tento typ souboru.'
@@ -0,0 +1,4 @@
1
+ de:
2
+ carrierwave:
3
+ errors:
4
+ integrity: 'ist kein erlaubtes Dateiformat.'
@@ -0,0 +1,318 @@
1
+ cs:
2
+ locomotive:
3
+ locales:
4
+ en: Angličtina
5
+ de: Němčina
6
+ fr: Francouzština
7
+ pl: Polština
8
+ pt: Portugalština
9
+ pt-BR: "Brazilská Portugalština"
10
+ it: Italština
11
+ nl: Holandština
12
+ nb: Norština
13
+ es: Španělština
14
+ ru: Ruština
15
+ et: Estonština
16
+ ja: Japonština
17
+ zh-CN: Čínština
18
+ cs: Čeština
19
+ bg: Bulharština
20
+ sk: Slovenština
21
+ sr: Srbština
22
+ messages:
23
+ confirm: Jsi si jistý?
24
+ shared:
25
+ header:
26
+ welcome: Vítejte, %{name}
27
+ sites: Mé stránky
28
+ account: Nastavení účtu
29
+ see: Viz webová stránka
30
+ help: Pomoc
31
+ logout: Odhlásit se
32
+ sidebar:
33
+ dashboard: Palubní deska
34
+ assets: Položky
35
+ settings: Obecné nastavení
36
+ developers: Vývojáři
37
+ content_types:
38
+ title: Modely
39
+ translations: Překlady
40
+ list:
41
+ untranslated: nepřeloženo
42
+ created_at: "Vytvořeno před %{distance}"
43
+ created_by: "Vytvořeno před %{distance} vložil %{who}"
44
+ updated_at: "Poslední změna před %{distance}"
45
+ updated_by: "Poslední změna před %{distance} vložil %{who}"
46
+ rte:
47
+ toolbar:
48
+ table:
49
+ merge: Spojit
50
+ insert_row_before: Vložit řádek před
51
+ insert_row_after: Vložit řádek po
52
+ insert_col_before: Vložit sloupec před
53
+ insert_col_after: Vložit sloupec po
54
+ delete_row: Smazat řádek
55
+ delete_col: Smazat sloupec
56
+ errors:
57
+ '500':
58
+ title: Chyba aplikace
59
+ '404':
60
+ title: Stránka nenalezena
61
+ message: "Požadovaná stránka neexistuje."
62
+ no_site:
63
+ title: Webová stránka nebyla nalezena
64
+ next: "Další →"
65
+ message:
66
+ create_account: "Prosím, vytvořte si účet a potom vytvořte webové stránky."
67
+ add_domain: "Přidat <strong>%{host}</ strong> doménu do seznamu domén z jedné z vašich webových stránek."
68
+ sign_in: "Prosím, přihlaste se jako první. Potom přidejte <strong>%{host}</ strong> doménu do seznamu domén z jedné z vašich webových stránek."
69
+ notifications:
70
+ new_content_entry:
71
+ subject: "[%{domain}][%{type}] nový příspěvek"
72
+ title: "Ahoj %{name}, jen aby jste věděli, nová instance byla vytvořena %{date} pro webovou stránku <b>% {domain}</ b>"
73
+ type: "Model: %{type}"
74
+ activity:
75
+ site:
76
+ created: 'webová stránka vytvořena '
77
+ page:
78
+ created: 'stránka %{page} vytvořena '
79
+ updated: 'stránka %{page} aktualizována '
80
+ destroyed: 'stránka %{page} vymazána'
81
+ sorted: 'tříděné stránky'
82
+ editable_element:
83
+ updated_bulk: 'změněn obsah z %{pages}'
84
+ content_entry:
85
+ created: 'přidán %{entry} do %{content_type}'
86
+ created_public: 'přidán %{entry} do %{content_type} z veřejného formuláře'
87
+ updated: 'aktualizováno %{entry} z %{content_type}'
88
+ destroyed: 'vymazáno %{entry} z %{content_type}'
89
+ sorted: 'řazeno %{content_type}'
90
+ content_asset:
91
+ created_bulk: 'nahráno %{count} položka(y)'
92
+ destroyed: 'vymazána %{name} položka'
93
+ membership:
94
+ created: 'přidán %{name} do webových stránek'
95
+ pagination:
96
+ first: "&laquo;"
97
+ last: "&raquo;"
98
+ previous: "&lsaquo;"
99
+ next: "&rsaquo;"
100
+ truncate: "&hellip;"
101
+ custom_fields:
102
+ select_options:
103
+ edit:
104
+ title: "%{type} &mdash; nastavení možností "
105
+ back: "Zpět na příspěvek"
106
+ option:
107
+ edit: Editovat
108
+ apply: Aplikovat
109
+ cancel: Zrušit
110
+ types:
111
+ belongs_to:
112
+ edit: Editovat
113
+ placeholder: "Vyberte %{name}"
114
+ searching: Vyhledávání...
115
+ no_matches: Nenalezena žádná shoda
116
+ too_short: Zadejte 1 nebo více znaků
117
+ many_to_many:
118
+ placeholder: "Vyberte jeden z %{name}"
119
+ searching: Vyhledávání...
120
+ no_matches: Nenalezena žádná shoda
121
+ too_short: Zadejte 1 nebo více znaků
122
+ select:
123
+ edit: Možnosti editace
124
+ file:
125
+ delete_file: Smazat soubor
126
+ has_many:
127
+ new_label: Přidat nový
128
+ form:
129
+ required: Vyžadováno
130
+ default_label: Název pole
131
+ select_options:
132
+ ask_name: "Zadejte štítek volby"
133
+ dashboard:
134
+ show:
135
+ title: 'Palubní deska'
136
+ url:
137
+ title: "URL Vašich webových stránek:"
138
+ visit: 'Navštívit'
139
+ change_domain: 'Použijte svůj vlastní název domény'
140
+ activity:
141
+ title: Aktivita
142
+ unknown_account: Někdo
143
+ load_more: Načítám více
144
+ loading_activity_feed: Načítám...
145
+ sessions:
146
+ new:
147
+ email: "E-mail"
148
+ link: "Zapomněl jsem heslo"
149
+ password: "Heslo"
150
+ sign_up: Nemáte účet?
151
+ submit: Přihlásit
152
+ title: Přihlásit
153
+ registrations:
154
+ new:
155
+ confirm_password: Potvrďte heslo
156
+ sign_in: Máte již účet?
157
+ submit: Registrovat
158
+ title: Registrovat
159
+ passwords:
160
+ new:
161
+ description: "Zadejte Váš e-mail níže a obdržíte e-mail, instrukce o tom, jak obnovit heslo."
162
+ link: "Vraťte se zpět na přihlašovací stránku"
163
+ email: "Váš e-mail"
164
+ submit: "Odeslat"
165
+ title: "Zapomněli jste heslo"
166
+ edit:
167
+ description: "Zadejte Vaše nové heslo níže."
168
+ link: "Vraťte se zpět na přihlašovací stránku"
169
+ password: "Vaše nové heslo"
170
+ password_confirmation: "Potvrďte heslo"
171
+ submit: "Aktualizovat heslo"
172
+ title: "Obnovit heslo"
173
+ pages:
174
+ index:
175
+ title: 'Stránky'
176
+ new: 'Nová stránka'
177
+ list_content_entries: "Seznam %{name}"
178
+ new_content_entry: "Nový %{name}"
179
+ new:
180
+ title: Nová stránka
181
+ help: "Vyplňte prosím níže uvedený formulář k vytvoření své stránky. Buďte opatrní, ve výchozím nastavení stránka není publikována."
182
+ edit:
183
+ title: "%{title} &mdash; <small>%{fullpath}</small>"
184
+ form:
185
+ no_layout: Použijte rozvržení z mateřské stránky
186
+ redirect_type:
187
+ permanent: "Trvalé (301)"
188
+ temporary: "Dočasné (302)"
189
+ editable_elements:
190
+ index:
191
+ redirection_error: "Úprava Ne-Locomotive stránky není povoleno."
192
+ iframe:
193
+ buttons:
194
+ edit: editovat
195
+ index_without_preview:
196
+ title: "%{title} &mdash; <small>%{fullpath}</small>"
197
+ edit:
198
+ settings_link: 'Nastavení'
199
+ no_editable_elements: 'Nebyly nalezeny žádné editovatelné prvky'
200
+ parsing_error: "<b>Je nám líto, ale nemohli jsme analyzovat šablonu stránky.</b><br/>Ujistěte se, že Vaše šablona nejprve pracuje s Wagon."
201
+ blocks:
202
+ all: Vše
203
+ unknown: Neznámý
204
+ form:
205
+ model:
206
+ buttons:
207
+ list: Spravovat
208
+ edit: Editovat
209
+ sites:
210
+ index:
211
+ description: "Všechny webové stránky, ke kterým máte přístup naleznete níže. Klikněte na jednu a budete přesměrováni do sekce správy obsahu tohoto webu."
212
+ new: Přidat nový web
213
+ title: Mé stránky
214
+ new:
215
+ description: "Vyplňte formulář níže a klepněte na tlačítko odeslat. Po úspěšném nastavení se vytvoří nový web."
216
+ go_back: Vrátit se
217
+ submit: Vytvořit web
218
+ title: Vytvořit nový web
219
+ site:
220
+ no_domain: Zatím žádná doména
221
+ current_site:
222
+ edit:
223
+ title: Úprava aktuální webové stránky
224
+ form:
225
+ main:
226
+ new_membership: "Přidat účet"
227
+ advanced:
228
+ destroy: "Smazat tuto stránku"
229
+ confirm_destroy: "Potvrďte prosím napsáním název webové stránky v následujícím vstupu"
230
+ memberships:
231
+ roles:
232
+ admin: Správce
233
+ designer: Návrhář
234
+ author: Autor
235
+ new:
236
+ title: Nové členství
237
+ help: "Uveďte prosím e-mailový účet pro přidání. Pokud neexistuje, budete přesměrováni na formulář vytvoření účtu."
238
+ back: "Zpět k nastavení webu"
239
+ edit:
240
+ title: "Upravit členství pro <b>%{name}</b>"
241
+ back: "Zpět k nastavení webu"
242
+ accounts:
243
+ new:
244
+ title: Nový účet
245
+ help: "Vyplňte formulář níže přidat nový účet."
246
+ my_account:
247
+ edit:
248
+ title: Upravit můj účet
249
+ form:
250
+ api:
251
+ api_key: "Používá Wagon pro nasazení webové stránky (zkontrolujte soubor config/deploy.yml Vašich Wagon stránek)."
252
+ translations:
253
+ untranslated: " Nepřeložené lokalizace: %{list}"
254
+ index:
255
+ title: Překlady
256
+ no_items: "Nenalezli jsme žádné překlady."
257
+ search_placeholder: "Zadejte klíč, nebo překlad"
258
+ help: "Přeložit všechny příspěvky s oranžovou (částečně lokalizované) nebo červenou (není lokalizován) tečkou."
259
+ filter_by:
260
+ all: Vše
261
+ done: Přeloženo
262
+ partially: Částečně přeloženo
263
+ none: Není přeloženo
264
+ edit:
265
+ title: "Překlady &mdash; editovat %{key}"
266
+ form:
267
+ not_translated: "Není přeloženo"
268
+ content_assets:
269
+ index:
270
+ title: "Položky"
271
+ upload: Nahrát soubory
272
+ edit_in_drawer:
273
+ buttons:
274
+ resize: "Změna velikosti"
275
+ crop: "Oříznutí"
276
+ apply: "Aplikovat"
277
+ dropzone:
278
+ instructions: "<strong>Přetáhněte soubory z počítače sem.</strong><br/>Můžete také"
279
+ browse: "vyhledat soubor"
280
+ list:
281
+ no_items: "Nejsou žádná média v tuto chvíli."
282
+ buttons:
283
+ select: "Vybrat"
284
+ edit: "Editovat"
285
+ nav:
286
+ types:
287
+ all: Vše
288
+ pdf: PDF
289
+ image: obrázky
290
+ media: multimédia
291
+ others: ostatní
292
+ search_form:
293
+ placeholder: Vyhledávání podle názvu souboru
294
+ public_submission_accounts:
295
+ edit:
296
+ title: "%{name} &mdash; Nastavení oznámení"
297
+ content_entries:
298
+ index:
299
+ title: '%{type}'
300
+ download: stáhnout příspěvky
301
+ new: nový příspěvek
302
+ edit_notification_settings: Upravit nastavení oznámení
303
+ search_placeholder: "Zadejte hledané klíčové slovo zde"
304
+ group_by:
305
+ all: Vše
306
+ list:
307
+ no_items: "Nejsou zde žádné příspěvky v tuto chvíli. Stačí kliknout <a href=\"%{url}\">zde</a> a vytvořit první."
308
+ new:
309
+ title: '%{type} &mdash; nový příspěvek'
310
+ edit:
311
+ title: '%{type} &mdash; editování příspěvku'
312
+ shared:
313
+ back: '&larr; Zpět na seznam'
314
+ developers_documentation:
315
+ show:
316
+ title: Vývojáři
317
+ wagon: Wagon
318
+ api: API