34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
%script{ :type => 'text/html', :id => 'content_asset_picker' }
|
|
|
|
%h2!= t('.title')
|
|
|
|
%p.no-items{ :style => 'display: none' }!= t('.no_items')
|
|
|
|
%ul.list.content-assets{ :style => 'display: none' }
|
|
%li.clear
|
|
|
|
.dialog-actions
|
|
= link_to t('locomotive.buttons.close'), '#', :id => 'close-link'
|
|
|
|
.button-wrapper.upload
|
|
= form_tag content_assets_url(:json), :class => 'quick-upload' do
|
|
= file_field_tag 'content_asset[source]', :multiple => 'multiple'
|
|
= link_to t('locomotive.content_assets.image_picker.upload'), content_assets_url(:json), :class => 'new', :id => 'upload-link'
|
|
|
|
%script{ :type => 'text/html', :id => 'content_asset' }
|
|
|
|
%h4
|
|
= link_to '{{filename}}', '{{url}}', :alt => '{{full_filename}}', :title => '{{full_filename}}'
|
|
{{#if image}}
|
|
.image
|
|
.inside
|
|
%img{ :src => '{{vignette_url}}' }
|
|
{{else}}
|
|
.icon{ :class => '{{content_type}}' }
|
|
.inside
|
|
{{content_type_text}}
|
|
{{/if}}
|
|
|
|
.actions
|
|
= link_to 'x', '#', :class => 'remove', :'data-confirm' => t('locomotive.messages.confirm')
|