lato_view 1.1 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +0 -12
  3. data/app/assets/javascripts/lato_view/build/FormManager.js +8 -2
  4. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/actionbar/cell.rb +1 -1
  5. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/actionbar/views/show.html.erb +0 -0
  6. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/block/cell.rb +1 -1
  7. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/buttongroup/cell.rb +1 -5
  8. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/buttongroup/views/show.html.erb +0 -0
  9. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/dropdown/cell.rb +2 -2
  10. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/dropdown/views/show.html.erb +0 -0
  11. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/index/cell.rb +2 -2
  12. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/index/views/head.html.erb +0 -0
  13. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/index/views/rows.html.erb +0 -0
  14. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/input/cell.rb +5 -4
  15. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/input/views/checkbox.html.erb +0 -0
  16. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/input/views/date.html.erb +0 -0
  17. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/input/views/editor.html.erb +0 -0
  18. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/input/views/email.html.erb +0 -0
  19. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/input/views/file.html.erb +0 -6
  20. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/input/views/multiple-select.html.erb +0 -0
  21. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/input/views/number.html.erb +0 -0
  22. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/input/views/password.html.erb +0 -0
  23. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/input/views/radio.html.erb +0 -0
  24. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/input/views/select.html.erb +0 -0
  25. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/input/views/text.html.erb +0 -0
  26. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/input/views/textarea.html.erb +0 -0
  27. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/input/views/time.html.erb +0 -0
  28. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/searchbar/cell.rb +1 -6
  29. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/searchbar/views/show.html.erb +0 -0
  30. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/table/cell.rb +2 -2
  31. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/table/views/head.html.erb +0 -0
  32. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/table/views/row.html.erb +0 -0
  33. data/app/{concepts/lato_view → cells/lato_view/cells_v1}/table/views/rows.html.erb +0 -0
  34. data/app/cells/lato_view/component/button/cell.rb +30 -0
  35. data/app/cells/lato_view/component/button/views/show.html.erb +1 -0
  36. data/app/cells/lato_view/component/buttongroup/cell.rb +31 -0
  37. data/app/cells/lato_view/component/buttongroup/views/show.html.erb +13 -0
  38. data/app/cells/lato_view/component/dropdown/cell.rb +26 -0
  39. data/app/cells/lato_view/component/dropdown/views/show.html.erb +43 -0
  40. data/app/cells/lato_view/component/form/cell.rb +35 -0
  41. data/app/cells/lato_view/component/form/views/open.html.erb +3 -0
  42. data/app/cells/lato_view/component/form/views/show.html.erb +1 -0
  43. data/app/cells/lato_view/component/searchbar/cell.rb +36 -0
  44. data/app/cells/lato_view/component/searchbar/views/show.html.erb +9 -0
  45. data/app/cells/lato_view/input/checkbox/cell.rb +48 -0
  46. data/app/cells/lato_view/input/checkbox/views/show.html.erb +17 -0
  47. data/app/cells/lato_view/input/date/cell.rb +45 -0
  48. data/app/cells/lato_view/input/date/views/show.html.erb +11 -0
  49. data/app/cells/lato_view/input/editor/cell.rb +45 -0
  50. data/app/cells/lato_view/input/editor/views/show.html.erb +12 -0
  51. data/app/cells/lato_view/input/email/cell.rb +45 -0
  52. data/app/cells/lato_view/input/email/views/show.html.erb +11 -0
  53. data/app/cells/lato_view/input/file/cell.rb +51 -0
  54. data/app/cells/lato_view/input/file/views/show.html.erb +18 -0
  55. data/app/cells/lato_view/input/number/cell.rb +45 -0
  56. data/app/cells/lato_view/input/number/views/show.html.erb +11 -0
  57. data/app/cells/lato_view/input/password/cell.rb +46 -0
  58. data/app/cells/lato_view/input/password/views/show.html.erb +15 -0
  59. data/app/cells/lato_view/input/radio/cell.rb +63 -0
  60. data/app/cells/lato_view/input/radio/views/show.html.erb +20 -0
  61. data/app/cells/lato_view/input/select/cell.rb +87 -0
  62. data/app/cells/lato_view/input/select/views/show.html.erb +21 -0
  63. data/app/cells/lato_view/input/text/cell.rb +45 -0
  64. data/app/cells/lato_view/input/text/views/show.html.erb +11 -0
  65. data/app/cells/lato_view/input/textarea/cell.rb +45 -0
  66. data/app/cells/lato_view/input/textarea/views/show.html.erb +12 -0
  67. data/app/cells/lato_view/input/time/cell.rb +45 -0
  68. data/app/cells/lato_view/input/time/views/show.html.erb +11 -0
  69. data/app/cells/lato_view/layout/actionbar/cell.rb +29 -0
  70. data/app/cells/lato_view/layout/actionbar/views/show.html.erb +13 -0
  71. data/app/cells/lato_view/layout/block/cell.rb +37 -0
  72. data/app/cells/lato_view/layout/index/cell.rb +73 -0
  73. data/app/cells/lato_view/layout/index/views/head.html.erb +12 -0
  74. data/app/cells/lato_view/layout/index/views/rows.html.erb +49 -0
  75. data/app/controllers/lato_view/assets_controller.rb +3 -6
  76. data/app/controllers/lato_view/develop_controller.rb +5 -5
  77. data/app/helpers/lato_view/application_helper.rb +19 -10
  78. data/config/example.yml +2 -2
  79. data/config/initializers/init.rb +1 -1
  80. data/config/initializers/lists.rb +2 -18
  81. data/config/initializers/ram.rb +1 -13
  82. data/config/routes.rb +1 -0
  83. data/lib/lato_view.rb +5 -7
  84. data/lib/lato_view/cells.rb +16 -0
  85. data/lib/lato_view/engine.rb +6 -5
  86. data/lib/lato_view/interface.rb +4 -5
  87. data/lib/lato_view/interface/assets.rb +67 -76
  88. data/lib/lato_view/interface/images.rb +52 -58
  89. data/lib/lato_view/interface/navigation.rb +6 -11
  90. data/lib/lato_view/interface/themes.rb +22 -28
  91. data/lib/tasks/{lato_starter_tasks.rake → lato_view_tasks.rake} +1 -4
  92. metadata +76 -115
  93. data/lib/lato_view/concepts.rb +0 -19
  94. data/test/controllers/lato_view/api/v1/api_controller_test.rb +0 -9
  95. data/test/controllers/lato_view/application_controller_test.rb +0 -9
  96. data/test/controllers/lato_view/back/back_controller_test.rb +0 -9
  97. data/test/dummy/README.rdoc +0 -28
  98. data/test/dummy/Rakefile +0 -6
  99. data/test/dummy/app/assets/javascripts/application.js +0 -13
  100. data/test/dummy/app/assets/stylesheets/application.css +0 -15
  101. data/test/dummy/app/controllers/application_controller.rb +0 -5
  102. data/test/dummy/app/helpers/application_helper.rb +0 -2
  103. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  104. data/test/dummy/bin/bundle +0 -3
  105. data/test/dummy/bin/rails +0 -4
  106. data/test/dummy/bin/rake +0 -4
  107. data/test/dummy/bin/setup +0 -29
  108. data/test/dummy/config.ru +0 -4
  109. data/test/dummy/config/application.rb +0 -25
  110. data/test/dummy/config/boot.rb +0 -5
  111. data/test/dummy/config/database.yml +0 -25
  112. data/test/dummy/config/environment.rb +0 -5
  113. data/test/dummy/config/environments/development.rb +0 -41
  114. data/test/dummy/config/environments/production.rb +0 -79
  115. data/test/dummy/config/environments/test.rb +0 -42
  116. data/test/dummy/config/initializers/assets.rb +0 -11
  117. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  118. data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
  119. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  120. data/test/dummy/config/initializers/inflections.rb +0 -16
  121. data/test/dummy/config/initializers/mime_types.rb +0 -4
  122. data/test/dummy/config/initializers/session_store.rb +0 -3
  123. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  124. data/test/dummy/config/locales/en.yml +0 -23
  125. data/test/dummy/config/routes.rb +0 -3
  126. data/test/dummy/config/secrets.yml +0 -22
  127. data/test/dummy/public/404.html +0 -67
  128. data/test/dummy/public/422.html +0 -67
  129. data/test/dummy/public/500.html +0 -66
  130. data/test/dummy/public/favicon.ico +0 -0
  131. data/test/integration/navigation_test.rb +0 -8
  132. data/test/lato_view_test.rb +0 -7
  133. data/test/test_helper.rb +0 -21
