lato_media 2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +27 -0
- data/Rakefile +5 -0
- data/app/assets/config/lato_media_manifest.js +2 -0
- data/app/assets/javascripts/lato_media/application.js +18 -0
- data/app/assets/javascripts/lato_media/initializers/Inputs.js +62 -0
- data/app/assets/javascripts/lato_media/interfaces/MediaSelector.js +128 -0
- data/app/assets/stylesheets/lato_media/application.scss +17 -0
- data/app/assets/stylesheets/lato_media/cells/_cells.scss +2 -0
- data/app/assets/stylesheets/lato_media/cells/elements/_elements.scss +2 -0
- data/app/assets/stylesheets/lato_media/cells/elements/_preview.scss +67 -0
- data/app/assets/stylesheets/lato_media/cells/elements/_previews.scss +23 -0
- data/app/assets/stylesheets/lato_media/cells/inputs/_gallery.scss +13 -0
- data/app/assets/stylesheets/lato_media/cells/inputs/_inputs.scss +2 -0
- data/app/assets/stylesheets/lato_media/cells/inputs/_media.scss +25 -0
- data/app/assets/stylesheets/lato_media/pages/_medias.scss +20 -0
- data/app/assets/stylesheets/lato_media/pages/_pages.scss +1 -0
- data/app/assets/stylesheets/lato_media/partials/_media_selector.scss +53 -0
- data/app/assets/stylesheets/lato_media/partials/_partials.scss +1 -0
- data/app/assets/stylesheets/lato_media/theme.scss.erb +12 -0
- data/app/cells/lato_media/elements/preview/cell.rb +44 -0
- data/app/cells/lato_media/elements/preview/views/general.html.erb +14 -0
- data/app/cells/lato_media/elements/preview/views/image.html.erb +10 -0
- data/app/cells/lato_media/elements/preview/views/not_found.html.erb +15 -0
- data/app/cells/lato_media/elements/preview/views/show.html.erb +33 -0
- data/app/cells/lato_media/elements/previews/cell.rb +37 -0
- data/app/cells/lato_media/elements/previews/views/show.html.erb +43 -0
- data/app/cells/lato_media/inputs/gallery/cell.rb +80 -0
- data/app/cells/lato_media/inputs/gallery/views/show.html.erb +39 -0
- data/app/cells/lato_media/inputs/media/cell.rb +64 -0
- data/app/cells/lato_media/inputs/media/views/show.html.erb +40 -0
- data/app/controllers/lato_media/application_controller.rb +13 -0
- data/app/controllers/lato_media/back/back_controller.rb +13 -0
- data/app/controllers/lato_media/back/media_selector_controller.rb +43 -0
- data/app/controllers/lato_media/back/medias_controller.rb +101 -0
- data/app/controllers/lato_media/doc/cells_controller.rb +43 -0
- data/app/controllers/lato_media/doc/doc_controller.rb +17 -0
- data/app/controllers/lato_media/doc/general_controller.rb +9 -0
- data/app/helpers/lato_media/application_helper.rb +4 -0
- data/app/jobs/lato_media/application_job.rb +4 -0
- data/app/mailers/lato_media/application_mailer.rb +6 -0
- data/app/models/lato_media/application_record.rb +5 -0
- data/app/models/lato_media/media/entity_helpers.rb +15 -0
- data/app/models/lato_media/media.rb +26 -0
- data/app/views/lato_media/back/media_selector/load_form.js.erb +9 -0
- data/app/views/lato_media/back/media_selector/load_index.js.erb +6 -0
- data/app/views/lato_media/back/media_selector/load_inputs_gallery.js.erb +6 -0
- data/app/views/lato_media/back/media_selector/load_inputs_media.js.erb +6 -0
- data/app/views/lato_media/back/medias/edit.html.erb +51 -0
- data/app/views/lato_media/back/medias/index.html.erb +25 -0
- data/app/views/lato_media/back/medias/new.html.erb +25 -0
- data/app/views/lato_media/back/medias/refresh_index.js.erb +11 -0
- data/app/views/lato_media/back/medias/shared/_dropzone_modal.html.erb +12 -0
- data/app/views/lato_media/back/medias/shared/_form.html.erb +52 -0
- data/app/views/lato_media/back/medias/shared/_index.html.erb +14 -0
- data/app/views/lato_media/doc/cells/elements_preview.html.erb +241 -0
- data/app/views/lato_media/doc/cells/elements_previews.html.erb +87 -0
- data/app/views/lato_media/doc/cells/inputs_gallery.html.erb +63 -0
- data/app/views/lato_media/doc/cells/inputs_media.html.erb +63 -0
- data/app/views/lato_media/doc/doc/index.html.erb +59 -0
- data/app/views/lato_media/doc/general/installation.html.erb +49 -0
- data/app/views/lato_media/doc/general/personalization.html.erb +0 -0
- data/app/views/lato_media/partials/_media_selector.html.erb +12 -0
- data/app/views/lato_media/partials/media_selector/_modal.html.erb +16 -0
- data/app/views/lato_media/partials/media_selector/_modal_form.html.erb +6 -0
- data/app/views/lato_media/partials/media_selector/_modal_index.html.erb +18 -0
- data/config/configs.yml +50 -0
- data/config/initializers/assets.rb +4 -0
- data/config/languages/default.yml +39 -0
- data/config/languages/it.yml +39 -0
- data/config/routes/api.rb +3 -0
- data/config/routes/back.rb +9 -0
- data/config/routes/doc.rb +15 -0
- data/config/routes.rb +16 -0
- data/db/migrate/20160224181218_create_lato_media_media.rb +15 -0
- data/lib/lato_media/engine.rb +16 -0
- data/lib/lato_media/version.rb +3 -0
- data/lib/lato_media.rb +5 -0
- data/lib/tasks/lato_media_tasks.rake +4 -0
- metadata +179 -0
@@ -0,0 +1,59 @@
|
|
1
|
+
<%
|
2
|
+
row = cell(:elements, :row).new
|
3
|
+
block = cell(:elements, :block).new(class: 'xs-12 sm-12 md-12')
|
4
|
+
%>
|
5
|
+
|
6
|
+
<!-- PRESENTATION -->
|
7
|
+
<%=raw row.open %>
|
8
|
+
|
9
|
+
<%=raw block.open %>
|
10
|
+
|
11
|
+
<%=raw cell(:elements, :title).new(label: 'Lato Media Documentation') %>
|
12
|
+
|
13
|
+
<%=raw block.close %>
|
14
|
+
|
15
|
+
<%=raw row.close %>
|
16
|
+
<!-- / PRESENTATION -->
|
17
|
+
|
18
|
+
<!-- GENERAL SECTION -->
|
19
|
+
<%=raw row.open %>
|
20
|
+
|
21
|
+
<%=raw block.open %>
|
22
|
+
|
23
|
+
<%=raw cell(:elements, :title).new(label: 'General', size: 2) %>
|
24
|
+
|
25
|
+
<%=raw cell(:elements, :button).new(label: 'Installation', url: lato_media.doc_general_installation_path) %>
|
26
|
+
<%=raw cell(:elements, :button).new(label: 'Personalization', url: lato_media.doc_general_personalization_path) %>
|
27
|
+
|
28
|
+
<%=raw block.close %>
|
29
|
+
|
30
|
+
<%=raw row.close %>
|
31
|
+
<!-- / GENERAL SECTION -->
|
32
|
+
|
33
|
+
<!-- CELLS SECTION -->
|
34
|
+
<%=raw row.open %>
|
35
|
+
|
36
|
+
<%=raw block.open %>
|
37
|
+
|
38
|
+
<%=raw cell(:elements, :title).new(label: 'Cells', size: 2) %>
|
39
|
+
|
40
|
+
<p>Cells are object used to create the user interface.</p>
|
41
|
+
|
42
|
+
<%=raw cell(:elements, :title).new(label: 'Elements', size: 4) %>
|
43
|
+
|
44
|
+
<%=raw cell(:elements, :button).new(label: 'Preview', url: lato_media.doc_cells_elements_preview_path) %>
|
45
|
+
<%=raw cell(:elements, :button).new(label: 'Previews', url: lato_media.doc_cells_elements_previews_path) %>
|
46
|
+
|
47
|
+
<br><br>
|
48
|
+
<%=raw cell(:elements, :title).new(label: 'Inputs', size: 4) %>
|
49
|
+
|
50
|
+
<%=raw cell(:elements, :button).new(label: 'Media', url: lato_media.doc_cells_inputs_media_path) %>
|
51
|
+
<%=raw cell(:elements, :button).new(label: 'Gallery', url: lato_media.doc_cells_inputs_gallery_path) %>
|
52
|
+
|
53
|
+
<%=raw block.close %>
|
54
|
+
|
55
|
+
<%=raw row.close %>
|
56
|
+
<!-- / CELLS SECTION -->
|
57
|
+
|
58
|
+
<%=raw row.close %>
|
59
|
+
<!-- / CELLS SECTION -->
|
@@ -0,0 +1,49 @@
|
|
1
|
+
<%
|
2
|
+
row = cell(:elements, :row).new
|
3
|
+
block = cell(:elements, :block).new(class: 'xs-12 sm-12 md-12')
|
4
|
+
code = cell(:elements, :code).new
|
5
|
+
%>
|
6
|
+
|
7
|
+
<!-- PRESENTATION -->
|
8
|
+
<%=raw row.open %>
|
9
|
+
|
10
|
+
<%=raw block.open %>
|
11
|
+
|
12
|
+
<%=raw cell(:elements, :title).new(label: 'General: Installation') %>
|
13
|
+
|
14
|
+
<p>Install Lato Media is simple. First of all you need to add the gem on your gemfile:</p>
|
15
|
+
|
16
|
+
<%=raw code.open %>
|
17
|
+
|
18
|
+
gem 'lato_media', git: 'https://github.com/ideonetwork/lato-media'
|
19
|
+
|
20
|
+
<%=raw code.close %>
|
21
|
+
|
22
|
+
<p>Install the gem with bundle:</p>
|
23
|
+
|
24
|
+
<%=raw code.open %>
|
25
|
+
|
26
|
+
$> bundle install
|
27
|
+
|
28
|
+
<%=raw code.close %>
|
29
|
+
|
30
|
+
<p>Copy the Lato Media migrations on your application:</p>
|
31
|
+
|
32
|
+
<%=raw code.open %>
|
33
|
+
|
34
|
+
$> rails lato_media:install:migrations
|
35
|
+
|
36
|
+
<%=raw code.close %>
|
37
|
+
|
38
|
+
<p>Run the migrations:</p>
|
39
|
+
|
40
|
+
<%=raw code.open %>
|
41
|
+
|
42
|
+
$> bundle exec rake db:migrate
|
43
|
+
|
44
|
+
<%=raw code.close %>
|
45
|
+
|
46
|
+
<%=raw block.close %>
|
47
|
+
|
48
|
+
<%=raw row.close %>
|
49
|
+
<!-- / PRESENTATION -->
|
File without changes
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<div class="partials__media-selector">
|
2
|
+
|
3
|
+
<%=raw cell(:elements, :modal).new(id: 'media__media_selector', title: LANGUAGES[:lato_media][:mixed][:select_media],
|
4
|
+
render: render('lato_media/partials/media_selector/modal')) %>
|
5
|
+
|
6
|
+
<div class="partials__media-selector-actions">
|
7
|
+
<%= link_to 'load_index', lato_media.media_selector_load_index_path, remote: true, id: 'media__media_selector_load_index' %>
|
8
|
+
<%= link_to 'load_form', lato_media.media_selector_load_form_path, remote: true, id: 'media__media_selector_load_form' %>
|
9
|
+
</div>
|
10
|
+
|
11
|
+
</div>
|
12
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<div class="partials__media-selector-modal">
|
2
|
+
|
3
|
+
<div class="partials__media-selector-index-container"></div>
|
4
|
+
|
5
|
+
<div class="partials__media-selector-buttons">
|
6
|
+
<%=raw LatoCore::Elements::Button::Cell.new(url: '#', label: LANGUAGES[:lato_media][:mixed][:add_media],
|
7
|
+
style: 'primary', icon: 'plus', id: 'media__media_selector_add_button') %>
|
8
|
+
<%=raw LatoCore::Elements::Button::Cell.new(url: '#', label: LANGUAGES[:lato_media][:mixed][:show_all_media],
|
9
|
+
style: 'primary', icon: 'picture-o', id: 'media__media_selector_list_button') %>
|
10
|
+
<%=raw LatoCore::Elements::Button::Cell.new(url: '#', label: LANGUAGES[:lato_media][:mixed][:cancel],
|
11
|
+
style: 'danger', icon: 'ban', id: 'media__media_selector_cancel_button') %>
|
12
|
+
<%=raw LatoCore::Elements::Button::Cell.new(url: '#', label: LANGUAGES[:lato_media][:mixed][:confirm],
|
13
|
+
style: 'success', icon: 'check', onclick: 'MediaSelector.close(event);') %>
|
14
|
+
</div>
|
15
|
+
|
16
|
+
</div>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<div class="partials__media-selector-index">
|
2
|
+
|
3
|
+
<div class="partials__media-selector-index-list row">
|
4
|
+
<% @medias.each do |media| %>
|
5
|
+
<%=raw LatoMedia::Elements::Preview::Cell.new(media: media, class: 'xs-6 sm-4 md-3 lg-3') %>
|
6
|
+
<% end %>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<% if @pagination_total > 1 %>
|
10
|
+
|
11
|
+
<div class="partials__media-selector-index-pagination">
|
12
|
+
<%=raw LatoCore::Elements::Pagination::Cell.new(total: @pagination_total, remote: true,
|
13
|
+
url: lato_media.media_selector_load_index_path, current: @page) %>
|
14
|
+
</div>
|
15
|
+
|
16
|
+
<% end %>
|
17
|
+
|
18
|
+
</div>
|
data/config/configs.yml
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
# set max size for media files (Mb).
|
2
|
+
max_media_accepted_size: 2
|
3
|
+
|
4
|
+
# set width for media images files.
|
5
|
+
thumb_media_width: 100
|
6
|
+
medium_media_width: 300
|
7
|
+
large_media_width: 600
|
8
|
+
|
9
|
+
# set menu for the module.
|
10
|
+
menu:
|
11
|
+
media_medias:
|
12
|
+
icon: picture-o
|
13
|
+
title: translate[medias]
|
14
|
+
url: /lato/media/medias
|
15
|
+
position: 4
|
16
|
+
permission_min: 0
|
17
|
+
permission_max: 99
|
18
|
+
sub_items:
|
19
|
+
new:
|
20
|
+
title: translate[medias_new]
|
21
|
+
url: /lato/media/medias/new
|
22
|
+
permission_min: 0
|
23
|
+
permission_max: 99
|
24
|
+
all:
|
25
|
+
title: translate[medias_all]
|
26
|
+
url: /lato/media/medias
|
27
|
+
permission_min: 0
|
28
|
+
permission_max: 99
|
29
|
+
media_documentation:
|
30
|
+
icon: book
|
31
|
+
title: translate[documentation]
|
32
|
+
url: /lato/media/doc
|
33
|
+
position: 1003
|
34
|
+
permission_min: 4
|
35
|
+
permission_max: 99
|
36
|
+
|
37
|
+
# set assets for the module. -> Please, do not edit default assets.
|
38
|
+
assets:
|
39
|
+
media_style:
|
40
|
+
path: lato_media/application
|
41
|
+
type: stylesheet
|
42
|
+
media_script:
|
43
|
+
path: lato_media/application
|
44
|
+
type: javascript
|
45
|
+
|
46
|
+
# set partials added at the end of the layout.
|
47
|
+
partials:
|
48
|
+
media_media_selector:
|
49
|
+
path: lato_media/partials/media_selector
|
50
|
+
position: 1
|
@@ -0,0 +1,39 @@
|
|
1
|
+
menu:
|
2
|
+
medias: Media
|
3
|
+
medias_new: Add new
|
4
|
+
medias_all: Show all
|
5
|
+
documentation: Doc. Media
|
6
|
+
|
7
|
+
pages:
|
8
|
+
medias: Media
|
9
|
+
medias_new: New media
|
10
|
+
medias_edit: Edit media
|
11
|
+
documentation: Documentation
|
12
|
+
|
13
|
+
flashes:
|
14
|
+
media_not_found: Media not found
|
15
|
+
media_destroy_success: The media was destroied successfully
|
16
|
+
media_update_success: The media was updated successfully
|
17
|
+
|
18
|
+
forms:
|
19
|
+
title: Title
|
20
|
+
description: Description
|
21
|
+
url: Url
|
22
|
+
thumb_url: Thumbnail url
|
23
|
+
medium_url: Medium url
|
24
|
+
large_url: Large url
|
25
|
+
|
26
|
+
mixed:
|
27
|
+
add_media: Add media
|
28
|
+
load_media_files: Load media files here
|
29
|
+
show_all_media: Show all media
|
30
|
+
delete_media: Delete the media
|
31
|
+
cancel: Cancel
|
32
|
+
save: Save
|
33
|
+
delete_media_confirm: Are you sure to delete this media?
|
34
|
+
delete_media_confirm_positive: 'Yes'
|
35
|
+
delete_media_confirm_negative: 'No'
|
36
|
+
confirm: Confirm
|
37
|
+
select_media: Select media
|
38
|
+
file_not_present: File not present
|
39
|
+
no_media_to_show: There are not media to show
|
@@ -0,0 +1,39 @@
|
|
1
|
+
menu:
|
2
|
+
medias: Media
|
3
|
+
medias_new: Aggiungi nuovo
|
4
|
+
medias_all: Visualizza tutti
|
5
|
+
documentation: Doc. Media
|
6
|
+
|
7
|
+
pages:
|
8
|
+
medias: Media
|
9
|
+
medias_new: Nuovo media
|
10
|
+
medias_edit: Modifica media
|
11
|
+
documentation: Documentazione
|
12
|
+
|
13
|
+
flashes:
|
14
|
+
media_not_found: Media non trovato
|
15
|
+
media_destroy_success: Media eliminato con successo
|
16
|
+
media_update_success: Media aggiornato con successo
|
17
|
+
|
18
|
+
forms:
|
19
|
+
title: Titolo
|
20
|
+
description: Descrizione
|
21
|
+
url: Url
|
22
|
+
thumb_url: Thumbnail url
|
23
|
+
medium_url: Medium url
|
24
|
+
large_url: Large url
|
25
|
+
|
26
|
+
mixed:
|
27
|
+
add_media: Aggiungi media
|
28
|
+
load_media_files: Carica i file qui
|
29
|
+
show_all_media: Visualizza tutti i media
|
30
|
+
delete_media: Elimina media
|
31
|
+
cancel: Cancella
|
32
|
+
save: Salva
|
33
|
+
delete_media_confirm: Sei sicuro di eliminare il media?
|
34
|
+
delete_media_confirm_positive: Conferma
|
35
|
+
delete_media_confirm_negative: Annulla
|
36
|
+
confirm: Conferma
|
37
|
+
select_media: Seleziona media
|
38
|
+
file_not_present: File non presente
|
39
|
+
no_media_to_show: Nessun media da visualizzare
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# medias
|
2
|
+
resources :medias, module: 'back'
|
3
|
+
get 'medias_extra/refresh_index', to: 'back/medias#refresh_index', as: 'medias_refresh_index'
|
4
|
+
|
5
|
+
# media selector (helpers for the partial work)
|
6
|
+
get 'media_selector/load_index', to: 'back/media_selector#load_index', as: 'media_selector_load_index'
|
7
|
+
get 'media_selector/load_form', to: 'back/media_selector#load_form', as: 'media_selector_load_form'
|
8
|
+
get 'media_selector/load_inputs_media', to: 'back/media_selector#load_inputs_media', as: 'media_selector_load_inputs_media'
|
9
|
+
get 'media_selector/load_inputs_gallery', to: 'back/media_selector#load_inputs_gallery', as: 'media_selector_load_inputs_gallery'
|
@@ -0,0 +1,15 @@
|
|
1
|
+
namespace :doc do
|
2
|
+
|
3
|
+
root 'doc#index'
|
4
|
+
|
5
|
+
# general
|
6
|
+
get 'general_installation', to: 'general#installation', as: 'general_installation'
|
7
|
+
get 'general_personalization', to: 'general#personalization', as: 'general_personalization'
|
8
|
+
|
9
|
+
# cells
|
10
|
+
get 'cells_elements_preview', to: 'cells#elements_preview', as: 'cells_elements_preview'
|
11
|
+
get 'cells_elements_previews', to: 'cells#elements_previews', as: 'cells_elements_previews'
|
12
|
+
get 'cells_inputs_media', to: 'cells#inputs_media', as: 'cells_inputs_media'
|
13
|
+
get 'cells_inputs_gallery', to: 'cells#inputs_gallery', as: 'cells_inputs_gallery'
|
14
|
+
|
15
|
+
end
|
data/config/routes.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
LatoMedia::Engine.routes.draw do
|
2
|
+
|
3
|
+
# load custom routes files
|
4
|
+
def draw(routes_name)
|
5
|
+
instance_eval(File.read(LatoMedia::Engine.root.join("config/routes/#{routes_name}.rb")))
|
6
|
+
end
|
7
|
+
|
8
|
+
# set root path
|
9
|
+
root 'application#index'
|
10
|
+
|
11
|
+
# import routes
|
12
|
+
draw :api
|
13
|
+
draw :back
|
14
|
+
draw :doc
|
15
|
+
|
16
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
class CreateLatoMediaMedia < ActiveRecord::Migration[5.1]
|
2
|
+
def change
|
3
|
+
create_table :lato_media_media do |t|
|
4
|
+
t.string :title
|
5
|
+
t.text :description
|
6
|
+
|
7
|
+
t.string :attachment_file_name
|
8
|
+
t.string :attachment_content_type
|
9
|
+
t.integer :attachment_file_size
|
10
|
+
t.datetime :attachment_updated_at
|
11
|
+
|
12
|
+
t.timestamps
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module LatoMedia
|
2
|
+
class Engine < ::Rails::Engine
|
3
|
+
isolate_namespace LatoMedia
|
4
|
+
|
5
|
+
require 'rubygems'
|
6
|
+
require 'paperclip'
|
7
|
+
|
8
|
+
# add routes support
|
9
|
+
initializer 'Add gem routes to application', before: :load_config_initializers do
|
10
|
+
Rails.application.routes.append do
|
11
|
+
mount LatoMedia::Engine, at: '/lato/media'
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
end
|
16
|
+
end
|
data/lib/lato_media.rb
ADDED
metadata
ADDED
@@ -0,0 +1,179 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: lato_media
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '2.1'
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ideonetwork
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-08-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 5.1.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 5.1.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: lato_core
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.1.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.1.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: paperclip
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 5.0.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 5.0.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: sqlite3
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
description: Lato is a modular management system for Rails
|
70
|
+
email:
|
71
|
+
- info@ideonetwork.it
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- MIT-LICENSE
|
77
|
+
- README.md
|
78
|
+
- Rakefile
|
79
|
+
- app/assets/config/lato_media_manifest.js
|
80
|
+
- app/assets/javascripts/lato_media/application.js
|
81
|
+
- app/assets/javascripts/lato_media/initializers/Inputs.js
|
82
|
+
- app/assets/javascripts/lato_media/interfaces/MediaSelector.js
|
83
|
+
- app/assets/stylesheets/lato_media/application.scss
|
84
|
+
- app/assets/stylesheets/lato_media/cells/_cells.scss
|
85
|
+
- app/assets/stylesheets/lato_media/cells/elements/_elements.scss
|
86
|
+
- app/assets/stylesheets/lato_media/cells/elements/_preview.scss
|
87
|
+
- app/assets/stylesheets/lato_media/cells/elements/_previews.scss
|
88
|
+
- app/assets/stylesheets/lato_media/cells/inputs/_gallery.scss
|
89
|
+
- app/assets/stylesheets/lato_media/cells/inputs/_inputs.scss
|
90
|
+
- app/assets/stylesheets/lato_media/cells/inputs/_media.scss
|
91
|
+
- app/assets/stylesheets/lato_media/pages/_medias.scss
|
92
|
+
- app/assets/stylesheets/lato_media/pages/_pages.scss
|
93
|
+
- app/assets/stylesheets/lato_media/partials/_media_selector.scss
|
94
|
+
- app/assets/stylesheets/lato_media/partials/_partials.scss
|
95
|
+
- app/assets/stylesheets/lato_media/theme.scss.erb
|
96
|
+
- app/cells/lato_media/elements/preview/cell.rb
|
97
|
+
- app/cells/lato_media/elements/preview/views/general.html.erb
|
98
|
+
- app/cells/lato_media/elements/preview/views/image.html.erb
|
99
|
+
- app/cells/lato_media/elements/preview/views/not_found.html.erb
|
100
|
+
- app/cells/lato_media/elements/preview/views/show.html.erb
|
101
|
+
- app/cells/lato_media/elements/previews/cell.rb
|
102
|
+
- app/cells/lato_media/elements/previews/views/show.html.erb
|
103
|
+
- app/cells/lato_media/inputs/gallery/cell.rb
|
104
|
+
- app/cells/lato_media/inputs/gallery/views/show.html.erb
|
105
|
+
- app/cells/lato_media/inputs/media/cell.rb
|
106
|
+
- app/cells/lato_media/inputs/media/views/show.html.erb
|
107
|
+
- app/controllers/lato_media/application_controller.rb
|
108
|
+
- app/controllers/lato_media/back/back_controller.rb
|
109
|
+
- app/controllers/lato_media/back/media_selector_controller.rb
|
110
|
+
- app/controllers/lato_media/back/medias_controller.rb
|
111
|
+
- app/controllers/lato_media/doc/cells_controller.rb
|
112
|
+
- app/controllers/lato_media/doc/doc_controller.rb
|
113
|
+
- app/controllers/lato_media/doc/general_controller.rb
|
114
|
+
- app/helpers/lato_media/application_helper.rb
|
115
|
+
- app/jobs/lato_media/application_job.rb
|
116
|
+
- app/mailers/lato_media/application_mailer.rb
|
117
|
+
- app/models/lato_media/application_record.rb
|
118
|
+
- app/models/lato_media/media.rb
|
119
|
+
- app/models/lato_media/media/entity_helpers.rb
|
120
|
+
- app/views/lato_media/back/media_selector/load_form.js.erb
|
121
|
+
- app/views/lato_media/back/media_selector/load_index.js.erb
|
122
|
+
- app/views/lato_media/back/media_selector/load_inputs_gallery.js.erb
|
123
|
+
- app/views/lato_media/back/media_selector/load_inputs_media.js.erb
|
124
|
+
- app/views/lato_media/back/medias/edit.html.erb
|
125
|
+
- app/views/lato_media/back/medias/index.html.erb
|
126
|
+
- app/views/lato_media/back/medias/new.html.erb
|
127
|
+
- app/views/lato_media/back/medias/refresh_index.js.erb
|
128
|
+
- app/views/lato_media/back/medias/shared/_dropzone_modal.html.erb
|
129
|
+
- app/views/lato_media/back/medias/shared/_form.html.erb
|
130
|
+
- app/views/lato_media/back/medias/shared/_index.html.erb
|
131
|
+
- app/views/lato_media/doc/cells/elements_preview.html.erb
|
132
|
+
- app/views/lato_media/doc/cells/elements_previews.html.erb
|
133
|
+
- app/views/lato_media/doc/cells/inputs_gallery.html.erb
|
134
|
+
- app/views/lato_media/doc/cells/inputs_media.html.erb
|
135
|
+
- app/views/lato_media/doc/doc/index.html.erb
|
136
|
+
- app/views/lato_media/doc/general/installation.html.erb
|
137
|
+
- app/views/lato_media/doc/general/personalization.html.erb
|
138
|
+
- app/views/lato_media/partials/_media_selector.html.erb
|
139
|
+
- app/views/lato_media/partials/media_selector/_modal.html.erb
|
140
|
+
- app/views/lato_media/partials/media_selector/_modal_form.html.erb
|
141
|
+
- app/views/lato_media/partials/media_selector/_modal_index.html.erb
|
142
|
+
- config/configs.yml
|
143
|
+
- config/initializers/assets.rb
|
144
|
+
- config/languages/default.yml
|
145
|
+
- config/languages/it.yml
|
146
|
+
- config/routes.rb
|
147
|
+
- config/routes/api.rb
|
148
|
+
- config/routes/back.rb
|
149
|
+
- config/routes/doc.rb
|
150
|
+
- db/migrate/20160224181218_create_lato_media_media.rb
|
151
|
+
- lib/lato_media.rb
|
152
|
+
- lib/lato_media/engine.rb
|
153
|
+
- lib/lato_media/version.rb
|
154
|
+
- lib/tasks/lato_media_tasks.rake
|
155
|
+
homepage: http://naturaldesign.cc/
|
156
|
+
licenses:
|
157
|
+
- MIT
|
158
|
+
metadata: {}
|
159
|
+
post_install_message:
|
160
|
+
rdoc_options: []
|
161
|
+
require_paths:
|
162
|
+
- lib
|
163
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - ">="
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '0'
|
168
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - ">="
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0'
|
173
|
+
requirements: []
|
174
|
+
rubyforge_project:
|
175
|
+
rubygems_version: 2.6.12
|
176
|
+
signing_key:
|
177
|
+
specification_version: 4
|
178
|
+
summary: Lato media module
|
179
|
+
test_files: []
|