From cad471df18e566f733fe317dc3f2bb43ca9b2782 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Fri, 15 Jun 2012 17:54:54 -0300 Subject: [PATCH] Enhancements on text editor sidebar - first take --- app/views/cms/_text_editor_sidebar.rhtml | 6 ++++-- app/views/cms/_textile_quick_reference.rhtml | 4 ++-- public/images/zoom-dark.png | Bin 0 -> 177 bytes public/javascripts/article.js | 56 +++++++++++++++++++++++++++++++++++++++++++++++--------- public/stylesheets/application.css | 47 ++++++++++++++++++++++++++++++++++++++--------- 5 files changed, 91 insertions(+), 22 deletions(-) create mode 100644 public/images/zoom-dark.png diff --git a/app/views/cms/_text_editor_sidebar.rhtml b/app/views/cms/_text_editor_sidebar.rhtml index 95e973e..0d17c6a 100644 --- a/app/views/cms/_text_editor_sidebar.rhtml +++ b/app/views/cms/_text_editor_sidebar.rhtml @@ -1,7 +1,9 @@
+ '/> + '/> <%= render(:partial => 'textile_quick_reference') if @article.is_a?(TextileArticle) %>
-

<%= _('Media upload') %>

+
<%= _('Media upload') %>
<% form_tag({ :action => 'media_upload' }, :multipart => true) do %>
@@ -24,7 +26,7 @@