@@ -1,68 +1,62 @@
1
1
  module LatoView
2
- module Interface
3
- # Insieme di funzioni usate per gestire le immagini di lato_view
4
- module Images
2
+ # This module contains function for images.
3
+ module Interface::Images
5
4
 
6
- # Ritorna l'url del logo da visualizzare nella sidebar. L'url puo' essere
7
- # utilizzato per usare l'helper image_tag.
8
- def view_getSidebarLogo
9
- return VIEW_SIDEBARLOGO if defined? VIEW_SIDEBARLOGO
10
- dir = "#{Rails.root}/app/assets/images/lato/"
11
- if File.exist?("#{dir}/sidebar_logo.svg")
12
- return "lato/sidebar_logo.svg"
13
- end
14
- if File.exist?("#{dir}/sidebar_logo.png")
15
- return "lato/sidebar_logo.png"
16
- end
17
- if File.exist?("#{dir}/sidebar_logo.jpg")
18
- return "lato/sidebar_logo.jpg"
19
- end
20
- if File.exist?("#{dir}/sidebar_logo.gif")
21
- return "lato/sidebar_logo.gif"
22
- end
23
- return view_getApplicationLogo
5
+ # This function return the url of sidebar logo.
6
+ def view_getSidebarLogo
7
+ return VIEW_SIDEBARLOGO if defined? VIEW_SIDEBARLOGO
8
+ dir = "#{Rails.root}/app/assets/images/lato/"
9
+ if File.exist?("#{dir}/sidebar_logo.svg")
10
+ return "lato/sidebar_logo.svg"
24
11
  end
