kit_cms 2.3.9 → 2.3.10
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/images/mercury/dashboard.png +0 -0
- data/app/assets/images/mercury/info.png +0 -0
- data/app/assets/images/mercury/insertsPanel.png +0 -0
- data/app/assets/images/mercury/related.png +0 -0
- data/app/assets/images/mercury/view.png +0 -0
- data/app/assets/javascripts/{kit/best_in_place.js → best_in_place.js} +0 -0
- data/app/assets/javascripts/codemirror/editor.js +1 -1
- data/app/assets/javascripts/codemirror/sass.js +349 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/ajax.txt +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/blank.gif +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancy_close.png +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancy_loading.png +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancy_nav_left.png +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancy_nav_right.png +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancy_shadow_e.png +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancy_shadow_n.png +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancy_shadow_ne.png +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancy_shadow_nw.png +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancy_shadow_s.png +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancy_shadow_se.png +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancy_shadow_sw.png +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancy_shadow_w.png +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancy_title_left.png +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancy_title_main.png +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancy_title_over.png +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancy_title_right.png +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancybox-x.png +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancybox-y.png +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancybox.css +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancybox.js +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/fancybox.png +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/fancybox/jquery.mousewheel-3.0.4.pack.js +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/index.html +0 -0
- data/app/assets/javascripts/{kit/fancybox → fancybox}/style.css +0 -0
- data/app/assets/javascripts/{kit/gadash-1.0.js → gadash-1.0.js} +0 -0
- data/app/assets/javascripts/{kit/jquery-ui.js → jquery-ui.js} +0 -0
- data/app/assets/javascripts/{kit/jquery.contextmenu.js → jquery.contextmenu.js} +0 -0
- data/app/assets/javascripts/{kit/jquery.fileupload-ui.js → jquery.fileupload-ui.js} +0 -0
- data/app/assets/javascripts/{kit/jquery.fileupload.js → jquery.fileupload.js} +0 -0
- data/app/assets/javascripts/{kit/jquery.js → jquery.js} +0 -0
- data/app/assets/javascripts/{kit/jquery.themes → jquery.themes}/apple/bg.jpg +0 -0
- data/app/assets/javascripts/{kit/jquery.themes → jquery.themes}/apple/d.png +0 -0
- data/app/assets/javascripts/{kit/jquery.themes → jquery.themes}/apple/doc.png +0 -0
- data/app/assets/javascripts/{kit/jquery.themes → jquery.themes}/apple/dot_for_ie.gif +0 -0
- data/app/assets/javascripts/{kit/jquery.themes → jquery.themes}/apple/gear.png +0 -0
- data/app/assets/javascripts/{kit/jquery.themes → jquery.themes}/apple/style.css +0 -0
- data/app/assets/javascripts/{kit/jquery.themes → jquery.themes}/apple/throbber.gif +0 -0
- data/app/assets/javascripts/{kit/jquery.themes → jquery.themes}/default/bg.jpg +0 -0
- data/app/assets/javascripts/{kit/jquery.themes → jquery.themes}/default/d.png +0 -0
- data/app/assets/javascripts/{kit/jquery.themes → jquery.themes}/default/doc.png +0 -0
- data/app/assets/javascripts/{kit/jquery.themes → jquery.themes}/default/dot_for_ie.gif +0 -0
- data/app/assets/javascripts/{kit/jquery.themes → jquery.themes}/default/gear.png +0 -0
- data/app/assets/javascripts/{kit/jquery.themes → jquery.themes}/default/style.css +0 -0
- data/app/assets/javascripts/{kit/jquery.themes → jquery.themes}/default/throbber.gif +0 -0
- data/app/assets/javascripts/{kit/jquery.validate.js → jquery.validate.js} +0 -0
- data/app/assets/javascripts/jqueryui.js +4 -0
- data/app/assets/javascripts/{kit/jsplumb-min.js → jsplumb-min.js} +0 -0
- data/app/assets/javascripts/{kit_admin.js → kit/cms.js} +5 -4
- data/app/assets/javascripts/kit/{mercury-editor.js.erb → editor.js} +5 -4
- data/app/assets/javascripts/kit/kit.js +12 -0
- data/app/assets/javascripts/kit/utilities.js +0 -15
- data/app/assets/javascripts/{kit/underscore.js → underscore.js} +0 -0
- data/app/assets/javascripts/{kit/waypoint.js → waypoint.js} +0 -0
- data/app/assets/stylesheets/codemirror/editor.css +6 -0
- data/app/assets/stylesheets/codemirror/style.css +2 -2
- data/app/assets/stylesheets/codemirror/theme.css +26 -1
- data/app/assets/stylesheets/{kit_admin.css → kit/admin.css} +0 -0
- data/app/assets/stylesheets/kit/cms.css +35 -0
- data/app/assets/stylesheets/{mercury_editor.css → kit/editor.css} +9 -0
- data/app/assets/stylesheets/{kit.css → kit/kit.css} +4 -4
- data/app/controllers/admin/ad_units_controller.rb +1 -1
- data/app/controllers/admin/block_controller.rb +1 -1
- data/app/controllers/admin/block_instance_controller.rb +1 -1
- data/app/controllers/admin/blocks_controller.rb +1 -1
- data/app/controllers/admin/calendar_entries_controller.rb +1 -1
- data/app/controllers/admin/calendars_controller.rb +1 -1
- data/app/controllers/admin/content_controller.rb +1 -1
- data/app/controllers/admin/dashboard_controller.rb +15 -6
- data/app/controllers/admin/forum_controller.rb +1 -1
- data/app/controllers/admin/help_controller.rb +1 -1
- data/app/controllers/admin/mapping_controller.rb +1 -1
- data/app/controllers/admin/newsletter_controller.rb +1 -1
- data/app/controllers/admin/page_template_terms_controller.rb +1 -1
- data/app/controllers/admin/page_templates_controller.rb +1 -1
- data/app/controllers/admin/preference_controller.rb +1 -1
- data/app/controllers/admin/snippet_controller.rb +1 -1
- data/app/controllers/admin/todo_controller.rb +2 -2
- data/app/controllers/admin/user_controller.rb +1 -1
- data/app/controllers/admin/views_controller.rb +1 -1
- data/app/controllers/admin_controller.rb +1 -1
- data/app/controllers/asset_controller.rb +1 -1
- data/app/controllers/calendar_controller.rb +1 -1
- data/app/controllers/category_controller.rb +2 -2
- data/app/controllers/menu_controller.rb +1 -1
- data/app/controllers/pages_controller.rb +5 -5
- data/app/controllers/utility_controller.rb +1 -1
- data/app/helpers/kit_helper.rb +5 -17
- data/app/helpers/kit_modules_helper.rb +1 -1
- data/app/models/asset.rb +2 -0
- data/app/models/block.rb +1 -0
- data/app/models/block_instance.rb +8 -3
- data/app/models/html_asset.rb +1 -0
- data/app/models/layout.rb +1 -0
- data/app/models/page.rb +2 -3
- data/app/models/page_template.rb +2 -0
- data/app/views/admin/blocks/_form.html.haml +1 -1
- data/app/views/admin/dashboard/system.html.haml +1 -0
- data/app/views/admin/help/edit.html.haml +1 -1
- data/app/views/admin/html_asset/show.html.haml +1 -1
- data/app/views/admin/layouts/show.html.haml +2 -2
- data/app/views/admin/page_templates/_form.html.haml +1 -1
- data/app/views/admin/snippet/edit.html.erb +1 -1
- data/app/views/admin/snippet/new.html.erb +1 -1
- data/app/views/admin/stylesheet/show.html.haml +1 -1
- data/app/views/asset/index.html.haml +0 -3
- data/app/views/layouts/_cms-common.html.erb +1 -1
- data/app/views/layouts/_kit_header.html.haml +2 -2
- data/app/views/layouts/{cms-boxed.html.haml → cms.html.haml} +1 -1
- data/app/views/layouts/mercury-editor.html.erb +2 -8
- data/app/views/pages/content_edit.html.haml +1 -1
- data/app/views/utility/_cm_editor.html.erb +19 -0
- data/app/views/utility/mercury_html.html.haml +0 -3
- data/lib/kit_cms.rb +2 -0
- metadata +66 -196
- data/app/assets/javascripts/admin/advertisments.js +0 -2
- data/app/assets/javascripts/admin/kit_engagement.js +0 -2
- data/app/assets/javascripts/admin/order.js +0 -2
- data/app/assets/javascripts/kit.js +0 -14
- data/app/assets/javascripts/kit/ace/ace.js +0 -11
- data/app/assets/javascripts/kit/ace/ext-static_highlight.js +0 -1
- data/app/assets/javascripts/kit/ace/ext-textarea.js +0 -1
- data/app/assets/javascripts/kit/ace/keybinding-emacs.js +0 -1
- data/app/assets/javascripts/kit/ace/keybinding-vim.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-abap.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-asciidoc.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-c9search.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-c_cpp.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-clojure.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-coffee.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-coldfusion.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-csharp.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-css.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-dart.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-diff.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-dot.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-glsl.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-golang.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-groovy.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-haml.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-haxe.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-html.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-jade.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-java.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-javascript.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-json.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-jsp.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-jsx.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-latex.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-less.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-liquid.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-lisp.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-lua.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-luapage.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-lucene.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-makefile.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-markdown.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-objectivec.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-ocaml.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-perl.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-pgsql.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-php.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-powershell.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-python.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-r.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-rdoc.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-rhtml.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-ruby.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-sass.js +0 -0
- data/app/assets/javascripts/kit/ace/mode-scad.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-scala.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-scss.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-sh.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-sql.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-stylus.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-svg.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-tcl.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-text.js +0 -0
- data/app/assets/javascripts/kit/ace/mode-textile.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-typescript.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-xml.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-xquery.js +0 -1
- data/app/assets/javascripts/kit/ace/mode-yaml.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-ambiance.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-chaos.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-chrome.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-clouds.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-clouds_midnight.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-cobalt.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-crimson_editor.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-dawn.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-dreamweaver.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-eclipse.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-github.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-idle_fingers.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-kr.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-merbivore.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-merbivore_soft.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-mono_industrial.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-monokai.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-pastel_on_dark.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-solarized_dark.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-solarized_light.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-textmate.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-tomorrow.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-tomorrow_night.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-tomorrow_night_blue.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-tomorrow_night_bright.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-tomorrow_night_eighties.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-twilight.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-vibrant_ink.js +0 -1
- data/app/assets/javascripts/kit/ace/theme-xcode.js +0 -1
- data/app/assets/javascripts/kit/ace/worker-coffee.js +0 -1
- data/app/assets/javascripts/kit/ace/worker-css.js +0 -1
- data/app/assets/javascripts/kit/ace/worker-javascript.js +0 -1
- data/app/assets/javascripts/kit/ace/worker-json.js +0 -1
- data/app/assets/javascripts/kit/ace/worker-xquery.js +0 -1
- data/app/assets/javascripts/kit/jquery-ui.min.js +0 -126
- data/app/assets/javascripts/kit/jquery.markitup.js +0 -635
- data/app/assets/javascripts/kit/jquery.min.js +0 -3
- data/app/assets/javascripts/kit/rails_admin/application.js +0 -7
- data/app/assets/javascripts/kit/rails_admin/jquery-1.5.1.min.js +0 -16
- data/app/assets/javascripts/kit/rails_admin/jquery-ui-1.8.10.min.js +0 -405
- data/app/assets/javascripts/kit/rails_admin/jquery.colorpicker.js +0 -484
- data/app/assets/javascripts/kit/rails_admin/jquery.ui.timepicker.js +0 -915
- data/app/assets/javascripts/kit/rails_admin/ra.datetimepicker.js +0 -67
- data/app/assets/javascripts/kit/rails_admin/ra.filtering-multiselect.js +0 -274
- data/app/assets/javascripts/kit/rails_admin/ra.filtering-select.js +0 -179
- data/app/assets/javascripts/kit/rails_admin/ra.remote-form.js +0 -111
- data/app/assets/javascripts/kit/rails_admin/ra.timeline.js +0 -206
- data/app/assets/javascripts/kit/rails_admin/rails.js +0 -289
- data/app/assets/stylesheets/application.css +0 -5
- data/app/assets/stylesheets/kit/rails_admin/aristo/images/bg_fallback.png +0 -0
- data/app/assets/stylesheets/kit/rails_admin/aristo/images/icon_sprite.png +0 -0
- data/app/assets/stylesheets/kit/rails_admin/aristo/images/progress_bar.gif +0 -0
- data/app/assets/stylesheets/kit/rails_admin/aristo/images/slider_handles.png +0 -0
- data/app/assets/stylesheets/kit/rails_admin/aristo/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/stylesheets/kit/rails_admin/aristo/images/ui-icons_454545_256x240.png +0 -0
- data/app/assets/stylesheets/kit/rails_admin/aristo/jquery-ui-1.8.7.custom.css +0 -703
- data/app/assets/stylesheets/kit/rails_admin/base.css +0 -349
- data/app/assets/stylesheets/kit/rails_admin/dashboard.css +0 -88
- data/app/assets/stylesheets/kit/rails_admin/form.css +0 -147
- data/app/assets/stylesheets/kit/rails_admin/jquery.colorpicker.css +0 -179
- data/app/assets/stylesheets/kit/rails_admin/jquery.ui.timepicker.css +0 -39
- data/app/assets/stylesheets/kit/rails_admin/list.css +0 -127
- data/app/assets/stylesheets/kit/rails_admin/ra.filtering-multiselect.css +0 -113
- data/app/assets/stylesheets/kit/rails_admin/ra.filtering-select.css +0 -7
- data/app/assets/stylesheets/kit/rails_admin/ra.timeline.css +0 -77
- data/app/assets/stylesheets/kit/ui.tar.gz +0 -0
- data/app/assets/stylesheets/mercury_overrides.css +0 -23
- data/app/views/layouts/cms.html.erb +0 -66
- data/app/views/utility/_ace_editor.html.erb +0 -10
@@ -1,77 +0,0 @@
|
|
1
|
-
.ra-timeline {
|
2
|
-
padding: 0 12px;
|
3
|
-
background-color: #f6f6f6;
|
4
|
-
border: 1px solid #dbdbdb;
|
5
|
-
height: 53px;
|
6
|
-
position: relative;
|
7
|
-
}
|
8
|
-
|
9
|
-
.ra-timeline .range {
|
10
|
-
margin-top:16px;
|
11
|
-
width: 12px;
|
12
|
-
height: 20px;
|
13
|
-
display: inline;
|
14
|
-
overflow: hidden;
|
15
|
-
position: absolute;
|
16
|
-
text-indent: 9999px;
|
17
|
-
}
|
18
|
-
|
19
|
-
.ra-timeline .previous {
|
20
|
-
left: 0px;
|
21
|
-
background-image: url('../../images/rails_admin/timeline/arrow_left.png');
|
22
|
-
}
|
23
|
-
|
24
|
-
.ra-timeline .next {
|
25
|
-
right: 0px;
|
26
|
-
background-image: url('../../images/rails_admin/timeline/arrow_right.png');
|
27
|
-
}
|
28
|
-
|
29
|
-
.ra-timeline .handle {
|
30
|
-
width: 54px;
|
31
|
-
height: 99px;
|
32
|
-
position: absolute;
|
33
|
-
top: -13px;
|
34
|
-
background-image: url('../../images/rails_admin/timeline/handler.png');
|
35
|
-
}
|
36
|
-
|
37
|
-
.ra-timeline ul {
|
38
|
-
list-style-type: none;
|
39
|
-
}
|
40
|
-
|
41
|
-
.ra-timeline ul li {
|
42
|
-
float: left;
|
43
|
-
font-size: 10px;
|
44
|
-
width: 225px;
|
45
|
-
text-align: center;
|
46
|
-
border-left: 1px solid #DDD;
|
47
|
-
height: 53px;
|
48
|
-
}
|
49
|
-
|
50
|
-
.ra-timeline ul li:first-child {
|
51
|
-
border:none;
|
52
|
-
}
|
53
|
-
|
54
|
-
.ra-timeline .bar {
|
55
|
-
display: block;
|
56
|
-
height: 41px;
|
57
|
-
position: relative;
|
58
|
-
}
|
59
|
-
|
60
|
-
.ra-timeline .bar span {
|
61
|
-
display: block;
|
62
|
-
position: absolute;
|
63
|
-
bottom: 0;
|
64
|
-
width: 100%;
|
65
|
-
}
|
66
|
-
|
67
|
-
.high {
|
68
|
-
background: #bf2531;
|
69
|
-
}
|
70
|
-
|
71
|
-
.medium {
|
72
|
-
background: #d2a71c;
|
73
|
-
}
|
74
|
-
|
75
|
-
.low {
|
76
|
-
background: #BCCEB6;
|
77
|
-
}
|
Binary file
|
@@ -1,23 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Mercury Editor is a Coffeescript and jQuery based WYSIWYG editor. Documentation and other useful information can be
|
3
|
-
* found at https://github.com/jejacks0n/mercury
|
4
|
-
*
|
5
|
-
* This file is intended to provide a standard way to override the CSS that comes default with Mercury Editor, and
|
6
|
-
* includes an example button style, should you ever need to add new ones yourself. Read the toolbar configuration in
|
7
|
-
* mercury.js for more on how to add your own buttons to the toolbar.
|
8
|
-
*/
|
9
|
-
|
10
|
-
/* Disable text sizing in webkit (ipad/iphone etc -- should apply to mercury only) */
|
11
|
-
html { -webkit-text-size-adjust: none; }
|
12
|
-
|
13
|
-
/* Button example */
|
14
|
-
.mercury-primary-toolbar .mercury-inspector-button em,
|
15
|
-
.mercury-expander-button[data-button="inspector"] em {
|
16
|
-
background-image: url(/assets/mercury/toolbar/primary/inspectorpanel.png);
|
17
|
-
}
|
18
|
-
|
19
|
-
.mercury-primary-toolbar .mercury-dashboard-button em {
|
20
|
-
background-image: url(/assets/mercury/dashboard.png);
|
21
|
-
}
|
22
|
-
|
23
|
-
|
@@ -1,66 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<%= render :partial=>'/layouts/cms-common', :locals=>{:include_menu=>true} %>
|
5
|
-
<%= stylesheet_link_tag "kit_admin" %>
|
6
|
-
<% if content_for?(:head) %>
|
7
|
-
<%= yield :head %>
|
8
|
-
<% end %>
|
9
|
-
|
10
|
-
|
11
|
-
<% if content_for?(:page_scripts) %>
|
12
|
-
<script type="text/javascript">
|
13
|
-
<%= yield :page_scripts %>
|
14
|
-
</script>
|
15
|
-
<% end %>
|
16
|
-
|
17
|
-
<% if notice.not_blank? %>
|
18
|
-
<script type="text/javascript">
|
19
|
-
$(document).ready(function() {
|
20
|
-
notify('<%= j notice %>');
|
21
|
-
});
|
22
|
-
</script>
|
23
|
-
<% end %>
|
24
|
-
|
25
|
-
</head>
|
26
|
-
<body class="app_body clearfix">
|
27
|
-
|
28
|
-
<div id="wrapper">
|
29
|
-
|
30
|
-
<div id="inner">
|
31
|
-
<%= render(:partial=>"/utility/menu") %>
|
32
|
-
|
33
|
-
<div id="page" class="clearfix">
|
34
|
-
|
35
|
-
<div id="cms-boxed" class="clearfix" >
|
36
|
-
<div style="display: none;" class="message" id="notice_box"><div id="notice"><%= notice %></div></div>
|
37
|
-
|
38
|
-
<% if alert %>
|
39
|
-
<div class="message" id="alert"><%= alert %></div>
|
40
|
-
<% end %>
|
41
|
-
|
42
|
-
<% # two options - either define a "main" content which will get boxed, or just a normal yield, which won't '%>
|
43
|
-
<% if content_for(:main) && content_for(:main).length>0 %>
|
44
|
-
<div id="left" class="clearfix" >
|
45
|
-
<div class="outer-box">
|
46
|
-
<div class='box'>
|
47
|
-
<%= yield :main %>
|
48
|
-
</div>
|
49
|
-
</div>
|
50
|
-
|
51
|
-
<div id="right">
|
52
|
-
<% right_column %>
|
53
|
-
<%= yield :right %>
|
54
|
-
</div>
|
55
|
-
<% else %>
|
56
|
-
<%= yield%>
|
57
|
-
<% end %>
|
58
|
-
|
59
|
-
</div>
|
60
|
-
|
61
|
-
</div>
|
62
|
-
</div>
|
63
|
-
</div>
|
64
|
-
</body>
|
65
|
-
</html>
|
66
|
-
|
@@ -1,10 +0,0 @@
|
|
1
|
-
<%= javascript_include_tag 'kit/ace/ace.js' %>
|
2
|
-
<%= javascript_include_tag 'kit/ace/theme-textmate.js' %>
|
3
|
-
<%= javascript_include_tag "kit/ace/mode-#{ mode }.js" %>
|
4
|
-
|
5
|
-
<script type="text/javascript">
|
6
|
-
$(document).ready(function() {
|
7
|
-
create_ace_editor('<%= mode %>', '<%= form_field %>', '<%= j content %>');
|
8
|
-
});
|
9
|
-
</script>
|
10
|
-
|