integral 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +105 -0
- data/Rakefile +22 -0
- data/app/assets/images/integral/backend/data-unavailable.png +0 -0
- data/app/assets/images/integral/backend/logo.png +0 -0
- data/app/assets/images/integral/defaults/no_image_available.jpg +0 -0
- data/app/assets/images/integral/defaults/user_avatar.jpg +0 -0
- data/app/assets/images/integral/image-not-set.png +0 -0
- data/app/assets/images/integral/posts-hero-banner.jpg +0 -0
- data/app/assets/javascripts/ckeditor/loader.js.erb +6 -0
- data/app/assets/javascripts/ckeditor/my_config.js.erb +154 -0
- data/app/assets/javascripts/ckeditor/my_contents.sass +22 -0
- data/app/assets/javascripts/ckeditor/my_javascript.js +12 -0
- data/app/assets/javascripts/ckeditor/my_styles.js +5 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/az.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/bg.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/ca.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/cs.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/da.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/de-ch.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/de.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/el.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/en-au.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/en.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/eo.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/es-mx.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/es.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/eu.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/fr.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/gl.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/hr.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/hu.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/it.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/ja.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/km.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/ko.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/ku.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/mk.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/nb.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/nl.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/oc.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/pl.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/pt-br.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/pt.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/ro.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/ru.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/sk.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/sq.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/sv.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/tr.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/ug.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/uk.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/vi.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/zh-cn.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/lang/zh.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/autoembed/plugin.js +218 -0
- data/app/assets/javascripts/ckeditor/plugins/autogrow/plugin.js +232 -0
- data/app/assets/javascripts/ckeditor/plugins/autogrow/samples/autogrow.html +102 -0
- data/app/assets/javascripts/ckeditor/plugins/autolink/plugin.js +69 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/css/codemirror.min.css +1 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/icons/autocomplete.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/icons/autoformat.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/icons/commentselectedrange.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/icons/searchcode.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/icons/uncommentselectedrange.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/beautify.min.js +2 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.addons.min.js +2 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.addons.search.min.js +1 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.min.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.bbcode.min.js +1 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.bbcodemixed.min.js +1 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.htmlmixed.min.js +2 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.javascript.min.js +1 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.php.min.js +3 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.twig.min.js +1 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/af.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ar.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/bg.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/bn.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/bs.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ca.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/cs.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/cy.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/da.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/de.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/el.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/en-au.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/en-ca.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/en-gb.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/en.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/eo.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/es.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/et.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/eu.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fa.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fi.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fo.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fr-ca.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fr.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/gl.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/gu.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/he.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/hi.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/hr.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/hu.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/is.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/it.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ja.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ka.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/km.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ko.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ku.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/lt.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/lv.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/mk.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/mn.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ms.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/nb.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/nl.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/no.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/pl.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/pt-br.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/pt.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ro.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ru.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sk.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sl.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sr-latn.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sr.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sv.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/th.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/tr.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ug.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/uk.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/vi.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/zh-cn.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/zh.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/plugin.js +1311 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/3024-day.css +41 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/3024-night.css +39 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/abcdef.css +32 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/ambiance-mobile.css +5 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/ambiance.css +74 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/base16-dark.css +38 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/base16-light.css +38 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/bespin.css +34 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/blackboard.css +32 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/cobalt.css +25 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/colorforth.css +33 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/dracula.css +40 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/duotone-dark.css +35 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/duotone-light.css +36 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/eclipse.css +23 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/elegant.css +13 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/erlang-dark.css +34 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/hopscotch.css +34 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/icecoder.css +43 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/isotope.css +34 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/lesser-dark.css +47 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/liquibyte.css +95 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/material.css +53 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/mbo.css +37 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/mdn-like.css +46 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/midnight.css +43 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/monokai.css +36 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/neat.css +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/neo.css +43 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/night.css +27 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/panda-syntax.css +85 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/paraiso-dark.css +38 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/paraiso-light.css +38 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/pastel-on-dark.css +52 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/railscasts.css +34 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/rubyblue.css +25 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/seti.css +44 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/solarized.css +168 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/the-matrix.css +30 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/tomorrow-night-bright.css +35 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/tomorrow-night-eighties.css +38 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/ttcn.css +64 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/twilight.css +32 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/vibrant-ink.css +34 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/xq-dark.css +53 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/xq-light.css +43 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/yeti.css +44 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/zenburn.css +37 -0
- data/app/assets/javascripts/ckeditor/plugins/embed/icons/embed.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/embed/icons/hidpi/embed.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/embed/plugin.js +105 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/dialogs/embedbase.js +99 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/az.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/bg.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/ca.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/cs.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/da.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/de-ch.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/de.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/en-au.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/en.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/eo.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/es-mx.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/es.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/eu.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/fr.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/gl.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/hr.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/hu.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/id.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/it.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/ja.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/ko.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/ku.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/nb.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/nl.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/oc.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/pl.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/pt-br.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/pt.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/ro.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/ru.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/sk.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/sq.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/sv.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/tr.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/ug.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/uk.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/zh-cn.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/lang/zh.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/embedbase/plugin.js +652 -0
- data/app/assets/javascripts/ckeditor/plugins/embedjs/plugin.js +110 -0
- data/app/assets/javascripts/ckeditor/plugins/lineutils/dev/dnd.html +172 -0
- data/app/assets/javascripts/ckeditor/plugins/lineutils/dev/magicfinger.html +285 -0
- data/app/assets/javascripts/ckeditor/plugins/lineutils/plugin.js +1018 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/cs.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/da.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/de-ch.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/de.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/en.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/eo.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/eu.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/fr.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/gl.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/id.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/it.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/km.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/ko.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/ku.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/nb.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/nl.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/pl.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/pt-br.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/pt.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/ru.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/sv.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/tr.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/ug.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/uk.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/zh-cn.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/lang/zh.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/notification/plugin.js +923 -0
- data/app/assets/javascripts/ckeditor/plugins/notificationaggregator/plugin.js +548 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/dev/placeholder.html +60 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/dialogs/placeholder.js +49 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/icons/hidpi/placeholder.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/icons/placeholder.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/af.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/ar.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/az.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/bg.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/ca.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/cs.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/cy.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/da.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/de-ch.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/de.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/el.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/en-gb.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/en.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/eo.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/es-mx.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/es.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/et.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/eu.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/fa.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/fi.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/fr-ca.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/fr.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/gl.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/he.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/hr.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/hu.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/id.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/it.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/ja.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/km.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/ko.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/ku.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/lv.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/nb.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/nl.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/no.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/oc.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/pl.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/pt-br.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/pt.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/ru.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/si.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/sk.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/sl.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/sq.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/sv.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/th.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/tr.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/tt.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/ug.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/uk.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/vi.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/zh-cn.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/zh.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/plugin.js +99 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/samples/placeholder.html +75 -0
- data/app/assets/javascripts/ckeditor/plugins/strinsert/README.md +76 -0
- data/app/assets/javascripts/ckeditor/plugins/strinsert/bower.json +16 -0
- data/app/assets/javascripts/ckeditor/plugins/strinsert/plugin.js +107 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/dev/assets/contents.css +23 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/dev/assets/sample.jpg +0 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/dev/assets/simplebox/contents.css +36 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/dev/assets/simplebox/dialogs/simplebox.js +51 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/dev/assets/simplebox/icons/simplebox.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/dev/assets/simplebox/plugin.js +114 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/dev/console.js +131 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/dev/nestedwidgets.html +134 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/dev/widgetstyles.html +144 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/images/handle.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/af.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/ar.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/az.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/bg.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/ca.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/cs.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/cy.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/da.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/de-ch.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/de.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/el.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/en-gb.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/en.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/eo.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/es-mx.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/es.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/eu.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/fa.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/fi.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/fr.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/gl.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/he.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/hr.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/hu.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/id.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/it.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/ja.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/km.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/ko.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/ku.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/lv.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/nb.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/nl.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/no.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/oc.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/pl.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/pt-br.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/pt.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/ru.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/sk.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/sl.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/sq.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/sv.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/tr.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/tt.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/ug.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/uk.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/vi.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/zh-cn.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/lang/zh.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/widget/plugin.js +4147 -0
- data/app/assets/javascripts/ckeditor/plugins/widgetselection/plugin.js +366 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/css/wordcount.css +3 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/ar.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/ca.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/da.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/de.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/el.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/en.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/es.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/fi.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/fr.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/he.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/hr.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/it.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/ja.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/jp.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/nl.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/no.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/pl.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/pt-br.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/pt.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/ru.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/sv.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/tr.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/zh-cn.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/plugin.js +407 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/samples/wordcount.html +61 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/samples/wordcountWithMaxCount.html +110 -0
- data/app/assets/javascripts/integral/backend.js +268 -0
- data/app/assets/javascripts/integral/backend/extensions.js +1 -0
- data/app/assets/javascripts/integral/backend/support/Chart.bundle.min.js +10 -0
- data/app/assets/javascripts/integral/frontend.js +60 -0
- data/app/assets/javascripts/integral/support/character_counter.js +67 -0
- data/app/assets/javascripts/integral/support/chart_manager.coffee +145 -0
- data/app/assets/javascripts/integral/support/click_to_copy.coffee +28 -0
- data/app/assets/javascripts/integral/support/confirm_modal.coffee +58 -0
- data/app/assets/javascripts/integral/support/date_picker.coffee +83 -0
- data/app/assets/javascripts/integral/support/date_picker/picker.date.js +1435 -0
- data/app/assets/javascripts/integral/support/date_picker/picker.js +1132 -0
- data/app/assets/javascripts/integral/support/gallery.coffee +82 -0
- data/app/assets/javascripts/integral/support/google_analytics.coffee +23 -0
- data/app/assets/javascripts/integral/support/grid.coffee +92 -0
- data/app/assets/javascripts/integral/support/header_anchors.coffee +22 -0
- data/app/assets/javascripts/integral/support/image-preview.coffee +14 -0
- data/app/assets/javascripts/integral/support/image_selector.coffee +43 -0
- data/app/assets/javascripts/integral/support/image_uploader.coffee +59 -0
- data/app/assets/javascripts/integral/support/lib/html.sortable.js +691 -0
- data/app/assets/javascripts/integral/support/lib/jquery.are-you-sure.js +231 -0
- data/app/assets/javascripts/integral/support/lib/jquery_form.js +11 -0
- data/app/assets/javascripts/integral/support/lib/js.cookie.js +165 -0
- data/app/assets/javascripts/integral/support/lib/materialize-tags.js +758 -0
- data/app/assets/javascripts/integral/support/lib/materialize.clockpicker.js +699 -0
- data/app/assets/javascripts/integral/support/lib/swiper.js +7719 -0
- data/app/assets/javascripts/integral/support/lib/typeahead.js +2451 -0
- data/app/assets/javascripts/integral/support/lib/underscore.js +6 -0
- data/app/assets/javascripts/integral/support/list.coffee +71 -0
- data/app/assets/javascripts/integral/support/list_item.coffee +249 -0
- data/app/assets/javascripts/integral/support/notification_manager.coffee +17 -0
- data/app/assets/javascripts/integral/support/record_selector.coffee +161 -0
- data/app/assets/javascripts/integral/support/remote_form.coffee +87 -0
- data/app/assets/javascripts/integral/support/responsive_swiper.coffee +26 -0
- data/app/assets/javascripts/integral/support/scroll_to_top.coffee +17 -0
- data/app/assets/javascripts/integral/support/slug_generator.coffee +49 -0
- data/app/assets/stylesheets/errors.css +1834 -0
- data/app/assets/stylesheets/integral/backend.sass +66 -0
- data/app/assets/stylesheets/integral/backend/_foundation_settings.scss +867 -0
- data/app/assets/stylesheets/integral/backend/dashboard-layout.scss +491 -0
- data/app/assets/stylesheets/integral/backend/devise.sass +40 -0
- data/app/assets/stylesheets/integral/backend/foundation_and_overrides.scss +56 -0
- data/app/assets/stylesheets/integral/backend/materialize-tags.sass +70 -0
- data/app/assets/stylesheets/integral/backend/notifications.sass +43 -0
- data/app/assets/stylesheets/integral/backend/overrides.sass +1 -0
- data/app/assets/stylesheets/integral/backend/shared.sass +770 -0
- data/app/assets/stylesheets/integral/emails.scss +19 -0
- data/app/assets/stylesheets/integral/emails/colors.sass +3 -0
- data/app/assets/stylesheets/integral/frontend.sass +26 -0
- data/app/assets/stylesheets/integral/frontend/_foundation_settings.scss +863 -0
- data/app/assets/stylesheets/integral/frontend/blog.sass +263 -0
- data/app/assets/stylesheets/integral/frontend/demo.sass +158 -0
- data/app/assets/stylesheets/integral/frontend/foundation_and_overrides.scss +56 -0
- data/app/assets/stylesheets/integral/frontend/layout.sass +66 -0
- data/app/assets/stylesheets/integral/frontend/overrides.sass +1 -0
- data/app/assets/stylesheets/integral/frontend/share_modal.sass +25 -0
- data/app/assets/stylesheets/integral/frontend/shared.sass +73 -0
- data/app/assets/stylesheets/integral/support/date-picker.scss +16 -0
- data/app/assets/stylesheets/integral/support/date_picker/_default.date.scss +452 -0
- data/app/assets/stylesheets/integral/support/date_picker/_default.scss +201 -0
- data/app/assets/stylesheets/integral/support/date_picker/_default.time.scss +125 -0
- data/app/assets/stylesheets/integral/support/date_picker/materialize_clockpicker.sass +220 -0
- data/app/assets/stylesheets/integral/support/gallery.sass +54 -0
- data/app/assets/stylesheets/integral/support/media-query-indicator.sass +25 -0
- data/app/assets/stylesheets/integral/support/mixins.sass +29 -0
- data/app/assets/stylesheets/integral/support/scroll-to-top.sass +19 -0
- data/app/assets/stylesheets/integral/support/swiper.css +618 -0
- data/app/assets/stylesheets/integral/wysiwyg.sass +13 -0
- data/app/controllers/integral/application_controller.rb +130 -0
- data/app/controllers/integral/backend/activities_controller.rb +55 -0
- data/app/controllers/integral/backend/base_controller.rb +123 -0
- data/app/controllers/integral/backend/images_controller.rb +120 -0
- data/app/controllers/integral/backend/lists_controller.rb +138 -0
- data/app/controllers/integral/backend/pages_controller.rb +142 -0
- data/app/controllers/integral/backend/posts_controller.rb +132 -0
- data/app/controllers/integral/backend/settings_controller.rb +53 -0
- data/app/controllers/integral/backend/static_pages_controller.rb +10 -0
- data/app/controllers/integral/backend/users_controller.rb +130 -0
- data/app/controllers/integral/blog_controller.rb +19 -0
- data/app/controllers/integral/contact_controller.rb +36 -0
- data/app/controllers/integral/pages_controller.rb +45 -0
- data/app/controllers/integral/posts_controller.rb +71 -0
- data/app/controllers/integral/tags_controller.rb +38 -0
- data/app/decorators/integral/image_decorator.rb +16 -0
- data/app/decorators/integral/list_decorator.rb +21 -0
- data/app/decorators/integral/page_decorator.rb +26 -0
- data/app/decorators/integral/post_decorator.rb +63 -0
- data/app/decorators/integral/user_decorator.rb +21 -0
- data/app/decorators/integral/version_decorator.rb +57 -0
- data/app/helpers/integral/application_helper.rb +52 -0
- data/app/helpers/integral/backend/base_helper.rb +72 -0
- data/app/helpers/integral/blog_helper.rb +26 -0
- data/app/helpers/integral/gallery_helper.rb +36 -0
- data/app/helpers/integral/mail_helper.rb +16 -0
- data/app/helpers/integral/social_helper.rb +123 -0
- data/app/helpers/integral/support_helper.rb +60 -0
- data/app/jobs/integral/application_job.rb +10 -0
- data/app/jobs/integral/newsletter_signup_job.rb +28 -0
- data/app/mailers/integral/contact_mailer.rb +56 -0
- data/app/models/ckeditor/asset.rb +8 -0
- data/app/models/ckeditor/attachment_file.rb +9 -0
- data/app/models/ckeditor/picture.rb +21 -0
- data/app/models/integral/application_record.rb +6 -0
- data/app/models/integral/basic.rb +11 -0
- data/app/models/integral/enquiry.rb +46 -0
- data/app/models/integral/image.rb +67 -0
- data/app/models/integral/image_version.rb +8 -0
- data/app/models/integral/link.rb +11 -0
- data/app/models/integral/list.rb +69 -0
- data/app/models/integral/list_item.rb +89 -0
- data/app/models/integral/list_version.rb +8 -0
- data/app/models/integral/newsletter_signup.rb +22 -0
- data/app/models/integral/object.rb +30 -0
- data/app/models/integral/page.rb +153 -0
- data/app/models/integral/page_version.rb +8 -0
- data/app/models/integral/post.rb +149 -0
- data/app/models/integral/post_version.rb +8 -0
- data/app/models/integral/post_viewing.rb +19 -0
- data/app/models/integral/role.rb +14 -0
- data/app/models/integral/role_assignment.rb +7 -0
- data/app/models/integral/settings.rb +5 -0
- data/app/models/integral/user.rb +59 -0
- data/app/models/integral/user_version.rb +8 -0
- data/app/models/integral/version.rb +31 -0
- data/app/models/paper_trail/version.rb +9 -0
- data/app/policies/integral/base_policy.rb +50 -0
- data/app/policies/integral/image_policy.rb +14 -0
- data/app/policies/integral/list_policy.rb +9 -0
- data/app/policies/integral/page_policy.rb +45 -0
- data/app/policies/integral/post_policy.rb +9 -0
- data/app/policies/integral/settings_policy.rb +17 -0
- data/app/policies/integral/user_policy.rb +17 -0
- data/app/policies/integral/version_policy.rb +19 -0
- data/app/uploaders/ckeditor_attachment_file_uploader.rb +34 -0
- data/app/uploaders/ckeditor_picture_uploader.rb +55 -0
- data/app/uploaders/integral/avatar_uploader.rb +9 -0
- data/app/uploaders/integral/image_uploader.rb +114 -0
- data/app/views/devise/invitations/edit.haml +17 -0
- data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
- data/app/views/devise/mailer/invitation_instructions.html.erb +13 -0
- data/app/views/devise/mailer/invitation_instructions.text.erb +12 -0
- data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
- data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
- data/app/views/devise/passwords/edit.haml +17 -0
- data/app/views/devise/passwords/new.haml +12 -0
- data/app/views/devise/sessions/new.haml +18 -0
- data/app/views/devise/shared/_links.html.erb +25 -0
- data/app/views/integral/backend/activities/_grid.haml +23 -0
- data/app/views/integral/backend/activities/index.haml +15 -0
- data/app/views/integral/backend/activities/shared/_grid.haml +20 -0
- data/app/views/integral/backend/activities/shared/_listing.haml +14 -0
- data/app/views/integral/backend/activities/shared/_log.haml +56 -0
- data/app/views/integral/backend/activities/show.haml +18 -0
- data/app/views/integral/backend/images/_create_modal.haml +17 -0
- data/app/views/integral/backend/images/_form.haml +41 -0
- data/app/views/integral/backend/images/_grid.haml +16 -0
- data/app/views/integral/backend/images/edit.haml +3 -0
- data/app/views/integral/backend/images/index.haml +18 -0
- data/app/views/integral/backend/images/new.haml +1 -0
- data/app/views/integral/backend/lists/_child_fields.haml +26 -0
- data/app/views/integral/backend/lists/_form.haml +25 -0
- data/app/views/integral/backend/lists/_grid.haml +16 -0
- data/app/views/integral/backend/lists/_item_container.haml +26 -0
- data/app/views/integral/backend/lists/_item_modal.haml +46 -0
- data/app/views/integral/backend/lists/_list_item_fields.haml +26 -0
- data/app/views/integral/backend/lists/_manager.haml +14 -0
- data/app/views/integral/backend/lists/edit.haml +2 -0
- data/app/views/integral/backend/lists/index.haml +18 -0
- data/app/views/integral/backend/lists/new.haml +1 -0
- data/app/views/integral/backend/lists/show.haml +26 -0
- data/app/views/integral/backend/pages/_form.haml +52 -0
- data/app/views/integral/backend/pages/_grid.haml +21 -0
- data/app/views/integral/backend/pages/activities.haml +2 -0
- data/app/views/integral/backend/pages/activity.haml +1 -0
- data/app/views/integral/backend/pages/edit.html.haml +15 -0
- data/app/views/integral/backend/pages/index.haml +22 -0
- data/app/views/integral/backend/pages/new.haml +2 -0
- data/app/views/integral/backend/posts/_form.haml +57 -0
- data/app/views/integral/backend/posts/_grid.haml +25 -0
- data/app/views/integral/backend/posts/activities.haml +3 -0
- data/app/views/integral/backend/posts/activity.haml +1 -0
- data/app/views/integral/backend/posts/edit.haml +16 -0
- data/app/views/integral/backend/posts/index.haml +20 -0
- data/app/views/integral/backend/posts/new.haml +2 -0
- data/app/views/integral/backend/settings/_input.haml +4 -0
- data/app/views/integral/backend/settings/_section.haml +11 -0
- data/app/views/integral/backend/settings/index.haml +10 -0
- data/app/views/integral/backend/settings/sections/_general.haml +12 -0
- data/app/views/integral/backend/settings/sections/_lists.haml +4 -0
- data/app/views/integral/backend/settings/sections/_seo.haml +8 -0
- data/app/views/integral/backend/settings/sections/_social.haml +16 -0
- data/app/views/integral/backend/shared/_breadcrumbs.haml +9 -0
- data/app/views/integral/backend/shared/_empty_grid.haml +7 -0
- data/app/views/integral/backend/shared/_grid.haml +18 -0
- data/app/views/integral/backend/shared/_image_preview.haml +23 -0
- data/app/views/integral/backend/shared/_image_selector.haml +4 -0
- data/app/views/integral/backend/shared/_pagination.haml +1 -0
- data/app/views/integral/backend/shared/cards/_at_a_glance.haml +5 -0
- data/app/views/integral/backend/shared/cards/_welcome.haml +29 -0
- data/app/views/integral/backend/shared/graphs/_donut.haml +5 -0
- data/app/views/integral/backend/shared/graphs/_line.haml +5 -0
- data/app/views/integral/backend/shared/graphs/_no_data_available.haml +2 -0
- data/app/views/integral/backend/shared/record_selector/_collection.haml +13 -0
- data/app/views/integral/backend/shared/record_selector/_modal.haml +42 -0
- data/app/views/integral/backend/shared/record_selector/_record.haml +6 -0
- data/app/views/integral/backend/static_pages/_card.haml +24 -0
- data/app/views/integral/backend/static_pages/dashboard.haml +20 -0
- data/app/views/integral/backend/users/_form.haml +58 -0
- data/app/views/integral/backend/users/_grid.haml +19 -0
- data/app/views/integral/backend/users/edit.haml +3 -0
- data/app/views/integral/backend/users/index.haml +18 -0
- data/app/views/integral/backend/users/new.haml +2 -0
- data/app/views/integral/backend/users/show.haml +36 -0
- data/app/views/integral/contact_mailer/auto_reply.html.haml +16 -0
- data/app/views/integral/contact_mailer/auto_reply.text.erb +15 -0
- data/app/views/integral/contact_mailer/forward_enquiry.haml +12 -0
- data/app/views/integral/contact_mailer/forward_enquiry.text.erb +9 -0
- data/app/views/integral/pages/_demo.haml +188 -0
- data/app/views/integral/pages/templates/default.haml +6 -0
- data/app/views/integral/posts/_item.haml +16 -0
- data/app/views/integral/posts/index.haml +6 -0
- data/app/views/integral/posts/templates/default.haml +38 -0
- data/app/views/integral/shared/_blog_layout.haml +15 -0
- data/app/views/integral/shared/_blog_sidebar.haml +49 -0
- data/app/views/integral/shared/_breadcrumbs.haml +5 -0
- data/app/views/integral/shared/_media_query_indicator.haml +2 -0
- data/app/views/integral/shared/_scroll_to_top.haml +3 -0
- data/app/views/integral/shared/_share_modal.haml +20 -0
- data/app/views/integral/shared/_social_list_items.haml +41 -0
- data/app/views/integral/shared/_swiper_layout.haml +20 -0
- data/app/views/integral/shared/gallery/_placeholder.haml +7 -0
- data/app/views/integral/shared/gallery/_slide.haml +5 -0
- data/app/views/integral/shared/gallery/_thumb_slide.haml +2 -0
- data/app/views/integral/shared/gallery/gallery.haml +7 -0
- data/app/views/integral/tags/index.haml +6 -0
- data/app/views/integral/tags/show.haml +6 -0
- data/app/views/layouts/error.haml +12 -0
- data/app/views/layouts/integral/backend.html.haml +93 -0
- data/app/views/layouts/integral/backend/_create_dropdown.haml +30 -0
- data/app/views/layouts/integral/backend/_head.html.haml +17 -0
- data/app/views/layouts/integral/backend/_main_menu_items.haml +91 -0
- data/app/views/layouts/integral/frontend.html.haml +36 -0
- data/app/views/layouts/integral/frontend/_admin_bar.haml +25 -0
- data/app/views/layouts/integral/frontend/_footer.haml +23 -0
- data/app/views/layouts/integral/frontend/_header.haml +12 -0
- data/app/views/layouts/integral/login.haml +8 -0
- data/app/views/layouts/integral/mailer.html.inky-haml +17 -0
- data/app/views/layouts/integral/mailer/_footer.html.inky-haml +11 -0
- data/app/views/layouts/integral/mailer/_header.html.inky-haml +7 -0
- data/config/initializers/acts_as_taggable_on.rb +6 -0
- data/config/initializers/ckeditor.rb +51 -0
- data/config/initializers/client_side_validations.rb +20 -0
- data/config/initializers/compression.rb +46 -0
- data/config/initializers/devise.rb +308 -0
- data/config/initializers/extensions/ckeditor.rb +31 -0
- data/config/initializers/friendly_id.rb +88 -0
- data/config/initializers/gaffe.rb +3 -0
- data/config/initializers/simple_form.rb +169 -0
- data/config/initializers/simple_form/length_component.rb +36 -0
- data/config/locales/devise.en.yml +60 -0
- data/config/locales/devise_invitable.en.yml +31 -0
- data/config/locales/en.yml +477 -0
- data/config/locales/simple_form.en.yml +31 -0
- data/config/routes.rb +3 -0
- data/db/migrate/20160129021044_devise_create_integral_users.rb +42 -0
- data/db/migrate/20160130051535_add_name_and_avatar_to_users.rb +6 -0
- data/db/migrate/20160201003936_add_roles.rb +13 -0
- data/db/migrate/20160302071241_create_integral_images.rb +13 -0
- data/db/migrate/20160311092506_create_ckeditor_assets.rb +26 -0
- data/db/migrate/20160318004136_create_integral_pages.rb +12 -0
- data/db/migrate/20160513033619_create_integral_posts.rb +12 -0
- data/db/migrate/20160514063048_add_slug_column_to_post.rb +6 -0
- data/db/migrate/20160516084702_acts_as_taggable_on_migration.acts_as_taggable_on_engine.rb +31 -0
- data/db/migrate/20160516084703_add_missing_unique_indices.acts_as_taggable_on_engine.rb +20 -0
- data/db/migrate/20160516084704_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb +15 -0
- data/db/migrate/20160516084705_add_missing_taggable_index.acts_as_taggable_on_engine.rb +10 -0
- data/db/migrate/20160516084706_change_collation_for_tag_names.acts_as_taggable_on_engine.rb +10 -0
- data/db/migrate/20160519005736_add_image_to_posts.rb +5 -0
- data/db/migrate/20160519053329_create_friendly_id_slugs.rb +15 -0
- data/db/migrate/20160610021858_add_view_count_to_posts.rb +5 -0
- data/db/migrate/20160613035508_add_drafting_to_posts.rb +6 -0
- data/db/migrate/20160628050006_create_integral_post_viewings.rb +10 -0
- data/db/migrate/20160718011218_add_locale_to_integral_users.rb +5 -0
- data/db/migrate/20160722100113_devise_invitable_add_to_integral_users.rb +23 -0
- data/db/migrate/20160809115906_add_drafting_to_pages.rb +5 -0
- data/db/migrate/20160909124940_add_deleted_at_to_objects.rb +15 -0
- data/db/migrate/20161014175823_create_lists.rb +31 -0
- data/db/migrate/20161102094859_create_settings.rb +18 -0
- data/db/migrate/20170215012231_add_templates_to_pages.rb +5 -0
- data/db/migrate/20170425091312_add_image_processing_fields.rb +7 -0
- data/db/migrate/20170516033523_add_timestamps_to_lists.rb +6 -0
- data/db/migrate/20170608131624_add_file_size_to_images.rb +5 -0
- data/db/migrate/20170801182434_add_parent_to_pages.rb +5 -0
- data/db/migrate/20170922201940_add_image_id_to_posts.rb +9 -0
- data/db/migrate/20171008193414_create_post_versions.rb +21 -0
- data/db/migrate/20171030215146_create_page_versions.rb +20 -0
- data/db/migrate/20171030215154_create_user_versions.rb +20 -0
- data/db/migrate/20171030215202_create_list_versions.rb +20 -0
- data/db/migrate/20171123155010_create_integral_enquiries.rb +13 -0
- data/db/migrate/20171127141132_add_deleted_at_to_lists.rb +6 -0
- data/db/migrate/20171230213848_add_image_to_pages.rb +6 -0
- data/db/migrate/20180202010010_add_lock_version_to_integral_objects.rb +9 -0
- data/db/migrate/20180202010020_create_image_versions.rb +20 -0
- data/db/migrate/20180207174914_add_fields_to_lists.rb +7 -0
- data/db/migrate/20180223232512_create_integral_newsletter_signups.rb +11 -0
- data/db/migrate/20180306204912_add_admin_to_integral_users.rb +5 -0
- data/db/migrate/20180326224500_add_processed_to_enquiries_and_newsletters.rb +6 -0
- data/db/migrate/20180509101917_add_context_to_enquiries.rb +6 -0
- data/db/migrate/20180920030236_update_posts_and_pages_null.rb +6 -0
- data/db/migrate/20181011234446_add_preview_image_to_posts.rb +6 -0
- data/db/seeds.rb +53 -0
- data/lib/generators/integral/install_generator.rb +19 -0
- data/lib/generators/templates/app.yml +24 -0
- data/lib/generators/templates/carrierwave.rb +35 -0
- data/lib/generators/templates/carrierwave_backgrounder.rb +11 -0
- data/lib/generators/templates/integral.rb +129 -0
- data/lib/generators/templates/sitemap.rb +41 -0
- data/lib/integral.rb +155 -0
- data/lib/integral/acts_as_listable.rb +45 -0
- data/lib/integral/button_link_renderer.rb +54 -0
- data/lib/integral/chart_renderer/base.rb +80 -0
- data/lib/integral/chart_renderer/donut.rb +21 -0
- data/lib/integral/chart_renderer/line.rb +24 -0
- data/lib/integral/content_renderer.rb +78 -0
- data/lib/integral/engine.rb +124 -0
- data/lib/integral/foundation_builder.rb +33 -0
- data/lib/integral/google_tag_manager.rb +33 -0
- data/lib/integral/grids/activities_grid.rb +37 -0
- data/lib/integral/grids/images_grid.rb +21 -0
- data/lib/integral/grids/lists_grid.rb +21 -0
- data/lib/integral/grids/pages_grid.rb +27 -0
- data/lib/integral/grids/posts_grid.rb +32 -0
- data/lib/integral/grids/users_grid.rb +22 -0
- data/lib/integral/list_item_renderer.rb +204 -0
- data/lib/integral/list_renderer.rb +91 -0
- data/lib/integral/middleware/page_router.rb +84 -0
- data/lib/integral/partial_list_item_renderer.rb +40 -0
- data/lib/integral/router.rb +106 -0
- data/lib/integral/slack_bot.rb +45 -0
- data/lib/integral/swiper_list_renderer.rb +30 -0
- data/lib/integral/version.rb +5 -0
- data/lib/integral/widgets/recent_posts.rb +41 -0
- data/lib/integral/widgets/swiper_list.rb +40 -0
- data/lib/tasks/integral_tasks.rake +57 -0
- data/lib/templates/erb/scaffold/_form.html.erb +13 -0
- data/spec/factories.rb +114 -0
- data/spec/support/image.jpg +0 -0
- metadata +1734 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
module Ckeditor
|
|
2
|
+
# Patch CKEditor to add populate with demo content button
|
|
3
|
+
TextArea.class_eval do
|
|
4
|
+
def render(input)
|
|
5
|
+
render_populate_button = ck_options['example_content'].nil? ? true : ck_options['example_content']
|
|
6
|
+
|
|
7
|
+
output_buffer << input
|
|
8
|
+
output_buffer << javascript_tag(Utils.js_replace(options['id'], ck_options))
|
|
9
|
+
output_buffer << populate_button if render_populate_button
|
|
10
|
+
output_buffer
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
private
|
|
14
|
+
|
|
15
|
+
def populate_button
|
|
16
|
+
add_icon = content_tag(:i, nil, class: 'fa fa-plus-circle')
|
|
17
|
+
content_tag(:a,
|
|
18
|
+
add_icon + I18n.t('ckeditor.populate_editor'),
|
|
19
|
+
class: 'populate-button',
|
|
20
|
+
href: '#',
|
|
21
|
+
'data-example-content' => example_content)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def example_content
|
|
25
|
+
Rails.cache.fetch("integral_ckeditor_example_content") do
|
|
26
|
+
File.read(File.join(Integral::Engine.root.join('public', 'integral', 'ckeditor_demo_content.html')))
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# FriendlyId Global Configuration
|
|
2
|
+
#
|
|
3
|
+
# Use this to set up shared configuration options for your entire application.
|
|
4
|
+
# Any of the configuration options shown here can also be applied to single
|
|
5
|
+
# models by passing arguments to the `friendly_id` class method or defining
|
|
6
|
+
# methods in your model.
|
|
7
|
+
#
|
|
8
|
+
# To learn more, check out the guide:
|
|
9
|
+
#
|
|
10
|
+
# http://norman.github.io/friendly_id/file.Guide.html
|
|
11
|
+
|
|
12
|
+
FriendlyId.defaults do |config|
|
|
13
|
+
# ## Reserved Words
|
|
14
|
+
#
|
|
15
|
+
# Some words could conflict with Rails's routes when used as slugs, or are
|
|
16
|
+
# undesirable to allow as slugs. Edit this list as needed for your app.
|
|
17
|
+
config.use :reserved
|
|
18
|
+
|
|
19
|
+
config.reserved_words = %w(new edit index session login logout users admin
|
|
20
|
+
stylesheets assets javascripts images)
|
|
21
|
+
|
|
22
|
+
# ## Friendly Finders
|
|
23
|
+
#
|
|
24
|
+
# Uncomment this to use friendly finders in all models. By default, if
|
|
25
|
+
# you wish to find a record by its friendly id, you must do:
|
|
26
|
+
#
|
|
27
|
+
# MyModel.friendly.find('foo')
|
|
28
|
+
#
|
|
29
|
+
# If you uncomment this, you can do:
|
|
30
|
+
#
|
|
31
|
+
# MyModel.find('foo')
|
|
32
|
+
#
|
|
33
|
+
# This is significantly more convenient but may not be appropriate for
|
|
34
|
+
# all applications, so you must explicity opt-in to this behavior. You can
|
|
35
|
+
# always also configure it on a per-model basis if you prefer.
|
|
36
|
+
#
|
|
37
|
+
# Something else to consider is that using the :finders addon boosts
|
|
38
|
+
# performance because it will avoid Rails-internal code that makes runtime
|
|
39
|
+
# calls to `Module.extend`.
|
|
40
|
+
#
|
|
41
|
+
config.use :finders
|
|
42
|
+
#
|
|
43
|
+
# ## Slugs
|
|
44
|
+
#
|
|
45
|
+
# Most applications will use the :slugged module everywhere. If you wish
|
|
46
|
+
# to do so, uncomment the following line.
|
|
47
|
+
#
|
|
48
|
+
# config.use :slugged
|
|
49
|
+
#
|
|
50
|
+
# By default, FriendlyId's :slugged addon expects the slug column to be named
|
|
51
|
+
# 'slug', but you can change it if you wish.
|
|
52
|
+
#
|
|
53
|
+
# config.slug_column = 'slug'
|
|
54
|
+
#
|
|
55
|
+
# When FriendlyId can not generate a unique ID from your base method, it appends
|
|
56
|
+
# a UUID, separated by a single dash. You can configure the character used as the
|
|
57
|
+
# separator. If you're upgrading from FriendlyId 4, you may wish to replace this
|
|
58
|
+
# with two dashes.
|
|
59
|
+
#
|
|
60
|
+
# config.sequence_separator = '-'
|
|
61
|
+
#
|
|
62
|
+
# ## Tips and Tricks
|
|
63
|
+
#
|
|
64
|
+
# ### Controlling when slugs are generated
|
|
65
|
+
#
|
|
66
|
+
# As of FriendlyId 5.0, new slugs are generated only when the slug field is
|
|
67
|
+
# nil, but if you're using a column as your base method can change this
|
|
68
|
+
# behavior by overriding the `should_generate_new_friendly_id` method that
|
|
69
|
+
# FriendlyId adds to your model. The change below makes FriendlyId 5.0 behave
|
|
70
|
+
# more like 4.0.
|
|
71
|
+
#
|
|
72
|
+
# config.use Module.new {
|
|
73
|
+
# def should_generate_new_friendly_id?
|
|
74
|
+
# slug.blank? || <your_column_name_here>_changed?
|
|
75
|
+
# end
|
|
76
|
+
# }
|
|
77
|
+
#
|
|
78
|
+
# FriendlyId uses Rails's `parameterize` method to generate slugs, but for
|
|
79
|
+
# languages that don't use the Roman alphabet, that's not usually sufficient.
|
|
80
|
+
# Here we use the Babosa library to transliterate Russian Cyrillic slugs to
|
|
81
|
+
# ASCII. If you use this, don't forget to add "babosa" to your Gemfile.
|
|
82
|
+
#
|
|
83
|
+
# config.use Module.new {
|
|
84
|
+
# def normalize_friendly_id(text)
|
|
85
|
+
# text.to_slug.normalize! :transliterations => [:russian, :latin]
|
|
86
|
+
# end
|
|
87
|
+
# }
|
|
88
|
+
end
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
# Use this setup block to configure all options available in SimpleForm.
|
|
2
|
+
SimpleForm.setup do |config|
|
|
3
|
+
# Wrappers are used by the form builder to generate a
|
|
4
|
+
# complete input. You can remove any component from the
|
|
5
|
+
# wrapper, change the order or even add your own to the
|
|
6
|
+
# stack. The options given below are used to wrap the
|
|
7
|
+
# whole input.
|
|
8
|
+
config.wrappers :default, class: :input,
|
|
9
|
+
hint_class: 'field-with-hint', error_class: 'field-with-errors' do |b|
|
|
10
|
+
## Extensions enabled by default
|
|
11
|
+
# Any of these extensions can be disabled for a
|
|
12
|
+
# given input by passing: `f.input EXTENSION_NAME => false`.
|
|
13
|
+
# You can make any of these extensions optional by
|
|
14
|
+
# renaming `b.use` to `b.optional`.
|
|
15
|
+
|
|
16
|
+
# Determines whether to use HTML5 (:email, :url, ...)
|
|
17
|
+
# and required attributes
|
|
18
|
+
b.use :html5
|
|
19
|
+
|
|
20
|
+
# Calculates placeholders automatically from I18n
|
|
21
|
+
# You can also pass a string as f.input placeholder: "Placeholder"
|
|
22
|
+
b.use :placeholder
|
|
23
|
+
|
|
24
|
+
## Optional extensions
|
|
25
|
+
# They are disabled unless you pass `f.input EXTENSION_NAME => true`
|
|
26
|
+
# to the input. If so, they will retrieve the values from the model
|
|
27
|
+
# if any exists. If you want to enable any of those
|
|
28
|
+
# extensions by default, you can change `b.optional` to `b.use`.
|
|
29
|
+
|
|
30
|
+
# Calculates maxlength from length validations for string inputs
|
|
31
|
+
# and/or database column lengths
|
|
32
|
+
b.use :maxlength
|
|
33
|
+
|
|
34
|
+
# Calculate minlength from length validations for string inputs
|
|
35
|
+
b.use :minlength
|
|
36
|
+
|
|
37
|
+
# Calculates pattern from format validations for string inputs
|
|
38
|
+
b.optional :pattern
|
|
39
|
+
|
|
40
|
+
# Calculates min and max from length validations for numeric inputs
|
|
41
|
+
b.use :min_max
|
|
42
|
+
|
|
43
|
+
# Calculates readonly automatically from readonly attributes
|
|
44
|
+
b.optional :readonly
|
|
45
|
+
|
|
46
|
+
## Inputs
|
|
47
|
+
b.use :label_input
|
|
48
|
+
b.use :error, wrap_with: { tag: :span, class: 'form-error is-visible' }
|
|
49
|
+
b.use :hint, wrap_with: { tag: :p, class: 'help-text' }
|
|
50
|
+
|
|
51
|
+
## full_messages_for
|
|
52
|
+
# If you want to display the full error message for the attribute, you can
|
|
53
|
+
# use the component :full_error, like:
|
|
54
|
+
#
|
|
55
|
+
# b.use :full_error, wrap_with: { tag: :span, class: :error }
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# The default wrapper to be used by the FormBuilder.
|
|
59
|
+
config.default_wrapper = :default
|
|
60
|
+
|
|
61
|
+
# Define the way to render check boxes / radio buttons with labels.
|
|
62
|
+
# Defaults to :nested for bootstrap config.
|
|
63
|
+
# inline: input + label
|
|
64
|
+
# nested: label > input
|
|
65
|
+
config.boolean_style = :nested
|
|
66
|
+
|
|
67
|
+
# Default class for buttons
|
|
68
|
+
config.button_class = 'button'
|
|
69
|
+
|
|
70
|
+
# Method used to tidy up errors. Specify any Rails Array method.
|
|
71
|
+
# :first lists the first message for each field.
|
|
72
|
+
# Use :to_sentence to list all errors for each field.
|
|
73
|
+
# config.error_method = :first
|
|
74
|
+
|
|
75
|
+
# Default tag used for error notification helper.
|
|
76
|
+
config.error_notification_tag = :div
|
|
77
|
+
|
|
78
|
+
# CSS class to add for error notification helper.
|
|
79
|
+
config.error_notification_class = 'error_notification'
|
|
80
|
+
|
|
81
|
+
# ID to add for error notification helper.
|
|
82
|
+
# config.error_notification_id = nil
|
|
83
|
+
|
|
84
|
+
# Series of attempts to detect a default label method for collection.
|
|
85
|
+
# config.collection_label_methods = [ :to_label, :name, :title, :to_s ]
|
|
86
|
+
|
|
87
|
+
# Series of attempts to detect a default value method for collection.
|
|
88
|
+
# config.collection_value_methods = [ :id, :to_s ]
|
|
89
|
+
|
|
90
|
+
# You can wrap a collection of radio/check boxes in a pre-defined tag, defaulting to none.
|
|
91
|
+
# config.collection_wrapper_tag = nil
|
|
92
|
+
|
|
93
|
+
# You can define the class to use on all collection wrappers. Defaulting to none.
|
|
94
|
+
# config.collection_wrapper_class = nil
|
|
95
|
+
|
|
96
|
+
# You can wrap each item in a collection of radio/check boxes with a tag,
|
|
97
|
+
# defaulting to :span.
|
|
98
|
+
# config.item_wrapper_tag = :span
|
|
99
|
+
|
|
100
|
+
# You can define a class to use in all item wrappers. Defaulting to none.
|
|
101
|
+
# config.item_wrapper_class = nil
|
|
102
|
+
|
|
103
|
+
# How the label text should be generated altogether with the required text.
|
|
104
|
+
# config.label_text = lambda { |label, required, explicit_label| "#{required} #{label}" }
|
|
105
|
+
|
|
106
|
+
# You can define the class to use on all labels. Default is nil.
|
|
107
|
+
# config.label_class = nil
|
|
108
|
+
|
|
109
|
+
# You can define the default class to be used on forms. Can be overriden
|
|
110
|
+
# with `html: { :class }`. Defaulting to none.
|
|
111
|
+
# config.default_form_class = nil
|
|
112
|
+
|
|
113
|
+
# You can define which elements should obtain additional classes
|
|
114
|
+
# config.generate_additional_classes_for = [:wrapper, :label, :input]
|
|
115
|
+
|
|
116
|
+
# Whether attributes are required by default (or not). Default is true.
|
|
117
|
+
# config.required_by_default = true
|
|
118
|
+
|
|
119
|
+
# Tell browsers whether to use the native HTML5 validations (novalidate form option).
|
|
120
|
+
# These validations are enabled in SimpleForm's internal config but disabled by default
|
|
121
|
+
# in this configuration, which is recommended due to some quirks from different browsers.
|
|
122
|
+
# To stop SimpleForm from generating the novalidate option, enabling the HTML5 validations,
|
|
123
|
+
# change this configuration to true.
|
|
124
|
+
config.browser_validations = false
|
|
125
|
+
|
|
126
|
+
# Collection of methods to detect if a file type was given.
|
|
127
|
+
# config.file_methods = [ :mounted_as, :file?, :public_filename ]
|
|
128
|
+
|
|
129
|
+
# Custom mappings for input types. This should be a hash containing a regexp
|
|
130
|
+
# to match as key, and the input type that will be used when the field name
|
|
131
|
+
# matches the regexp as value.
|
|
132
|
+
# config.input_mappings = { /count/ => :integer }
|
|
133
|
+
|
|
134
|
+
# Custom wrappers for input types. This should be a hash containing an input
|
|
135
|
+
# type as key and the wrapper that will be used for all inputs with specified type.
|
|
136
|
+
# config.wrapper_mappings = { string: :prepend }
|
|
137
|
+
|
|
138
|
+
# Namespaces where SimpleForm should look for custom input classes that
|
|
139
|
+
# override default inputs.
|
|
140
|
+
# config.custom_inputs_namespaces << "CustomInputs"
|
|
141
|
+
|
|
142
|
+
# Default priority for time_zone inputs.
|
|
143
|
+
# config.time_zone_priority = nil
|
|
144
|
+
|
|
145
|
+
# Default priority for country inputs.
|
|
146
|
+
# config.country_priority = nil
|
|
147
|
+
|
|
148
|
+
# When false, do not use translations for labels.
|
|
149
|
+
# config.translate_labels = true
|
|
150
|
+
|
|
151
|
+
# Automatically discover new inputs in Rails' autoload path.
|
|
152
|
+
# config.inputs_discovery = true
|
|
153
|
+
|
|
154
|
+
# Cache SimpleForm inputs discovery
|
|
155
|
+
# config.cache_discovery = !Rails.env.development?
|
|
156
|
+
|
|
157
|
+
# Default class for inputs
|
|
158
|
+
# config.input_class = nil
|
|
159
|
+
|
|
160
|
+
# Define the default class of the input wrapper of the boolean input.
|
|
161
|
+
config.boolean_label_class = 'checkbox'
|
|
162
|
+
|
|
163
|
+
# Defines if the default input wrapper class should be included in radio
|
|
164
|
+
# collection wrappers.
|
|
165
|
+
# config.include_default_input_wrapper_class = true
|
|
166
|
+
|
|
167
|
+
# Defines which i18n scope will be used in Simple Form.
|
|
168
|
+
# config.i18n_scope = 'simple_form'
|
|
169
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
module SimpleForm
|
|
2
|
+
module Components
|
|
3
|
+
# Needs to be enabled in order to do automatic lookups.
|
|
4
|
+
module Length
|
|
5
|
+
def length(wrapper_options = nil)
|
|
6
|
+
input_html_options[:length] ||= maximum_length_from_validation || limit
|
|
7
|
+
nil
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
private
|
|
11
|
+
|
|
12
|
+
def maximum_length_from_validation
|
|
13
|
+
maxlength = options[:maxlength]
|
|
14
|
+
if maxlength.is_a?(String) || maxlength.is_a?(Integer)
|
|
15
|
+
maxlength
|
|
16
|
+
else
|
|
17
|
+
length_validator = find_length_validator
|
|
18
|
+
|
|
19
|
+
if length_validator && !has_tokenizer?(length_validator)
|
|
20
|
+
length_validator.options[:is] || length_validator.options[:maximum]
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
def find_length_validator
|
|
26
|
+
find_validator(:length)
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
def has_tokenizer?(length_validator)
|
|
30
|
+
length_validator.options[:tokenizer]
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
SimpleForm::Inputs::Base.send(:include, SimpleForm::Components::Length)
|
|
36
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
|
|
2
|
+
|
|
3
|
+
en:
|
|
4
|
+
devise:
|
|
5
|
+
confirmations:
|
|
6
|
+
confirmed: "Your email address has been successfully confirmed."
|
|
7
|
+
send_instructions: "You will receive an email with instructions for how to confirm your email address in a few minutes."
|
|
8
|
+
send_paranoid_instructions: "If your email address exists in our database, you will receive an email with instructions for how to confirm your email address in a few minutes."
|
|
9
|
+
failure:
|
|
10
|
+
already_authenticated: "You are already signed in."
|
|
11
|
+
inactive: "Your account is not activated yet."
|
|
12
|
+
invalid: "Invalid %{authentication_keys} or password."
|
|
13
|
+
locked: "Your account is locked."
|
|
14
|
+
last_attempt: "You have one more attempt before your account is locked."
|
|
15
|
+
not_found_in_database: "Invalid %{authentication_keys} or password."
|
|
16
|
+
timeout: "Your session expired. Please sign in again to continue."
|
|
17
|
+
unauthenticated: "You need to sign in or sign up before continuing."
|
|
18
|
+
unconfirmed: "You have to confirm your email address before continuing."
|
|
19
|
+
mailer:
|
|
20
|
+
confirmation_instructions:
|
|
21
|
+
subject: "Confirmation instructions"
|
|
22
|
+
reset_password_instructions:
|
|
23
|
+
subject: "Reset password instructions"
|
|
24
|
+
unlock_instructions:
|
|
25
|
+
subject: "Unlock instructions"
|
|
26
|
+
omniauth_callbacks:
|
|
27
|
+
failure: "Could not authenticate you from %{kind} because \"%{reason}\"."
|
|
28
|
+
success: "Successfully authenticated from %{kind} account."
|
|
29
|
+
passwords:
|
|
30
|
+
no_token: "You can't access this page without coming from a password reset email. If you do come from a password reset email, please make sure you used the full URL provided."
|
|
31
|
+
send_instructions: "You will receive an email with instructions on how to reset your password in a few minutes."
|
|
32
|
+
send_paranoid_instructions: "If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes."
|
|
33
|
+
updated: "Your password has been changed successfully. You are now signed in."
|
|
34
|
+
updated_not_active: "Your password has been changed successfully."
|
|
35
|
+
registrations:
|
|
36
|
+
destroyed: "Bye! Your account has been successfully cancelled. We hope to see you again soon."
|
|
37
|
+
signed_up: "Welcome! You have signed up successfully."
|
|
38
|
+
signed_up_but_inactive: "You have signed up successfully. However, we could not sign you in because your account is not yet activated."
|
|
39
|
+
signed_up_but_locked: "You have signed up successfully. However, we could not sign you in because your account is locked."
|
|
40
|
+
signed_up_but_unconfirmed: "A message with a confirmation link has been sent to your email address. Please follow the link to activate your account."
|
|
41
|
+
update_needs_confirmation: "You updated your account successfully, but we need to verify your new email address. Please check your email and follow the confirm link to confirm your new email address."
|
|
42
|
+
updated: "Your account has been updated successfully."
|
|
43
|
+
sessions:
|
|
44
|
+
signed_in: "Signed in successfully."
|
|
45
|
+
signed_out: "Signed out successfully."
|
|
46
|
+
already_signed_out: "Signed out successfully."
|
|
47
|
+
unlocks:
|
|
48
|
+
send_instructions: "You will receive an email with instructions for how to unlock your account in a few minutes."
|
|
49
|
+
send_paranoid_instructions: "If your account exists, you will receive an email with instructions for how to unlock it in a few minutes."
|
|
50
|
+
unlocked: "Your account has been unlocked successfully. Please sign in to continue."
|
|
51
|
+
errors:
|
|
52
|
+
messages:
|
|
53
|
+
already_confirmed: "was already confirmed, please try signing in"
|
|
54
|
+
confirmation_period_expired: "needs to be confirmed within %{period}, please request a new one"
|
|
55
|
+
expired: "has expired, please request a new one"
|
|
56
|
+
not_found: "not found"
|
|
57
|
+
not_locked: "was not locked"
|
|
58
|
+
not_saved:
|
|
59
|
+
one: "1 error prohibited this %{resource} from being saved:"
|
|
60
|
+
other: "%{count} errors prohibited this %{resource} from being saved:"
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
en:
|
|
2
|
+
devise:
|
|
3
|
+
failure:
|
|
4
|
+
invited: "You have a pending invitation, accept it to finish creating your account."
|
|
5
|
+
invitations:
|
|
6
|
+
send_instructions: "An invitation email has been sent to %{email}."
|
|
7
|
+
invitation_token_invalid: "The invitation token provided is not valid!"
|
|
8
|
+
updated: "Your password was set successfully. You are now signed in."
|
|
9
|
+
updated_not_active: "Your password was set successfully."
|
|
10
|
+
no_invitations_remaining: "No invitations remaining"
|
|
11
|
+
invitation_removed: "Your invitation was removed."
|
|
12
|
+
new:
|
|
13
|
+
header: "Send invitation"
|
|
14
|
+
submit_button: "Send an invitation"
|
|
15
|
+
edit:
|
|
16
|
+
header: "Set your password"
|
|
17
|
+
submit_button: "Set my password"
|
|
18
|
+
mailer:
|
|
19
|
+
invitation_instructions:
|
|
20
|
+
subject: "Invitation instructions"
|
|
21
|
+
hello: "Hello %{email}"
|
|
22
|
+
someone_invited_you: "Someone has invited you to %{url}, you can accept it through the link below."
|
|
23
|
+
accept: "Accept invitation"
|
|
24
|
+
accept_until: "This invitation will be due in %{due_date}."
|
|
25
|
+
ignore: "If you don't want to accept the invitation, please ignore this email.<br />\nYour account won't be created until you access the link above and set your password."
|
|
26
|
+
time:
|
|
27
|
+
formats:
|
|
28
|
+
devise:
|
|
29
|
+
mailer:
|
|
30
|
+
invitation_instructions:
|
|
31
|
+
accept_until_format: "%B %d, %Y %I:%M %p"
|
|
@@ -0,0 +1,477 @@
|
|
|
1
|
+
en:
|
|
2
|
+
date:
|
|
3
|
+
formats:
|
|
4
|
+
default: "%d %B"
|
|
5
|
+
time:
|
|
6
|
+
formats:
|
|
7
|
+
default: "%B %d, %Y at %l:%M%P"
|
|
8
|
+
blog: "%B %d, %Y"
|
|
9
|
+
twelve_hour: "%I:%M %p"
|
|
10
|
+
|
|
11
|
+
date:
|
|
12
|
+
today: Today
|
|
13
|
+
yesterday: Yesterday
|
|
14
|
+
formats:
|
|
15
|
+
default: "%A, %d %B %Y"
|
|
16
|
+
long: "%H:%M %d/%m/%Y"
|
|
17
|
+
|
|
18
|
+
errors:
|
|
19
|
+
generic: Unfortunately there was a problem. Please try again later.
|
|
20
|
+
unauthorized: You are not authorized to perform this action.
|
|
21
|
+
fix_errors: Please fix the form errors before continuing.
|
|
22
|
+
|
|
23
|
+
integral:
|
|
24
|
+
remote_form:
|
|
25
|
+
error: Unfortunately there has been an error, please try again later.
|
|
26
|
+
success: Thanks for getting in touch. We'll be in contact soon.
|
|
27
|
+
share_modal:
|
|
28
|
+
title: Share
|
|
29
|
+
contact_form:
|
|
30
|
+
placeholders:
|
|
31
|
+
name: Name
|
|
32
|
+
email: Email
|
|
33
|
+
subject: Subject
|
|
34
|
+
message: Message
|
|
35
|
+
submit: Get in Touch
|
|
36
|
+
contact_mailer:
|
|
37
|
+
auto_reply:
|
|
38
|
+
subject: "We've received your message, here's what to expect next.."
|
|
39
|
+
salutations_without_name: Hi,
|
|
40
|
+
salutations_with_name: "Hi %{name},"
|
|
41
|
+
thank_you: Thanks for your message.
|
|
42
|
+
sent_automatically: We're working on your request and will get back to you as soon as possible.
|
|
43
|
+
closing: "The reference for this message is %{reference}."
|
|
44
|
+
regards: Thanks again,
|
|
45
|
+
sign_off: Your friendly customer support team :)
|
|
46
|
+
forward_enquiry:
|
|
47
|
+
subject: Website Enquiry
|
|
48
|
+
actions:
|
|
49
|
+
confirm:
|
|
50
|
+
deletion: If you delete this item it will be gone forever. Are you sure you want to proceed?
|
|
51
|
+
new_page: Add new page
|
|
52
|
+
new_post: Add new post
|
|
53
|
+
edit_profile: Edit profile
|
|
54
|
+
add_image: Add Image
|
|
55
|
+
add_image_or_video: Add an image or video
|
|
56
|
+
view_main_site: View main site
|
|
57
|
+
create: Create
|
|
58
|
+
clone: Clone
|
|
59
|
+
save: Save
|
|
60
|
+
delete: Delete
|
|
61
|
+
destroy: Delete
|
|
62
|
+
edit: Edit
|
|
63
|
+
update: Update
|
|
64
|
+
send: Send
|
|
65
|
+
view: View
|
|
66
|
+
view_record: View Record
|
|
67
|
+
view_user: View User
|
|
68
|
+
read_more: Read more..
|
|
69
|
+
reply: Reply
|
|
70
|
+
log_out: Logout
|
|
71
|
+
upload: Upload
|
|
72
|
+
share: Share this
|
|
73
|
+
apply: Apply
|
|
74
|
+
select: Select
|
|
75
|
+
copy_url: Copy URL
|
|
76
|
+
copied: Copied
|
|
77
|
+
search: Search
|
|
78
|
+
prompts:
|
|
79
|
+
select_image: Select Image..
|
|
80
|
+
select_type: Select Type..
|
|
81
|
+
unsaved_changes: Changes that you made may not be saved.
|
|
82
|
+
placeholders:
|
|
83
|
+
description: Description
|
|
84
|
+
title: Title
|
|
85
|
+
statuses:
|
|
86
|
+
draft: Draft
|
|
87
|
+
published: Published
|
|
88
|
+
archived: Archived
|
|
89
|
+
records:
|
|
90
|
+
attributes:
|
|
91
|
+
locale: Language
|
|
92
|
+
image: Image
|
|
93
|
+
featured_image: Featured Image
|
|
94
|
+
preview_image: Preview Image
|
|
95
|
+
avatar: Avatar
|
|
96
|
+
views: Views
|
|
97
|
+
author: Author
|
|
98
|
+
user: User
|
|
99
|
+
updated_at: Last updated
|
|
100
|
+
status: Status
|
|
101
|
+
title: Title
|
|
102
|
+
tags: Tags
|
|
103
|
+
gallery: Gallery
|
|
104
|
+
status:
|
|
105
|
+
archived: Archived
|
|
106
|
+
draft: Draft
|
|
107
|
+
published: Published
|
|
108
|
+
breadcrumbs:
|
|
109
|
+
home: Home
|
|
110
|
+
blog: Blog
|
|
111
|
+
tags: Tags
|
|
112
|
+
dashboard: Dashboard
|
|
113
|
+
settings: Settings
|
|
114
|
+
posts: Posts
|
|
115
|
+
pages: Pages
|
|
116
|
+
users: Users
|
|
117
|
+
images: Images
|
|
118
|
+
lists: Lists
|
|
119
|
+
activity: Activity
|
|
120
|
+
new: New
|
|
121
|
+
edit: Edit
|
|
122
|
+
|
|
123
|
+
navigation:
|
|
124
|
+
dashboard: Dashboard
|
|
125
|
+
actions: Actions
|
|
126
|
+
activity: Activity
|
|
127
|
+
activity_log: Activity Log
|
|
128
|
+
profile: My Profile
|
|
129
|
+
quick_links: Quick Links
|
|
130
|
+
activities: Activities
|
|
131
|
+
home: Home
|
|
132
|
+
posts: Posts
|
|
133
|
+
post: Post
|
|
134
|
+
pages: Pages
|
|
135
|
+
page: Page
|
|
136
|
+
users: Users
|
|
137
|
+
user: User
|
|
138
|
+
images: Images
|
|
139
|
+
image: Image
|
|
140
|
+
lists: Lists
|
|
141
|
+
list: List
|
|
142
|
+
new: New
|
|
143
|
+
edit: Edit
|
|
144
|
+
log_out: Logout
|
|
145
|
+
my_account: Account & Profile
|
|
146
|
+
settings: Settings
|
|
147
|
+
|
|
148
|
+
posts:
|
|
149
|
+
index:
|
|
150
|
+
title: Our Articles
|
|
151
|
+
subtitle: All things Integral
|
|
152
|
+
show:
|
|
153
|
+
subtitle: An interesting read
|
|
154
|
+
item:
|
|
155
|
+
read_more: Read More
|
|
156
|
+
tags:
|
|
157
|
+
index:
|
|
158
|
+
title: Our Tags
|
|
159
|
+
subtitle: Subjects discussed within this blog
|
|
160
|
+
description: Tags used within our blog
|
|
161
|
+
show:
|
|
162
|
+
subtitle: Related Articles
|
|
163
|
+
description: "All articles tagged %{tag_name} within our blog"
|
|
164
|
+
blog:
|
|
165
|
+
widgets:
|
|
166
|
+
related_posts: Related Posts
|
|
167
|
+
recent_posts: Recent Posts
|
|
168
|
+
popular_posts: Popular Posts
|
|
169
|
+
popular_tags: Tags
|
|
170
|
+
tags: Tags
|
|
171
|
+
categories: Categories
|
|
172
|
+
newsletter_signup:
|
|
173
|
+
title: Keep up to date!
|
|
174
|
+
subtitle: Integral news & tips direct to your inbox.
|
|
175
|
+
placeholder: Your email address..
|
|
176
|
+
submit: Sign Up
|
|
177
|
+
success: Great choice! Stay tuned for some quality content direct to your inbox.
|
|
178
|
+
backend:
|
|
179
|
+
graphs:
|
|
180
|
+
data_unavailable: Data Unavailable
|
|
181
|
+
cards:
|
|
182
|
+
at_a_glance: At a glance
|
|
183
|
+
last_week: Last week
|
|
184
|
+
shared:
|
|
185
|
+
cards:
|
|
186
|
+
welcome:
|
|
187
|
+
title: Welcome back!
|
|
188
|
+
get_started: "We've assembled some links to get you started:"
|
|
189
|
+
tables:
|
|
190
|
+
no_data_available: No data available.
|
|
191
|
+
charts:
|
|
192
|
+
no_data_available: No data available yet, start creating!
|
|
193
|
+
confirmation_modal:
|
|
194
|
+
title: 'Confirmation'
|
|
195
|
+
confirm: 'Confirm'
|
|
196
|
+
cancel: 'Cancel'
|
|
197
|
+
static_pages:
|
|
198
|
+
dashboard:
|
|
199
|
+
title: 'Dashboard'
|
|
200
|
+
recent_post: Recent Post
|
|
201
|
+
recent_page: Recent Page
|
|
202
|
+
pages:
|
|
203
|
+
title: 'Pages'
|
|
204
|
+
roles:
|
|
205
|
+
labels:
|
|
206
|
+
user_manager: 'User Manager'
|
|
207
|
+
image_manager: 'Image Manager'
|
|
208
|
+
page_manager: 'Page Manager'
|
|
209
|
+
post_manager: 'Post Manager'
|
|
210
|
+
list_manager: 'List Manager'
|
|
211
|
+
record_selector:
|
|
212
|
+
posts:
|
|
213
|
+
record: Post
|
|
214
|
+
title: Select a Post..
|
|
215
|
+
pages:
|
|
216
|
+
record: Page
|
|
217
|
+
title: Select a Page..
|
|
218
|
+
images:
|
|
219
|
+
record: Image
|
|
220
|
+
title: Select an Image..
|
|
221
|
+
activities:
|
|
222
|
+
index:
|
|
223
|
+
title: Website Activity
|
|
224
|
+
lists:
|
|
225
|
+
items:
|
|
226
|
+
type:
|
|
227
|
+
basic: 'Basic'
|
|
228
|
+
link: 'Link'
|
|
229
|
+
post: 'Post'
|
|
230
|
+
new:
|
|
231
|
+
title: 'New List'
|
|
232
|
+
edit:
|
|
233
|
+
title: 'Edit List'
|
|
234
|
+
index:
|
|
235
|
+
title: 'Lists'
|
|
236
|
+
add_list: 'Add list'
|
|
237
|
+
non_available: 'No Lists currently available. Try creating one!'
|
|
238
|
+
show:
|
|
239
|
+
title: "List - %{title}"
|
|
240
|
+
grid:
|
|
241
|
+
columns:
|
|
242
|
+
title: 'Title'
|
|
243
|
+
description: 'Description'
|
|
244
|
+
notification:
|
|
245
|
+
creation_success: 'List successfully created.'
|
|
246
|
+
creation_failure: 'List creation failed.'
|
|
247
|
+
edit_success: 'List successfully updated.'
|
|
248
|
+
edit_failure: 'Failed to update list.'
|
|
249
|
+
delete_success: 'List successfully deleted.'
|
|
250
|
+
delete_failure: 'Failed to delete list.'
|
|
251
|
+
|
|
252
|
+
settings:
|
|
253
|
+
index:
|
|
254
|
+
title: Settings
|
|
255
|
+
general:
|
|
256
|
+
title: General
|
|
257
|
+
description: Vital information used across the website
|
|
258
|
+
social:
|
|
259
|
+
title: Social Media
|
|
260
|
+
description: Set or update your social media profile links
|
|
261
|
+
seo:
|
|
262
|
+
title: SEO
|
|
263
|
+
description: Website SEO and tracking
|
|
264
|
+
lists:
|
|
265
|
+
title: Lists
|
|
266
|
+
description: Manage Lists
|
|
267
|
+
placeholder:
|
|
268
|
+
website_title: Super Awesome Website
|
|
269
|
+
contact_email: test@example.com
|
|
270
|
+
google_tag_manager_id: GTM-xxxx
|
|
271
|
+
twitter_url: https://twitter.com/rails
|
|
272
|
+
facebook_url: https://www.facebook.com/groups/railsrocks
|
|
273
|
+
google_plus_url: https://plus.google.com/communities/101878695540653445908
|
|
274
|
+
linkedin_url: https://www.linkedin.com/in/barackobama/
|
|
275
|
+
youtube_url: https://www.youtube.com/channel/UCUkM9uMpWatT7gVWShgtKFw
|
|
276
|
+
instagram_url: jerryoftheday
|
|
277
|
+
twitter_handler: rails
|
|
278
|
+
facebook_app_id: 123456789
|
|
279
|
+
homepage_id: 1
|
|
280
|
+
notification:
|
|
281
|
+
successful_update: Settings successfully updated.
|
|
282
|
+
posts:
|
|
283
|
+
grid:
|
|
284
|
+
columns:
|
|
285
|
+
title: 'Title'
|
|
286
|
+
description: 'Description'
|
|
287
|
+
last_updated: 'Last updated'
|
|
288
|
+
author: 'Author'
|
|
289
|
+
views: 'Views'
|
|
290
|
+
status: 'Status'
|
|
291
|
+
index:
|
|
292
|
+
title: 'Posts'
|
|
293
|
+
new_post: 'Create post'
|
|
294
|
+
published_count: "%{count} published"
|
|
295
|
+
drafts_count: "%{count} drafted"
|
|
296
|
+
non_available: 'No posts available. Try creating one!'
|
|
297
|
+
edit:
|
|
298
|
+
title: 'Edit Post'
|
|
299
|
+
new:
|
|
300
|
+
title: 'New Post'
|
|
301
|
+
activities:
|
|
302
|
+
title: "Activities: %{title}"
|
|
303
|
+
notification:
|
|
304
|
+
creation_success: 'Post successfully created.'
|
|
305
|
+
creation_failure: 'Post creation failed.'
|
|
306
|
+
edit_success: 'Post successfully updated.'
|
|
307
|
+
edit_failure: 'Failed to update post.'
|
|
308
|
+
delete_success: 'Post successfully deleted.'
|
|
309
|
+
delete_failure: 'Failed to delete post.'
|
|
310
|
+
pages:
|
|
311
|
+
templates:
|
|
312
|
+
default: Default
|
|
313
|
+
prompts:
|
|
314
|
+
choose_template: Choose Template
|
|
315
|
+
index:
|
|
316
|
+
title: 'Page listing'
|
|
317
|
+
non_available: 'No pages available. Try creating one!'
|
|
318
|
+
add_page: 'Add page'
|
|
319
|
+
published_count: "%{count} published"
|
|
320
|
+
drafts_count: "%{count} drafted"
|
|
321
|
+
grid:
|
|
322
|
+
columns:
|
|
323
|
+
title: 'Title'
|
|
324
|
+
description: 'Description'
|
|
325
|
+
path: 'Path'
|
|
326
|
+
last_updated_at: 'Last updated'
|
|
327
|
+
notification:
|
|
328
|
+
creation_success: 'Page successfully created.'
|
|
329
|
+
creation_failure: 'Page creation failed.'
|
|
330
|
+
edit_success: 'Page successfully updated.'
|
|
331
|
+
edit_failure: 'Failed to update page.'
|
|
332
|
+
delete_success: 'Page successfully deleted.'
|
|
333
|
+
delete_failure: 'Failed to delete page.'
|
|
334
|
+
edit:
|
|
335
|
+
title: 'Editing page - %{title}'
|
|
336
|
+
new:
|
|
337
|
+
title: 'New Page'
|
|
338
|
+
create:
|
|
339
|
+
title: 'Create Page'
|
|
340
|
+
images:
|
|
341
|
+
new:
|
|
342
|
+
title: 'New Image'
|
|
343
|
+
index:
|
|
344
|
+
title: 'Image listing'
|
|
345
|
+
no_images_available: 'No images available. Try uploading some!'
|
|
346
|
+
new_image: 'New image'
|
|
347
|
+
notification:
|
|
348
|
+
creation_success: 'Image successfully created.'
|
|
349
|
+
creation_failure: 'Image creation failed.'
|
|
350
|
+
edit_success: 'Image successfully updated.'
|
|
351
|
+
edit_failure: 'Failed to update Image.'
|
|
352
|
+
delete_success: 'Image successfully deleted.'
|
|
353
|
+
delete_failure: 'Failed to delete image.'
|
|
354
|
+
edit:
|
|
355
|
+
title: 'Editing image - %{name}'
|
|
356
|
+
users:
|
|
357
|
+
available_locales:
|
|
358
|
+
en: English
|
|
359
|
+
ja: Japanese
|
|
360
|
+
status:
|
|
361
|
+
draft: 'Draft'
|
|
362
|
+
published: 'Published'
|
|
363
|
+
notification:
|
|
364
|
+
creation_success: 'User has been invited.'
|
|
365
|
+
creation_failure: 'User already exists.'
|
|
366
|
+
edit_success: 'User successfully updated.'
|
|
367
|
+
edit_failure: 'Failed to update user.'
|
|
368
|
+
delete_success: 'User successfully deleted.'
|
|
369
|
+
delete_failure: 'Failed to delete user.'
|
|
370
|
+
prompts:
|
|
371
|
+
select_language: 'Select language..'
|
|
372
|
+
grid:
|
|
373
|
+
columns:
|
|
374
|
+
name: 'Name'
|
|
375
|
+
email: 'Email'
|
|
376
|
+
last_signed_in: 'Last signed in'
|
|
377
|
+
index:
|
|
378
|
+
title: 'User listing'
|
|
379
|
+
add_user: 'Add user'
|
|
380
|
+
new:
|
|
381
|
+
title: 'New user'
|
|
382
|
+
edit:
|
|
383
|
+
title: 'Editing profile - %{name}'
|
|
384
|
+
show:
|
|
385
|
+
title: "Viewing profile - %{name}"
|
|
386
|
+
member_since: "Member since: %{start_date}"
|
|
387
|
+
messages:
|
|
388
|
+
reply_subject: 'In reply to your message'
|
|
389
|
+
index:
|
|
390
|
+
no_messages: 'You currently have no messages :('
|
|
391
|
+
date_selector_tooltip_from: 'From'
|
|
392
|
+
date_selector_tooltip_to: 'To'
|
|
393
|
+
boolean:
|
|
394
|
+
'true': 'True'
|
|
395
|
+
'false': 'False'
|
|
396
|
+
|
|
397
|
+
posts:
|
|
398
|
+
index:
|
|
399
|
+
post_info_with_comments: "Posted by %{name} on %{date} | %{comments}"
|
|
400
|
+
post_info: "Posted by %{name} on %{date}"
|
|
401
|
+
|
|
402
|
+
simple_form:
|
|
403
|
+
hints:
|
|
404
|
+
defaults:
|
|
405
|
+
title: "Grab people’s attention with an engaging title using keywords. <a target='_blank' href='https://moz.com/learn/seo/title-tag'>Learn More.</a>"
|
|
406
|
+
slug: "The URL of the content. Try to keep this short and descriptive. <a target='_blank' href='https://trafficgenerationcafe.com/what-is-slug/'>Learn More.</a>"
|
|
407
|
+
description: "Summarise the content. This will be displayed in search results and is an important part of on-page SEO. <a target='_blank' href='https://moz.com/learn/seo/meta-description'>Learn More.</a>"
|
|
408
|
+
path: Path to the record, this will be appended onto the website domain to create a URL. Example - /company/privacy-policy
|
|
409
|
+
parent: "You can arrange your pages in hierarchies by selecting a top level page for your other pages. <a target='_blank' href='https://en.wikipedia.org/wiki/Breadcrumb_(navigation)#Websites'>Learn More.</a>"
|
|
410
|
+
#tag_list: Use key terms to summarise your content and seperate words with '-', i.e. internet-marketing-tips
|
|
411
|
+
template: Layout which will be used to render the page.
|
|
412
|
+
|
|
413
|
+
image:
|
|
414
|
+
title: This is only used for internal reference.
|
|
415
|
+
description: "Summarise the image. This will be used within image search, using key terms can boost search ranking results. <a target='_blank' href='https://moz.com/learn/seo/alt-text'>Learn More.</a>"
|
|
416
|
+
list:
|
|
417
|
+
title: This is only used for internal reference.
|
|
418
|
+
description: This is only used for internal reference.
|
|
419
|
+
inputs:
|
|
420
|
+
file:
|
|
421
|
+
button_label: 'File'
|
|
422
|
+
switch:
|
|
423
|
+
turn_on: 'On'
|
|
424
|
+
turn_off: 'Off'
|
|
425
|
+
labels:
|
|
426
|
+
defaults:
|
|
427
|
+
body: Content
|
|
428
|
+
children:
|
|
429
|
+
fake_type: 'Type'
|
|
430
|
+
target: 'New Tab?'
|
|
431
|
+
url: 'URL'
|
|
432
|
+
html_classes: 'HTML Classes'
|
|
433
|
+
list:
|
|
434
|
+
html_id: HTML ID
|
|
435
|
+
html_classes: HTML Classes
|
|
436
|
+
children: Children allowed
|
|
437
|
+
list_items:
|
|
438
|
+
fake_type: 'What type is it?'
|
|
439
|
+
target: 'New Tab?'
|
|
440
|
+
url: 'URL'
|
|
441
|
+
html_classes: 'HTML Classes'
|
|
442
|
+
user:
|
|
443
|
+
locale: 'Language'
|
|
444
|
+
settings:
|
|
445
|
+
website_title: Website title
|
|
446
|
+
contact_email: Contact form email address
|
|
447
|
+
google_tag_manager_id: Google Tag Manager ID
|
|
448
|
+
twitter_url: Twitter profile URL
|
|
449
|
+
facebook_url: Facebook profile URL
|
|
450
|
+
google_plus_url: Google Plus URL
|
|
451
|
+
linkedin_url: LinkedIn profile URL
|
|
452
|
+
youtube_url: Youtube channel URL
|
|
453
|
+
facebook_app_id: Facebook app ID
|
|
454
|
+
homepage_id: Homepage Page ID
|
|
455
|
+
newsletter_api_key_id: Mailchimp API ID
|
|
456
|
+
newsletter_list_id: Newsletter list ID
|
|
457
|
+
main_menu_list_id: Main menu List ID
|
|
458
|
+
|
|
459
|
+
helpers:
|
|
460
|
+
submit:
|
|
461
|
+
user:
|
|
462
|
+
create: 'Invite %{model}'
|
|
463
|
+
|
|
464
|
+
devise:
|
|
465
|
+
passwords:
|
|
466
|
+
edit:
|
|
467
|
+
title: Change your password
|
|
468
|
+
new:
|
|
469
|
+
title: Forgot your password?
|
|
470
|
+
sessions:
|
|
471
|
+
new:
|
|
472
|
+
title: Login
|
|
473
|
+
mailer:
|
|
474
|
+
invitation_instructions:
|
|
475
|
+
someone_invited_you: "%{name} has invited you to %{url}, you can accept it through the link below."
|
|
476
|
+
ckeditor:
|
|
477
|
+
populate_editor: Populate editor with example content.
|