25
-
26
- # Ritorna l'url del logo da visualizzare nella pagina di login. L'url puo' essere
27
- # utilizzato per usare l'helper image_tag.
28
- def view_getLoginLogo
29
- return VIEW_LOGINLOGO if defined? VIEW_LOGINLOGO
30
- dir = "#{Rails.root}/app/assets/images/lato/"
31
- if File.exist?("#{dir}/login_logo.svg")
32
- return "lato/login_logo.svg"
33
- end
34
- if File.exist?("#{dir}/login_logo.png")
35
- return "lato/login_logo.png"
36
- end
37
- if File.exist?("#{dir}/login_logo.jpg")
38
- return "lato/login_logo.jpg"
39
- end
40
- if File.exist?("#{dir}/login_logo.gif")
41
- return "lato/login_logo.gif"
42
- end
43
- return view_getApplicationLogo
12
+ if File.exist?("#{dir}/sidebar_logo.png")
13
+ return "lato/sidebar_logo.png"
14
+ end
15
+ if File.exist?("#{dir}/sidebar_logo.jpg")
16
+ return "lato/sidebar_logo.jpg"
17
+ end
18
+ if File.exist?("#{dir}/sidebar_logo.gif")
19
+ return "lato/sidebar_logo.gif"
44
20
  end
21
+ return view_getApplicationLogo
22
+ end
45
23
 
