1 | NO CONTENT: new file 100644, binary diff hidden |
|
NO CONTENT: new file 100644, binary diff hidden |
@@ -39,17 +39,18 function removeBlock(block) { | |||||
39 | <% form_tag({:action => "add_block"}, :id => "block-form") do %> |
|
39 | <% form_tag({:action => "add_block"}, :id => "block-form") do %> | |
40 | <%= select_tag 'block', "<option></option>" + options_for_select(@block_options), :id => "block-select" %> |
|
40 | <%= select_tag 'block', "<option></option>" + options_for_select(@block_options), :id => "block-select" %> | |
41 | <%= link_to_remote l(:button_add), |
|
41 | <%= link_to_remote l(:button_add), | |
42 |
|
|
42 | {:url => { :action => "add_block" }, | |
43 | :with => "Form.serialize('block-form')", |
|
43 | :with => "Form.serialize('block-form')", | |
44 | :update => "list-top", |
|
44 | :update => "list-top", | |
45 | :position => :top, |
|
45 | :position => :top, | |
46 | :complete => "afterAddBlock();", |
|
46 | :complete => "afterAddBlock();", | |
47 | :loading => "Element.show('indicator')", |
|
47 | :loading => "Element.show('indicator')", | |
48 | :loaded => "Element.hide('indicator')" |
|
48 | :loaded => "Element.hide('indicator')" | |
|
49 | }, :class => 'icon icon-add' | |||
49 | %> |
|
50 | %> | |
50 |
<% end %> |
|
51 | <% end %> | |
51 |
<%= link_to l(:button_save), :action => 'page_layout_save' %> |
|
52 | <%= link_to l(:button_save), {:action => 'page_layout_save'}, :class => 'icon icon-save' %> | |
52 | <%= link_to l(:button_cancel), :action => 'page' %> |
|
53 | <%= link_to l(:button_cancel), {:action => 'page'}, :class => 'icon icon-cancel' %> | |
53 | </div> |
|
54 | </div> | |
54 |
|
55 | |||
55 | <h2><%=l(:label_my_page)%></h2> |
|
56 | <h2><%=l(:label_my_page)%></h2> |
@@ -151,6 +151,7 vertical-align: middle; | |||||
151 | .icon-del { background-image: url(../images/delete.png); } |
|
151 | .icon-del { background-image: url(../images/delete.png); } | |
152 | .icon-move { background-image: url(../images/move.png); } |
|
152 | .icon-move { background-image: url(../images/move.png); } | |
153 | .icon-save { background-image: url(../images/save.png); } |
|
153 | .icon-save { background-image: url(../images/save.png); } | |
|
154 | .icon-cancel { background-image: url(../images/cancel.png); } | |||
154 | .icon-pdf { background-image: url(../images/pdf.png); } |
|
155 | .icon-pdf { background-image: url(../images/pdf.png); } | |
155 | .icon-csv { background-image: url(../images/csv.png); } |
|
156 | .icon-csv { background-image: url(../images/csv.png); } | |
156 | .icon-file { background-image: url(../images/file.png); } |
|
157 | .icon-file { background-image: url(../images/file.png); } |
General Comments 0
You need to be logged in to leave comments.
Login now