added icons on my/page_layout top right links
git-svn-id: http://redmine.rubyforge.org/svn/trunk@246 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
10e77d865b
commit
f4842d6eed
|
@ -39,17 +39,18 @@ function removeBlock(block) {
|
||||||
<% form_tag({:action => "add_block"}, :id => "block-form") do %>
|
<% form_tag({:action => "add_block"}, :id => "block-form") do %>
|
||||||
<%= select_tag 'block', "<option></option>" + options_for_select(@block_options), :id => "block-select" %>
|
<%= select_tag 'block', "<option></option>" + options_for_select(@block_options), :id => "block-select" %>
|
||||||
<%= link_to_remote l(:button_add),
|
<%= link_to_remote l(:button_add),
|
||||||
:url => { :action => "add_block" },
|
{:url => { :action => "add_block" },
|
||||||
:with => "Form.serialize('block-form')",
|
:with => "Form.serialize('block-form')",
|
||||||
:update => "list-top",
|
:update => "list-top",
|
||||||
:position => :top,
|
:position => :top,
|
||||||
:complete => "afterAddBlock();",
|
:complete => "afterAddBlock();",
|
||||||
:loading => "Element.show('indicator')",
|
:loading => "Element.show('indicator')",
|
||||||
:loaded => "Element.hide('indicator')"
|
:loaded => "Element.hide('indicator')"
|
||||||
|
}, :class => 'icon icon-add'
|
||||||
%>
|
%>
|
||||||
<% end %> |
|
<% end %>
|
||||||
<%= link_to l(:button_save), :action => 'page_layout_save' %> |
|
<%= link_to l(:button_save), {:action => 'page_layout_save'}, :class => 'icon icon-save' %>
|
||||||
<%= link_to l(:button_cancel), :action => 'page' %>
|
<%= link_to l(:button_cancel), {:action => 'page'}, :class => 'icon icon-cancel' %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2><%=l(:label_my_page)%></h2>
|
<h2><%=l(:label_my_page)%></h2>
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 433 B |
|
@ -151,6 +151,7 @@ vertical-align: middle;
|
||||||
.icon-del { background-image: url(../images/delete.png); }
|
.icon-del { background-image: url(../images/delete.png); }
|
||||||
.icon-move { background-image: url(../images/move.png); }
|
.icon-move { background-image: url(../images/move.png); }
|
||||||
.icon-save { background-image: url(../images/save.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-pdf { background-image: url(../images/pdf.png); }
|
||||||
.icon-csv { background-image: url(../images/csv.png); }
|
.icon-csv { background-image: url(../images/csv.png); }
|
||||||
.icon-file { background-image: url(../images/file.png); }
|
.icon-file { background-image: url(../images/file.png); }
|
||||||
|
|
Loading…
Reference in New Issue