46
- # Ritorna l'url del logo dell'applicazione. L'url puo' essere
47
- # utilizzato per usare l'helper image_tag.
48
- def view_getApplicationLogo
49
- return VIEW_APPLOGO if defined? VIEW_APPLOGO
50
- dir = "#{Rails.root}/app/assets/images/lato/"
51
- if File.exist?("#{dir}/logo.svg")
52
- return "lato/logo.svg"
53
- end
54
- if File.exist?("#{dir}/logo.png")
55
- return "lato/logo.png"
56
- end
57
- if File.exist?("#{dir}/logo.jpg")
58
- return "lato/logo.jpg"
59
- end
60
- if File.exist?("#{dir}/logo.gif")
61
- return "lato/logo.gif"
62
- end
63
- return false
24
+ # This function return the url of login logo.
25
+ def view_getLoginLogo
26
+ return VIEW_LOGINLOGO if defined? VIEW_LOGINLOGO
27
+ dir = "#{Rails.root}/app/assets/images/lato/"
28
+ if File.exist?("#{dir}/login_logo.svg")
29
+ return "lato/login_logo.svg"
30
+ end
31
+ if File.exist?("#{dir}/login_logo.png")
32
+ return "lato/login_logo.png"
33
+ end
34
+ if File.exist?("#{dir}/login_logo.jpg")
35
+ return "lato/login_logo.jpg"
64
36
  end
37
+ if File.exist?("#{dir}/login_logo.gif")
38
+ return "lato/login_logo.gif"
39
+ end
40
+ return view_getApplicationLogo
41
+ end
65
42
 
43
+ # This function return the url of application logo.
44
+ def view_getApplicationLogo
45
+ return VIEW_APPLOGO if defined? VIEW_APPLOGO
46
+ dir = "#{Rails.root}/app/assets/images/lato/"
47
+ if File.exist?("#{dir}/logo.svg")
48
+ return "lato/logo.svg"
49
+ end
50
+ if File.exist?("#{dir}/logo.png")
51
+ return "lato/logo.png"
52
+ end
53
+ if File.exist?("#{dir}/logo.jpg")
54
+ return "lato/logo.jpg"
55
+ end
56
+ if File.exist?("#{dir}/logo.gif")
57
+ return "lato/logo.gif"
58
+ end
59
+ return false
66
60
  end
67
61
 
68
62
  end
@@ -1,16 +1,11 @@
1
1
  module LatoView
2
- module Interface
3
- # Insieme di funzioni usate per modificare l'aspetto della navbar del
4
- # sistema
5
- module Navigation
6
-
7
- # Funzione che prende una stringa come parametro e, se essa e' presente
8
- # come nome univoco tra le voci della navbar la imposta come voce con
9
- # classe active nella navigazione
10
- def view_setCurrentVoice(unique_name)
11
- @view_navbar_unique_name = unique_name
12
- end
2
+ # This module contains function for the navigationbar.
3
+ module Interface::Navigation
13
4
 
5
+ # This function is used to set active the sidebar menu voice with the
6
+ # key set as params.
7
+ def view_setCurrentVoice(unique_name)
8
+ @view_navbar_unique_name = unique_name
14
9
  end
15
10
 
16
11
  end
@@ -1,36 +1,30 @@
1
- include LatoCore::Interface
2
-
3
1
  module LatoView
4
- module Interface
5
- # Inisieme di funzioni utilizzate per personalizzare il tema dell'interfaccia
6
- # gestita da lato_view.
7
- module Themes
2
+ # This module contain functions used to manage themes.
3
+ module Interface::Themes
8
4
 
