Sha256: 56ceeb27056c8c2a645736dea32f841b7d515210da2cd69063dab9690cb10a39
Contents?: true
Size: 1.46 KB
Versions: 17
Compression:
Stored size: 1.46 KB
Contents
- title 'Media' %div{ ng: { controller: 'AssetListCtrl', init: "assets=#{ assets_array(@assets).to_json }; assetUrl='#{ push_type.edit_asset_path('~id') }'" } } .large-8.columns - if @assets.empty? .empty-default{ ng: { hide: 'assetCount() > 0' } } %h2 No uploads %p Upload images, documents, videos. Get started by uploading your first file. %section %ul.asset-list.small-block-grid-2.medium-block-grid-4 %li{ ng: { repeat: 'asset in assets' } } %article.asset-list-item %a{ ng: { href: '{{ editUrl(asset) }}' } } .preview %img{ alt: '{{ asset.file_name }}', ng: { src: '{{ asset.preview_thumb_url }}' } } .title {{ asset.description_or_file_name }} .large-4.columns .side-panel{ :'side-panel' => true } .padded .pagination-centered .pagination-stats {{ assetCount() }} items - Page #{ @assets.current_page } of #{ @assets.total_pages } = paginate @assets .cta.text-center = link_to ficon(:plus, 'New upload'), push_type.new_asset_path, class: 'button radius success' - if @assets.current_page == 1 .asset-upload .dropzone{ asset: { upload: push_type.upload_assets_path, maxfiles: 10 } } .prompt Drag files to quickly upload them… .icon= ficon(:upload_cloud) .text-button = link_to ficon(:trash, 'Trash bin'), push_type.trash_assets_path
Version data entries
17 entries across 17 versions & 1 rubygems