engine/app/views/locomotive/theme_assets/_picker.html.haml

27 lines
771 B
Plaintext
Raw Normal View History

%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'
.upload-button-wrapper
= 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}}