9
- # Funzione che ritorna il nome del tema settato dal file di configurazione.
10
- # Se non è stato settato alcun tema ritorna false.
11
- def view_getCurrentTemplateName
12
- return VIEW_CURRENTTEMPLATENAME if defined? VIEW_CURRENTTEMPLATENAME
13
- directory = core_getCacheDirectory
14
- if File.exist? "#{directory}/view.yml"
15
- # accedo al view.yml
16
- config = YAML.load(
17
- File.read(File.expand_path("#{directory}/view.yml", __FILE__))
18
- )
19
- # verifico esistenza dati
20
- if !config || !config['template']
21
- return false
22
- end
23
- # verifico che il template sia valido
24
- unless VIEW_TEMPLATES.include? config['template']
25
- raise 'Template value is not correct on view.yml config file' and return false
26
- end
27
- # ritorno nome template
28
- return config['template']
29
- else
5
+ # This function return the name of the current theme used for the
6
+ # application.
7
+ def view_getCurrentTemplateName
8
+ return VIEW_CURRENTTEMPLATENAME if defined? VIEW_CURRENTTEMPLATENAME
9
+ directory = core_getCacheDirectory
10
+ if File.exist? "#{directory}/view.yml"
11
+ # accedo al view.yml
12
+ config = YAML.load(
13
+ File.read(File.expand_path("#{directory}/view.yml", __FILE__))
14
+ )
15
+ # verifico esistenza dati
16
+ if !config || !config['template']
30
17
  return false
31
18
  end
19
+ # verifico che il template sia valido
20
+ unless VIEW_TEMPLATES.include? config['template']
21
+ raise 'Template value is not correct on view.yml config file' and return false
22
+ end
23
+ # ritorno nome template
24
+ return config['template']
25
+ else
26
+ return false
32
27
  end
33
-
34
28
  end
35
29
 
36
30
  end
@@ -1,11 +1,8 @@
1
1
  include LatoCore::Interface
2
2
 
3
- # Task che genera il file di configurazione di lato_view nella cache
4
- # dell'applicazione principale
3
+ # Initialize module on project
5
4
  desc 'Create view.yml file for Lato configuration'
6
5
  task :lato_view_initialize do
7
- # determino la directory di cache
8
6
  directory = core_getCacheDirectory
9
7
  FileUtils.cp "#{LatoView::Engine.root}/config/example.yml", "#{Rails.root}/config/lato/view.yml"
10
-
11
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lato_view
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.1'
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregorio Galante, Antonio Dal Cin, Riccardo Zanutta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-27 00:00:00.000000000 Z
11
+ date: 2016-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -257,36 +257,77 @@ files:
257
257
  - app/assets/stylesheets/lato_view/views/_login.scss
258
258
  - app/assets/stylesheets/lato_view/views/_print.scss
259
259
  - app/assets/stylesheets/lato_view/views/_views.scss
