Commit f4842d6e authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

added icons on my/page_layout top right links

git-svn-id: http://redmine.rubyforge.org/svn/trunk@246 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 10e77d86
......@@ -39,17 +39,18 @@ function removeBlock(block) {
<% form_tag({:action => "add_block"}, :id => "block-form") do %>
<%= select_tag 'block', "<option></option>" + options_for_select(@block_options), :id => "block-select" %>
<%= link_to_remote l(:button_add),
:url => { :action => "add_block" },
{:url => { :action => "add_block" },
:with => "Form.serialize('block-form')",
:update => "list-top",
:position => :top,
:complete => "afterAddBlock();",
:loading => "Element.show('indicator')",
:loaded => "Element.hide('indicator')"
}, :class => 'icon icon-add'
%>
<% end %> |
<%= link_to l(:button_save), :action => 'page_layout_save' %> |
<%= link_to l(:button_cancel), :action => 'page' %>
<% end %>
<%= link_to l(:button_save), {:action => 'page_layout_save'}, :class => 'icon icon-save' %>
<%= link_to l(:button_cancel), {:action => 'page'}, :class => 'icon icon-cancel' %>
</div>
<h2><%=l(:label_my_page)%></h2>
......
......@@ -151,6 +151,7 @@ vertical-align: middle;
.icon-del { background-image: url(../images/delete.png); }
.icon-move { background-image: url(../images/move.png); }
.icon-save { background-image: url(../images/save.png); }
.icon-cancel { background-image: url(../images/cancel.png); }
.icon-pdf { background-image: url(../images/pdf.png); }
.icon-csv { background-image: url(../images/csv.png); }
.icon-file { background-image: url(../images/file.png); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment