engine/app/views/locomotive/theme_assets/_picker.html.haml
2011-12-07 02:09:13 +01:00

24 lines
768 B
Plaintext

%script{ :type => 'text/html', :id => 'theme_image_picker' }
%h2!= t('locomotive.theme_assets.image_picker.title')
%p.no-items{ :style => 'display: none' }!= t('locomotive.theme_assets.image_picker.no_items')
%ul.list{ :style => 'display: none' }
.dialog-actions
= link_to t('locomotive.buttons.close'), '#', :id => 'close-link'
.button-wrapper.upload
= file_field_tag 'theme_asset[source]'
= link_to t('locomotive.theme_assets.image_picker.upload'), theme_assets_url(:json), :class => 'new', :id => 'upload-link'
%script{ :type => 'text/html', :id => 'theme_asset' }
%li.item
= link_to '{{local_path}}', '{{url}}'
.more
%span.size {{size}}
—
%span!= t('.updated_at')
%span.date {{updated_at}}