260
- - app/concepts/lato_view/actionbar/cell.rb
261
- - app/concepts/lato_view/actionbar/views/show.html.erb
262
- - app/concepts/lato_view/block/cell.rb
263
- - app/concepts/lato_view/buttongroup/cell.rb
264
- - app/concepts/lato_view/buttongroup/views/show.html.erb
265
- - app/concepts/lato_view/dropdown/cell.rb
266
- - app/concepts/lato_view/dropdown/views/show.html.erb
267
- - app/concepts/lato_view/index/cell.rb
268
- - app/concepts/lato_view/index/views/head.html.erb
269
- - app/concepts/lato_view/index/views/rows.html.erb
270
- - app/concepts/lato_view/input/cell.rb
271
- - app/concepts/lato_view/input/views/checkbox.html.erb
272
- - app/concepts/lato_view/input/views/date.html.erb
273
- - app/concepts/lato_view/input/views/editor.html.erb
274
- - app/concepts/lato_view/input/views/email.html.erb
275
- - app/concepts/lato_view/input/views/file.html.erb
276
- - app/concepts/lato_view/input/views/multiple-select.html.erb
277
- - app/concepts/lato_view/input/views/number.html.erb
278
- - app/concepts/lato_view/input/views/password.html.erb
279
- - app/concepts/lato_view/input/views/radio.html.erb
280
- - app/concepts/lato_view/input/views/select.html.erb
281
- - app/concepts/lato_view/input/views/text.html.erb
282
- - app/concepts/lato_view/input/views/textarea.html.erb
283
- - app/concepts/lato_view/input/views/time.html.erb
284
- - app/concepts/lato_view/searchbar/cell.rb
285
- - app/concepts/lato_view/searchbar/views/show.html.erb
286
- - app/concepts/lato_view/table/cell.rb
287
- - app/concepts/lato_view/table/views/head.html.erb
288
- - app/concepts/lato_view/table/views/row.html.erb
289
- - app/concepts/lato_view/table/views/rows.html.erb
260
+ - app/cells/lato_view/cells_v1/actionbar/cell.rb
261
+ - app/cells/lato_view/cells_v1/actionbar/views/show.html.erb
262
+ - app/cells/lato_view/cells_v1/block/cell.rb
263
+ - app/cells/lato_view/cells_v1/buttongroup/cell.rb
264
+ - app/cells/lato_view/cells_v1/buttongroup/views/show.html.erb
265
+ - app/cells/lato_view/cells_v1/dropdown/cell.rb
266
+ - app/cells/lato_view/cells_v1/dropdown/views/show.html.erb
267
+ - app/cells/lato_view/cells_v1/index/cell.rb
268
+ - app/cells/lato_view/cells_v1/index/views/head.html.erb
269
+ - app/cells/lato_view/cells_v1/index/views/rows.html.erb
270
+ - app/cells/lato_view/cells_v1/input/cell.rb
271
+ - app/cells/lato_view/cells_v1/input/views/checkbox.html.erb
272
+ - app/cells/lato_view/cells_v1/input/views/date.html.erb
273
+ - app/cells/lato_view/cells_v1/input/views/editor.html.erb
274
+ - app/cells/lato_view/cells_v1/input/views/email.html.erb
275
+ - app/cells/lato_view/cells_v1/input/views/file.html.erb
276
+ - app/cells/lato_view/cells_v1/input/views/multiple-select.html.erb
277
+ - app/cells/lato_view/cells_v1/input/views/number.html.erb
278
+ - app/cells/lato_view/cells_v1/input/views/password.html.erb
279
+ - app/cells/lato_view/cells_v1/input/views/radio.html.erb
280
+ - app/cells/lato_view/cells_v1/input/views/select.html.erb
281
+ - app/cells/lato_view/cells_v1/input/views/text.html.erb
282
+ - app/cells/lato_view/cells_v1/input/views/textarea.html.erb
283
+ - app/cells/lato_view/cells_v1/input/views/time.html.erb
284
+ - app/cells/lato_view/cells_v1/searchbar/cell.rb
285
+ - app/cells/lato_view/cells_v1/searchbar/views/show.html.erb
286
+ - app/cells/lato_view/cells_v1/table/cell.rb
287
+ - app/cells/lato_view/cells_v1/table/views/head.html.erb
288
+ - app/cells/lato_view/cells_v1/table/views/row.html.erb
289
+ - app/cells/lato_view/cells_v1/table/views/rows.html.erb
290
+ - app/cells/lato_view/component/button/cell.rb
291
+ - app/cells/lato_view/component/button/views/show.html.erb
292
+ - app/cells/lato_view/component/buttongroup/cell.rb
293
+ - app/cells/lato_view/component/buttongroup/views/show.html.erb
294
+ - app/cells/lato_view/component/dropdown/cell.rb
295
+ - app/cells/lato_view/component/dropdown/views/show.html.erb
296
+ - app/cells/lato_view/component/form/cell.rb
297
+ - app/cells/lato_view/component/form/views/open.html.erb
298
+ - app/cells/lato_view/component/form/views/show.html.erb
299
+ - app/cells/lato_view/component/searchbar/cell.rb
300
+ - app/cells/lato_view/component/searchbar/views/show.html.erb
301
+ - app/cells/lato_view/input/checkbox/cell.rb
302
+ - app/cells/lato_view/input/checkbox/views/show.html.erb
303
+ - app/cells/lato_view/input/date/cell.rb
304
+ - app/cells/lato_view/input/date/views/show.html.erb
305
+ - app/cells/lato_view/input/editor/cell.rb
306
+ - app/cells/lato_view/input/editor/views/show.html.erb
307
+ - app/cells/lato_view/input/email/cell.rb
308
+ - app/cells/lato_view/input/email/views/show.html.erb
309
+ - app/cells/lato_view/input/file/cell.rb
310
+ - app/cells/lato_view/input/file/views/show.html.erb
311
+ - app/cells/lato_view/input/number/cell.rb
312
+ - app/cells/lato_view/input/number/views/show.html.erb
313
+ - app/cells/lato_view/input/password/cell.rb
314
+ - app/cells/lato_view/input/password/views/show.html.erb
315
+ - app/cells/lato_view/input/radio/cell.rb
316
+ - app/cells/lato_view/input/radio/views/show.html.erb
317
+ - app/cells/lato_view/input/select/cell.rb
318
+ - app/cells/lato_view/input/select/views/show.html.erb
319
+ - app/cells/lato_view/input/text/cell.rb
320
+ - app/cells/lato_view/input/text/views/show.html.erb
321
+ - app/cells/lato_view/input/textarea/cell.rb
322
+ - app/cells/lato_view/input/textarea/views/show.html.erb
323
+ - app/cells/lato_view/input/time/cell.rb
324
+ - app/cells/lato_view/input/time/views/show.html.erb
325
+ - app/cells/lato_view/layout/actionbar/cell.rb
326
+ - app/cells/lato_view/layout/actionbar/views/show.html.erb
327
+ - app/cells/lato_view/layout/block/cell.rb
328
+ - app/cells/lato_view/layout/index/cell.rb
329
+ - app/cells/lato_view/layout/index/views/head.html.erb
330
+ - app/cells/lato_view/layout/index/views/rows.html.erb
290
331
  - app/controllers/lato_view/assets_controller.rb
