Skip to content

Commit

Permalink
Fixes useless markup and visual glitches on the articles form introdu…
Browse files Browse the repository at this point in the history
…ced by recent removal of the visual editor.
  • Loading branch information
Frédéric de Villamil committed Sep 6, 2013
1 parent 8092954 commit 68e90c7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 22 deletions.
7 changes: 1 addition & 6 deletions app/views/admin/content/_form.html.erb
Expand Up @@ -21,13 +21,8 @@

<%= render('images', { :images => @images}) unless @images.empty? %>

<div id='editor-menu'>
<ul class="nav nav-tabs">
<li id='image-link'><%= toggle_element 'carousel-wrapper', _("Images") %></li>
</ul>
</div>

<div id="editor">
<i class='icon icon-media'></i> <span id='image-link'><%= toggle_element 'carousel-wrapper', _("Images") %></span>
<div id='quicktags'>
<script type="text/javascript">edToolbar('article_body_and_extended', '<%= @article.text_filter %>');</script>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/shared/_macros.html.erb
@@ -1,5 +1,5 @@
<div>
<%= link_to_function(_("Show help on Publify macros") + " (+/-)", update_page { |page| page.visual_effect(:toggle_blind, "macros", :duration => 0.2) }) %>
<i class='icon icon-question-sign'></i> <%= link_to_function(_("Show help on Publify macros") + " (+/-)", update_page { |page| page.visual_effect(:toggle_blind, "macros", :duration => 0.2) }) %>
<table class='table table-striped' id='macros' style='display: none'>
<thead>
<tr>
Expand Down
15 changes: 0 additions & 15 deletions public/stylesheets/administration_structure.css
Expand Up @@ -58,24 +58,9 @@ tr:hover .action {
#editor {
float: left;
width: 100%;
}

#editor-menu {
width: 100%;
float: left;
margin-top: 18px;
}

#editor-menu ul {
width: 100%;
margin-bottom: 0;
}

#editor-menu ul li.active a {
color: #808080;
background: #F5F5F5;
}

.separator {
clear: both;
margin-top: 18px;
Expand Down

0 comments on commit 68e90c7

Please sign in to comment.