291
332
  - app/controllers/lato_view/develop_controller.rb
292
333
  - app/helpers/lato_view/application_helper.rb
@@ -338,54 +379,14 @@ files:
338
379
  - config/initializers/ram.rb
339
380
  - config/routes.rb
340
381
  - lib/lato_view.rb
341
- - lib/lato_view/concepts.rb
382
+ - lib/lato_view/cells.rb
342
383
  - lib/lato_view/engine.rb
343
384
  - lib/lato_view/interface.rb
344
385
  - lib/lato_view/interface/assets.rb
345
386
  - lib/lato_view/interface/images.rb
346
387
  - lib/lato_view/interface/navigation.rb
347
388
  - lib/lato_view/interface/themes.rb
348
- - lib/tasks/lato_starter_tasks.rake
349
- - test/controllers/lato_view/api/v1/api_controller_test.rb
350
- - test/controllers/lato_view/application_controller_test.rb
351
- - test/controllers/lato_view/back/back_controller_test.rb
352
- - test/dummy/README.rdoc
353
- - test/dummy/Rakefile
354
- - test/dummy/app/assets/javascripts/application.js
355
- - test/dummy/app/assets/stylesheets/application.css
356
- - test/dummy/app/controllers/application_controller.rb
357
- - test/dummy/app/helpers/application_helper.rb
358
- - test/dummy/app/views/layouts/application.html.erb
359
- - test/dummy/bin/bundle
360
- - test/dummy/bin/rails
361
- - test/dummy/bin/rake
362
- - test/dummy/bin/setup
363
- - test/dummy/config.ru
364
- - test/dummy/config/application.rb
365
- - test/dummy/config/boot.rb
366
- - test/dummy/config/database.yml
367
- - test/dummy/config/environment.rb
368
- - test/dummy/config/environments/development.rb
369
- - test/dummy/config/environments/production.rb
370
- - test/dummy/config/environments/test.rb
371
- - test/dummy/config/initializers/assets.rb
372
- - test/dummy/config/initializers/backtrace_silencers.rb
373
- - test/dummy/config/initializers/cookies_serializer.rb
374
- - test/dummy/config/initializers/filter_parameter_logging.rb
375
- - test/dummy/config/initializers/inflections.rb
376
- - test/dummy/config/initializers/mime_types.rb
377
- - test/dummy/config/initializers/session_store.rb
378
- - test/dummy/config/initializers/wrap_parameters.rb
379
- - test/dummy/config/locales/en.yml
380
- - test/dummy/config/routes.rb
381
- - test/dummy/config/secrets.yml
382
- - test/dummy/public/404.html
383
- - test/dummy/public/422.html
384
- - test/dummy/public/500.html
385
- - test/dummy/public/favicon.ico
386
- - test/integration/navigation_test.rb
387
- - test/lato_view_test.rb
388
- - test/test_helper.rb
389
+ - lib/tasks/lato_view_tasks.rake
389
390
  homepage: https://github.com/LatoTeam/lato_view
390
391
  licenses:
391
392
  - MIT
@@ -410,44 +411,4 @@ rubygems_version: 2.5.1
410
411
  signing_key:
411
412
  specification_version: 4
412
413
  summary: Lato module for view elements
413
- test_files:
414
- - test/controllers/lato_view/api/v1/api_controller_test.rb
415
- - test/controllers/lato_view/application_controller_test.rb
416
- - test/controllers/lato_view/back/back_controller_test.rb
417
- - test/dummy/app/assets/javascripts/application.js
418
- - test/dummy/app/assets/stylesheets/application.css
419
- - test/dummy/app/controllers/application_controller.rb
420
- - test/dummy/app/helpers/application_helper.rb
421
- - test/dummy/app/views/layouts/application.html.erb
422
- - test/dummy/bin/bundle
423
- - test/dummy/bin/rails
424
- - test/dummy/bin/rake
425
- - test/dummy/bin/setup
426
- - test/dummy/config/application.rb
427
- - test/dummy/config/boot.rb
428
- - test/dummy/config/database.yml
429
- - test/dummy/config/environment.rb
430
- - test/dummy/config/environments/development.rb
431
- - test/dummy/config/environments/production.rb
432
- - test/dummy/config/environments/test.rb
433
- - test/dummy/config/initializers/assets.rb
434
- - test/dummy/config/initializers/backtrace_silencers.rb
435
- - test/dummy/config/initializers/cookies_serializer.rb
436
- - test/dummy/config/initializers/filter_parameter_logging.rb
437
- - test/dummy/config/initializers/inflections.rb
438
- - test/dummy/config/initializers/mime_types.rb
439
- - test/dummy/config/initializers/session_store.rb
440
- - test/dummy/config/initializers/wrap_parameters.rb
441
- - test/dummy/config/locales/en.yml
442
- - test/dummy/config/routes.rb
443
- - test/dummy/config/secrets.yml
444
- - test/dummy/config.ru
445
- - test/dummy/public/404.html
446
- - test/dummy/public/422.html
447
- - test/dummy/public/500.html
448
- - test/dummy/public/favicon.ico
449
- - test/dummy/Rakefile
450
- - test/dummy/README.rdoc
451
- - test/integration/navigation_test.rb
452
- - test/lato_view_test.rb
453
- - test/test_helper.rb
414
+ test_files: []
@@ -1,19 +0,0 @@
1
- module LatoView
2
- # Sopraclasse di tutte le Celle. Include tutte quelle componenti usate
3
- # dalle celle che generano l'interfaccia grafica.
4
- class Cell < Cell::Concept
5
-
6
- # Imposto la directory che contiene i vari concepts
7
- view_paths << "#{LatoView::Engine.root}/app/concepts"
8
-
9
- # Includo tutte le funzioni necessarie al corretto funzionamento dei
10
- # concepts
11
- include ActionView::Helpers::FormHelper
12
- include ActionView::Helpers::UrlHelper
13
- include ERB::Util
14
-
15
- # Funzioni per usare files .erb nelle celle
16
- include ::Cell::Erb
17
-
18
- end
19
- end