lato_view 1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +35 -0
- data/app/assets/fonts/lato-bold-webfont.eot +0 -0
- data/app/assets/fonts/lato-bold-webfont.svg +4551 -0
- data/app/assets/fonts/lato-bold-webfont.ttf +0 -0
- data/app/assets/fonts/lato-bold-webfont.woff +0 -0
- data/app/assets/fonts/lato-bold-webfont.woff2 +0 -0
- data/app/assets/fonts/lato-regular-webfont.eot +0 -0
- data/app/assets/fonts/lato-regular-webfont.svg +4241 -0
- data/app/assets/fonts/lato-regular-webfont.ttf +0 -0
- data/app/assets/fonts/lato-regular-webfont.woff +0 -0
- data/app/assets/fonts/lato-regular-webfont.woff2 +0 -0
- data/app/assets/images/lato_view/icons/_arrow-down.svg +1 -0
- data/app/assets/images/lato_view/icons/_arrow-left.svg +1 -0
- data/app/assets/images/lato_view/icons/_arrow-right.svg +1 -0
- data/app/assets/images/lato_view/icons/_arrow-up.svg +1 -0
- data/app/assets/images/lato_view/icons/_artist.svg +1 -0
- data/app/assets/images/lato_view/icons/_artwork.svg +1 -0
- data/app/assets/images/lato_view/icons/_attachment.svg +1 -0
- data/app/assets/images/lato_view/icons/_calendar.svg +1 -0
- data/app/assets/images/lato_view/icons/_clients.svg +1 -0
- data/app/assets/images/lato_view/icons/_close.svg +1 -0
- data/app/assets/images/lato_view/icons/_download.svg +1 -0
- data/app/assets/images/lato_view/icons/_file.svg +1 -0
- data/app/assets/images/lato_view/icons/_google-plus.svg +1 -0
- data/app/assets/images/lato_view/icons/_home.svg +1 -0
- data/app/assets/images/lato_view/icons/_info.svg +1 -0
- data/app/assets/images/lato_view/icons/_instagram.svg +1 -0
- data/app/assets/images/lato_view/icons/_lato-logo.svg +1 -0
- data/app/assets/images/lato_view/icons/_linkedin.svg +1 -0
- data/app/assets/images/lato_view/icons/_list.svg +1 -0
- data/app/assets/images/lato_view/icons/_magni-glass.svg +1 -0
- data/app/assets/images/lato_view/icons/_mail.svg +1 -0
- data/app/assets/images/lato_view/icons/_minus.svg +1 -0
- data/app/assets/images/lato_view/icons/_modify.svg +1 -0
- data/app/assets/images/lato_view/icons/_percentage.svg +1 -0
- data/app/assets/images/lato_view/icons/_plus.svg +1 -0
- data/app/assets/images/lato_view/icons/_power.svg +1 -0
- data/app/assets/images/lato_view/icons/_settings.svg +1 -0
- data/app/assets/images/lato_view/icons/_sweet.svg +1 -0
- data/app/assets/images/lato_view/icons/_trash.svg +1 -0
- data/app/assets/images/lato_view/icons/_twitter.svg +1 -0
- data/app/assets/images/lato_view/icons/_upload.svg +1 -0
- data/app/assets/images/lato_view/icons/_user.svg +1 -0
- data/app/assets/images/lato_view/icons/_users.svg +1 -0
- data/app/assets/images/lato_view/icons/_warning.svg +1 -0
- data/app/assets/images/lato_view/icons/_web.svg +1 -0
- data/app/assets/images/lato_view/vendor/trumbowyg_icons.svg +1 -0
- data/app/assets/images/lato_view/work-in-progress/da-scegliere.svg +225 -0
- data/app/assets/images/lato_view/work-in-progress/social.svg +76 -0
- data/app/assets/javascripts/lato_view/application.js +68 -0
- data/app/assets/javascripts/lato_view/build/ActionBar.js +65 -0
- data/app/assets/javascripts/lato_view/build/Dropdown.js +33 -0
- data/app/assets/javascripts/lato_view/build/Flash.js +23 -0
- data/app/assets/javascripts/lato_view/build/FormManager.js +159 -0
- data/app/assets/javascripts/lato_view/build/Navigation.js +79 -0
- data/app/assets/javascripts/lato_view/build/Util.js +91 -0
- data/app/assets/javascripts/lato_view/build/Validator.js +235 -0
- data/app/assets/javascripts/lato_view/vendor/dropzone.min.js +2 -0
- data/app/assets/javascripts/lato_view/vendor/jquery.email-autocomplete.min.js +9 -0
- data/app/assets/javascripts/lato_view/vendor/modernizr.js +3 -0
- data/app/assets/javascripts/lato_view/vendor/moment.min.js +7 -0
- data/app/assets/javascripts/lato_view/vendor/picker-it_IT.js +1 -0
- data/app/assets/javascripts/lato_view/vendor/picker.date.js +5 -0
- data/app/assets/javascripts/lato_view/vendor/picker.js +7 -0
- data/app/assets/javascripts/lato_view/vendor/picker.time.js +5 -0
- data/app/assets/javascripts/lato_view/vendor/trumbowyg.js +1522 -0
- data/app/assets/stylesheets/lato_view/application.scss.erb +32 -0
- data/app/assets/stylesheets/lato_view/base/_base.scss +53 -0
- data/app/assets/stylesheets/lato_view/base/_helpers.scss +491 -0
- data/app/assets/stylesheets/lato_view/base/_media.scss +32 -0
- data/app/assets/stylesheets/lato_view/base/_reset.scss +424 -0
- data/app/assets/stylesheets/lato_view/base/_typography.scss +138 -0
- data/app/assets/stylesheets/lato_view/config/_config.scss +143 -0
- data/app/assets/stylesheets/lato_view/config/templates/_base-template.scss +158 -0
- data/app/assets/stylesheets/lato_view/config/templates/_black-template.scss +158 -0
- data/app/assets/stylesheets/lato_view/modules/_action-bar.scss +62 -0
- data/app/assets/stylesheets/lato_view/modules/_arranger.scss +10 -0
- data/app/assets/stylesheets/lato_view/modules/_button-group.scss +70 -0
- data/app/assets/stylesheets/lato_view/modules/_buttons.scss +177 -0
- data/app/assets/stylesheets/lato_view/modules/_content-block.scss +33 -0
- data/app/assets/stylesheets/lato_view/modules/_datepicker.scss +580 -0
- data/app/assets/stylesheets/lato_view/modules/_dropdown.scss +166 -0
- data/app/assets/stylesheets/lato_view/modules/_flash.scss +55 -0
- data/app/assets/stylesheets/lato_view/modules/_form-controls.scss +83 -0
- data/app/assets/stylesheets/lato_view/modules/_form.scss +297 -0
- data/app/assets/stylesheets/lato_view/modules/_modules.scss +19 -0
- data/app/assets/stylesheets/lato_view/modules/_navbar.scss +262 -0
- data/app/assets/stylesheets/lato_view/modules/_pagination.scss +30 -0
- data/app/assets/stylesheets/lato_view/modules/_search-bar.scss +44 -0
- data/app/assets/stylesheets/lato_view/modules/_select.scss +313 -0
- data/app/assets/stylesheets/lato_view/modules/_sidebar.scss +211 -0
- data/app/assets/stylesheets/lato_view/modules/_status.scss +39 -0
- data/app/assets/stylesheets/lato_view/modules/_table.scss +94 -0
- data/app/assets/stylesheets/lato_view/modules/_upload.scss +371 -0
- data/app/assets/stylesheets/lato_view/modules/_wyswyg.scss +755 -0
- data/app/assets/stylesheets/lato_view/views/_admin.scss +30 -0
- data/app/assets/stylesheets/lato_view/views/_grid.scss +448 -0
- data/app/assets/stylesheets/lato_view/views/_login.scss +152 -0
- data/app/assets/stylesheets/lato_view/views/_print.scss +41 -0
- data/app/assets/stylesheets/lato_view/views/_views.scss +48 -0
- data/app/concepts/lato_view/actionbar/cell.rb +65 -0
- data/app/concepts/lato_view/actionbar/views/show.html.erb +21 -0
- data/app/concepts/lato_view/block/cell.rb +52 -0
- data/app/concepts/lato_view/buttongroup/cell.rb +50 -0
- data/app/concepts/lato_view/buttongroup/views/show.html.erb +7 -0
- data/app/concepts/lato_view/dropdown/cell.rb +46 -0
- data/app/concepts/lato_view/dropdown/views/show.html.erb +19 -0
- data/app/concepts/lato_view/index/cell.rb +112 -0
- data/app/concepts/lato_view/index/views/head.html.erb +12 -0
- data/app/concepts/lato_view/index/views/rows.html.erb +49 -0
- data/app/concepts/lato_view/input/cell.rb +148 -0
- data/app/concepts/lato_view/input/views/checkbox.html.erb +8 -0
- data/app/concepts/lato_view/input/views/date.html.erb +5 -0
- data/app/concepts/lato_view/input/views/editor.html.erb +7 -0
- data/app/concepts/lato_view/input/views/email.html.erb +5 -0
- data/app/concepts/lato_view/input/views/file.html.erb +17 -0
- data/app/concepts/lato_view/input/views/multiple-select.html.erb +12 -0
- data/app/concepts/lato_view/input/views/number.html.erb +5 -0
- data/app/concepts/lato_view/input/views/password.html.erb +8 -0
- data/app/concepts/lato_view/input/views/radio.html.erb +10 -0
- data/app/concepts/lato_view/input/views/select.html.erb +12 -0
- data/app/concepts/lato_view/input/views/text.html.erb +5 -0
- data/app/concepts/lato_view/input/views/textarea.html.erb +5 -0
- data/app/concepts/lato_view/input/views/time.html.erb +5 -0
- data/app/concepts/lato_view/searchbar/cell.rb +63 -0
- data/app/concepts/lato_view/searchbar/views/show.html.erb +6 -0
- data/app/concepts/lato_view/table/cell.rb +88 -0
- data/app/concepts/lato_view/table/views/head.html.erb +9 -0
- data/app/concepts/lato_view/table/views/row.html.erb +7 -0
- data/app/concepts/lato_view/table/views/rows.html.erb +5 -0
- data/app/controllers/lato_view/assets_controller.rb +18 -0
- data/app/controllers/lato_view/develop_controller.rb +18 -0
- data/app/helpers/lato_view/application_helper.rb +22 -0
- data/app/views/lato_view/develop/home.html.erb +281 -0
- data/app/views/lato_view/icons/_arrowdown.svg +1 -0
- data/app/views/lato_view/icons/_arrowleft.svg +1 -0
- data/app/views/lato_view/icons/_arrowright.svg +1 -0
- data/app/views/lato_view/icons/_arrowup.svg +1 -0
- data/app/views/lato_view/icons/_artist.svg +1 -0
- data/app/views/lato_view/icons/_artwork.svg +1 -0
- data/app/views/lato_view/icons/_attachment.svg +1 -0
- data/app/views/lato_view/icons/_calendar.svg +1 -0
- data/app/views/lato_view/icons/_clients.svg +1 -0
- data/app/views/lato_view/icons/_close.svg +1 -0
- data/app/views/lato_view/icons/_download.svg +1 -0
- data/app/views/lato_view/icons/_file.svg +1 -0
- data/app/views/lato_view/icons/_googleplus.svg +1 -0
- data/app/views/lato_view/icons/_home.svg +1 -0
- data/app/views/lato_view/icons/_info.svg +1 -0
- data/app/views/lato_view/icons/_instagram.svg +1 -0
- data/app/views/lato_view/icons/_latologo.svg +1 -0
- data/app/views/lato_view/icons/_linkedin.svg +1 -0
- data/app/views/lato_view/icons/_list.svg +1 -0
- data/app/views/lato_view/icons/_magni-glass.svg +1 -0
- data/app/views/lato_view/icons/_mail.svg +1 -0
- data/app/views/lato_view/icons/_minus.svg +1 -0
- data/app/views/lato_view/icons/_modify.svg +1 -0
- data/app/views/lato_view/icons/_percentage.svg +1 -0
- data/app/views/lato_view/icons/_plus.svg +1 -0
- data/app/views/lato_view/icons/_power.svg +1 -0
- data/app/views/lato_view/icons/_settings.svg +1 -0
- data/app/views/lato_view/icons/_sweet.svg +1 -0
- data/app/views/lato_view/icons/_trash.svg +1 -0
- data/app/views/lato_view/icons/_twitter.svg +1 -0
- data/app/views/lato_view/icons/_upload.svg +1 -0
- data/app/views/lato_view/icons/_user.svg +1 -0
- data/app/views/lato_view/icons/_users.svg +1 -0
- data/app/views/lato_view/icons/_warning.svg +1 -0
- data/app/views/lato_view/icons/_web.svg +1 -0
- data/app/views/lato_view/layout/_flash.html.erb +5 -0
- data/app/views/lato_view/layout/_header.html.erb +31 -0
- data/app/views/lato_view/layout/_sidebar.html.erb +28 -0
- data/app/views/lato_view/layout/_strings.html.erb +8 -0
- data/app/views/layouts/lato_layout.html.erb +81 -0
- data/config/example.yml +19 -0
- data/config/initializers/assets.rb +5 -0
- data/config/initializers/init.rb +5 -0
- data/config/initializers/lists.rb +34 -0
- data/config/initializers/ram.rb +23 -0
- data/config/routes.rb +9 -0
- data/lib/lato_view/concepts.rb +19 -0
- data/lib/lato_view/engine.rb +23 -0
- data/lib/lato_view/interface/assets.rb +90 -0
- data/lib/lato_view/interface/images.rb +69 -0
- data/lib/lato_view/interface/navigation.rb +17 -0
- data/lib/lato_view/interface/themes.rb +37 -0
- data/lib/lato_view/interface.rb +19 -0
- data/lib/lato_view.rb +20 -0
- data/lib/tasks/lato_starter_tasks.rake +11 -0
- data/test/controllers/lato_view/api/v1/api_controller_test.rb +9 -0
- data/test/controllers/lato_view/application_controller_test.rb +9 -0
- data/test/controllers/lato_view/back/back_controller_test.rb +9 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config/application.rb +25 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +3 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/integration/navigation_test.rb +8 -0
- data/test/lato_view_test.rb +7 -0
- data/test/test_helper.rb +21 -0
- metadata +453 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
<div class="form-control <%= @width %>" <%= required_data_input %>>
|
2
|
+
<label class="form-label"><%= @label %></label>
|
3
|
+
<% @options.each_with_index do |option, index| %>
|
4
|
+
<div class="form-block">
|
5
|
+
<input type="radio" class="radio <%= @custom_class %>" <%= disabled_data_input %> name="<%= @name %>" value="<%= option_value(option) %>" id="<%= @name %>-<%= index %>" <%= selected_value(option) %>>
|
6
|
+
<label class="label-control" for="<%= @name %>-<%= index %>"><%= option_name(option) %></label>
|
7
|
+
</div>
|
8
|
+
<% end %>
|
9
|
+
<div class="input-error-message"></div>
|
10
|
+
</div>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<div class="form-control <%= @width %>" <%= required_data_input %>>
|
2
|
+
<label class="form-label"><%= @label %></label>
|
3
|
+
<select class="select <%= @custom_class %>" name="<%= @name %>" placeholder="<%= @placeholder %>">
|
4
|
+
<% if(@option_blank) %>
|
5
|
+
<option></option>
|
6
|
+
<% end %>
|
7
|
+
<% @options.each do |option| %>
|
8
|
+
<option value="<%= option_value(option) %>" <%= selected_value(option) %>><%= option_name(option) %></option>
|
9
|
+
<% end %>
|
10
|
+
</select>
|
11
|
+
<div class="input-error-message"></div>
|
12
|
+
</div>
|
@@ -0,0 +1,5 @@
|
|
1
|
+
<div class="form-control <%= @width %>" <%= required_data_input %>>
|
2
|
+
<label class="form-label"><%= @label %></label>
|
3
|
+
<input type="text" class="input <%= @custom_class %>" name="<%= @name %>" <%= disabled_data_input %> placeholder="<%= @placeholder %>" value="<%=h @value %>">
|
4
|
+
<div class="input-error-message"></div>
|
5
|
+
</div>
|
@@ -0,0 +1,5 @@
|
|
1
|
+
<div class="form-control <%= @width %>" <%= required_data_input %>>
|
2
|
+
<label class="form-label"><%= @label %></label>
|
3
|
+
<textarea class="textarea <%= @custom_class %>" name="<%= @name %>" id="" placeholder="<%= @placeholder %>" <%= disabled_data_input %>><%= @value %></textarea>
|
4
|
+
<div class="input-error-message"></div>
|
5
|
+
</div>
|
@@ -0,0 +1,5 @@
|
|
1
|
+
<div class="form-control <%= @width %>" <%= required_data_input %>>
|
2
|
+
<label class="form-label"><%= @label %></label>
|
3
|
+
<input type="text" class="input time-picker <%= @custom_class %>" name="<%= @name %>" placeholder="<%= @placeholder %>" <%= disabled_data_input %> value="<%= @value %>">
|
4
|
+
<div class="input-error-message"></div>
|
5
|
+
</div>
|
@@ -0,0 +1,63 @@
|
|
1
|
+
module LatoView
|
2
|
+
# Elemento grafico composto da una barra di ricerca utilizzabile insieme
|
3
|
+
# alla gemma 'ransack' per eseguire la ricerca tra le entita' di un modello.
|
4
|
+
module Searchbar
|
5
|
+
# Cella Searchbar
|
6
|
+
class Cell < Cell
|
7
|
+
# includo i formhelper di ransack
|
8
|
+
include Ransack::Helpers::FormHelper
|
9
|
+
|
10
|
+
# Lista stili possibili per la searchbar
|
11
|
+
@@styles = VIEW_CELLSSTYLES
|
12
|
+
|
13
|
+
# Nome dell'istanza del database da utilizzare nella ricerca
|
14
|
+
# * *default*: nil
|
15
|
+
attr_accessor :elements
|
16
|
+
|
17
|
+
# La variabile di filtro ricerca
|
18
|
+
# * *default*: nil
|
19
|
+
attr_accessor :filter
|
20
|
+
|
21
|
+
# Url custom a cui il form deve inviare la ricerca
|
22
|
+
# * *default*: nil
|
23
|
+
attr_accessor :url
|
24
|
+
|
25
|
+
# Metodo con il quale il form deve comunicare con il controller
|
26
|
+
# * *default*: 'get'
|
27
|
+
attr_accessor :method
|
28
|
+
|
29
|
+
# Stile della searchbar
|
30
|
+
# * *default*: nil
|
31
|
+
attr_accessor :style
|
32
|
+
|
33
|
+
# Valore booleano indicante se la serachbar deve utilizzare il
|
34
|
+
# remote true o meno nel form
|
35
|
+
# * *default*: false
|
36
|
+
attr_accessor :remote
|
37
|
+
|
38
|
+
# Stringa contenente classi custom da aggiungere alla searchbar
|
39
|
+
# * *default*: nil
|
40
|
+
attr_accessor :custom_class
|
41
|
+
|
42
|
+
def initialize(elements: nil, filter: nil, url: nil, method: 'get',
|
43
|
+
style: 'normal', remote: false, custom_class: '')
|
44
|
+
# eseguo brevi controlli sull'input
|
45
|
+
raise 'Searchbar Concept: style value in not correct' unless @@styles.include? style.to_s
|
46
|
+
# assegno i valori alle variabili di istanza
|
47
|
+
@elements = elements
|
48
|
+
@filter = filter
|
49
|
+
@url = url
|
50
|
+
@method = method
|
51
|
+
@style = style
|
52
|
+
@remote = remote
|
53
|
+
@custom_class = custom_class
|
54
|
+
end
|
55
|
+
|
56
|
+
def show
|
57
|
+
render 'show.html'
|
58
|
+
end
|
59
|
+
|
60
|
+
end
|
61
|
+
# Fine cella
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<%= search_form_for @elements, method: @method, url: @url, remote: @remote, class: "search-bar #{@style}" do |f| %>
|
2
|
+
<%= f.text_field @filter, class: 'search-field' %>
|
3
|
+
<button type="submit" class="search-button">
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M495 466.2L377.2 348.4c29.2-35.6 46.8-81.2 46.8-130.9C424 103.5 331.5 11 217.5 11 103.4 11 11 103.5 11 217.5S103.4 424 217.5 424c49.7 0 95.2-17.5 130.8-46.7L466.1 495c8 8 20.9 8 28.9 0 8-7.9 8-20.9 0-28.8zm-277.5-83.3C126.2 382.9 52 308.7 52 217.5S126.2 52 217.5 52C308.7 52 383 126.3 383 217.5s-74.3 165.4-165.5 165.4z"/></svg>
|
5
|
+
</button>
|
6
|
+
<% end %>
|
@@ -0,0 +1,88 @@
|
|
1
|
+
module LatoView
|
2
|
+
# Cella usata per la generazione di tabelle.
|
3
|
+
module Table
|
4
|
+
# Cella Table
|
5
|
+
class Cell < Cell
|
6
|
+
# Array contenente l'intestazione della tabella
|
7
|
+
# * *struttura*: ['Voce 1', 'Voce 2', ... ]
|
8
|
+
# * *default*: nil
|
9
|
+
attr_accessor :head
|
10
|
+
|
11
|
+
# Array contenente le righe da stampare della tabella
|
12
|
+
# * *struttura*: [['val 1', 'val 2'], ['val 1', 'val 2']]
|
13
|
+
# * *default*: nil
|
14
|
+
attr_accessor :rows
|
15
|
+
|
16
|
+
def initialize(head: nil, rows: nil)
|
17
|
+
# eseguo brevi controlli sull'input
|
18
|
+
raise 'Table Concept: head must be an array' if head and !head.is_a? Array
|
19
|
+
# assegno i valori alle variabili di istanza
|
20
|
+
@head = head
|
21
|
+
@rows = rows if rows && check_rows(rows)
|
22
|
+
end
|
23
|
+
|
24
|
+
def show
|
25
|
+
open + head + rows + close
|
26
|
+
end
|
27
|
+
|
28
|
+
# Funzione che stampa l'apertura di una tabella
|
29
|
+
def open
|
30
|
+
"<table class='table'>"
|
31
|
+
end
|
32
|
+
|
33
|
+
# Funzione che genera l'intestazione della tabella
|
34
|
+
def head
|
35
|
+
render 'head.html'
|
36
|
+
end
|
37
|
+
|
38
|
+
# Funzione che stampa tutte le righe della tabella
|
39
|
+
def rows
|
40
|
+
render 'rows.html'
|
41
|
+
end
|
42
|
+
|
43
|
+
# Funzione che stampa una riga della tabella
|
44
|
+
# * *Parametri* :
|
45
|
+
# - position: posizione della riga da stampare nell'array di righe
|
46
|
+
# definito durante l'inizializzazione
|
47
|
+
# - row: array che rappresenta la riga da stampare
|
48
|
+
def row(position: 0, row: nil)
|
49
|
+
if position && !@rows.nil? && !@rows[position].nil?
|
50
|
+
@current_row = @rows[position]
|
51
|
+
end
|
52
|
+
@current_row = row if row
|
53
|
+
render 'row.html'
|
54
|
+
end
|
55
|
+
|
56
|
+
# Funzione che stampa la chiusura di una tabella
|
57
|
+
def close
|
58
|
+
'</table>'
|
59
|
+
end
|
60
|
+
|
61
|
+
# Funzione che, se il primo parametro e' il risultato di una query,
|
62
|
+
# lo trasforma in un array di array da usare per inizializzare una tabella
|
63
|
+
def self.generate_rows_from_activerecords(activerecords, attributes)
|
64
|
+
rows = []
|
65
|
+
activerecords.each do |activerecord|
|
66
|
+
row = []
|
67
|
+
attributes.each do |attribute|
|
68
|
+
row.push(activerecord.send(attribute))
|
69
|
+
end
|
70
|
+
rows.push(row)
|
71
|
+
end
|
72
|
+
rows
|
73
|
+
end
|
74
|
+
|
75
|
+
# Funzione che controlla che i widgets passati alla actionbar siano corretti
|
76
|
+
private def check_rows(rows)
|
77
|
+
# evito il controllo se sono in production
|
78
|
+
return true if Rails.env.production?
|
79
|
+
raise 'Table Concept: links must be an array' unless rows.is_a? Array
|
80
|
+
rows.each do |row|
|
81
|
+
raise 'Table Concept: rows content must be an array' unless row.is_a? Array
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
end
|
86
|
+
# Fine cella
|
87
|
+
end
|
88
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module LatoView
|
2
|
+
# Classe usata per ritornare alcuni file assets utili per l'interfaccia di
|
3
|
+
# lato_view.
|
4
|
+
class AssetsController < ActionController::Base
|
5
|
+
|
6
|
+
# Attivo il controllo delle credenziali (evito di mandare gli assets se
|
7
|
+
# non sono necessari fuori dal pannello di amministrazione)
|
8
|
+
before_action :core_controlUser
|
9
|
+
|
10
|
+
# Pagina che ritorna il file svg usato dall'input editor gestito
|
11
|
+
# tramite libreria trumbowyg
|
12
|
+
def trumbowyg_icons
|
13
|
+
send_file "#{LatoView::Engine.root}/app/assets/images/lato_view/vendor/trumbowyg_icons.svg", type: 'image/svg+xml'
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module LatoView
|
2
|
+
# Classe base usata per le view di sviluppo dell'interfaccia
|
3
|
+
class DevelopController < ActionController::Base
|
4
|
+
|
5
|
+
# Imposto layout di base dal lato_view
|
6
|
+
layout "lato_layout"
|
7
|
+
|
8
|
+
# Attivo il controllo delle credenziali
|
9
|
+
before_action :core_controlUser
|
10
|
+
|
11
|
+
# Pagina di visualizzazione degli elementi statici dell'interfaccia
|
12
|
+
def home
|
13
|
+
redirect_to lato_core.root_path if Rails.env.production?
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module LatoView
|
2
|
+
# Insieme di helper principali forniti da lato_view per lo sviluppo
|
3
|
+
# delle interfacce
|
4
|
+
module ApplicationHelper
|
5
|
+
|
6
|
+
# Funzione usata per stampare i vari concepts gestiti e forniti da lato view.
|
7
|
+
# Richiede il nome del concept come parametro
|
8
|
+
def view(name)
|
9
|
+
class_string = "LatoView::#{name.capitalize}::Cell"
|
10
|
+
class_string.constantize
|
11
|
+
end
|
12
|
+
|
13
|
+
# Funzione che stampa una icona svg
|
14
|
+
def put_svg(icon)
|
15
|
+
# gestisco l'errore se il parametro non è corretto
|
16
|
+
raise 'You must send an icon value as parameter' if !icon || icon.nil? || icon.blank?
|
17
|
+
# renderizzo l'icona richiesta
|
18
|
+
render "lato_view/icons/#{icon}.svg"
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,281 @@
|
|
1
|
+
<% block = view(:block).new %>
|
2
|
+
|
3
|
+
<div class="action-bar">
|
4
|
+
<div class="action-group-left">
|
5
|
+
<h1 class="admin-section-title">Action Bar</h1>
|
6
|
+
</div>
|
7
|
+
<div class="action-group-left">
|
8
|
+
<div class="arranger">
|
9
|
+
<div class="arrange-voice">Filter by</div>
|
10
|
+
<div class="dropdown">
|
11
|
+
<div class="active-voice"><span class="voice-text">All</span> <span class="drop-icon"></span></div>
|
12
|
+
<div class="the-drop">
|
13
|
+
<ul>
|
14
|
+
<li><a href="">Link</a></li>
|
15
|
+
<li><a href="">Link</a></li>
|
16
|
+
<li><a href="">Link</a></li>
|
17
|
+
</ul>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
<div class="action-group-right">
|
23
|
+
<form action="" class="search-bar rounded">
|
24
|
+
<input type="text" placeholder="Search..." class="search-field">
|
25
|
+
<button type="submit" class="search-button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M495 466.2L377.2 348.4c29.2-35.6 46.8-81.2 46.8-130.9C424 103.5 331.5 11 217.5 11 103.4 11 11 103.5 11 217.5S103.4 424 217.5 424c49.7 0 95.2-17.5 130.8-46.7L466.1 495c8 8 20.9 8 28.9 0 8-7.9 8-20.9 0-28.8zm-277.5-83.3C126.2 382.9 52 308.7 52 217.5S126.2 52 217.5 52C308.7 52 383 126.3 383 217.5s-74.3 165.4-165.5 165.4z"/></svg></button>
|
26
|
+
</form>
|
27
|
+
</div>
|
28
|
+
<div class="action-group-right">
|
29
|
+
<a href="" class="lato-button action-button action-remove" data-position="1">Action</a>
|
30
|
+
</div>
|
31
|
+
<div class="action-nav-holder">
|
32
|
+
<div class="action-menu-toggle">Menu</div>
|
33
|
+
<div class="action-nav-menu"></div>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<div class="content-row">
|
38
|
+
|
39
|
+
<div class="column small-full medium-half content-block">
|
40
|
+
<h2 class="content-block-title">Typography</h2>
|
41
|
+
<h1>Hello</h1>
|
42
|
+
<h2>Hello</h2>
|
43
|
+
<h3>Hello</h3>
|
44
|
+
<h4>Hello</h4>
|
45
|
+
<h5>Hello</h5>
|
46
|
+
<h6>Hello</h6>
|
47
|
+
<p>Lorem ipsum dolor sit amet, <a href="">consectetur</a> adipisicing elit. Officia necessitatibus cupiditate ut neque itaque ullam reiciendis ipsum qui, fugit, atque molestias. Et <strong>ullam illo consectetur</strong> rem repudiandae necessitatibus minima provident corporis natus nobis, fugit qui eos fuga facilis quia cum autem ex atque assumenda libero sed iste saepe nisi. Fuga, ut fugiat odio itaque odit necessitatibus explicabo rem incidunt hic illum, quaerat, distinctio, ratione dolore.</p>
|
48
|
+
<ul>
|
49
|
+
<li>Unordered List</li>
|
50
|
+
<li>Unordered List</li>
|
51
|
+
<li>Unordered List</li>
|
52
|
+
</ul>
|
53
|
+
<ol>
|
54
|
+
<li>Ordered List</li>
|
55
|
+
<li>Ordered List</li>
|
56
|
+
<li>Ordered List</li>
|
57
|
+
</ol>
|
58
|
+
</div>
|
59
|
+
<!-- <form action="/file-upload" class="dropzone">
|
60
|
+
<div class="fallback">
|
61
|
+
<input name="file" type="file" multiple />
|
62
|
+
</div>
|
63
|
+
</form> -->
|
64
|
+
|
65
|
+
<div class="column small-full medium-half content-block">
|
66
|
+
<h2 class="form-title">Example form</h2>
|
67
|
+
<form action="" class="lato-form">
|
68
|
+
<div class="form-group">
|
69
|
+
<div class="form-control">
|
70
|
+
<label class="form-label">Informazione</label>
|
71
|
+
<input type="text" class="input">
|
72
|
+
</div>
|
73
|
+
</div>
|
74
|
+
<div class="form-group">
|
75
|
+
<div class="form-control half">
|
76
|
+
<label class="form-label">Nome</label>
|
77
|
+
<input type="text" class="input">
|
78
|
+
</div>
|
79
|
+
<div class="form-control half" data-control="email">
|
80
|
+
<label class="form-label">Email</label>
|
81
|
+
<input type="text" class="input input-email email-suggestion">
|
82
|
+
<div class="input-error-message"></div>
|
83
|
+
</div>
|
84
|
+
</div>
|
85
|
+
<div class="form-group">
|
86
|
+
<div class="form-control half" data-input="required">
|
87
|
+
<label class="form-label">Date</label>
|
88
|
+
<input type="text" class="input date-picker">
|
89
|
+
<div class="input-error-message"></div>
|
90
|
+
</div>
|
91
|
+
<div class="form-control half" data-control="number">
|
92
|
+
<label class="form-label">Number</label>
|
93
|
+
<input type="text" class="input input-number">
|
94
|
+
<div class="input-error-message"></div>
|
95
|
+
</div>
|
96
|
+
</div>
|
97
|
+
<div class="form-group">
|
98
|
+
<div class="form-control half">
|
99
|
+
<label class="form-label">Selectize</label>
|
100
|
+
<select class="select" name="" id="">
|
101
|
+
<option value="yes">Voto si</option>
|
102
|
+
<option value="no">Voto no</option>
|
103
|
+
</select>
|
104
|
+
</div>
|
105
|
+
<div class="form-control half">
|
106
|
+
<label class="form-label">Selectize Multiplo</label>
|
107
|
+
<select class="select" multiple name="" id="">
|
108
|
+
<option value="yoppa">Voto yoppa</option>
|
109
|
+
<option value="no">Voto no</option>
|
110
|
+
</select>
|
111
|
+
</div>
|
112
|
+
</div>
|
113
|
+
<div class="form-group">
|
114
|
+
<div class="form-control half" data-input="radio">
|
115
|
+
<label class="form-label">Checkbox e Radio</label>
|
116
|
+
<div class="form-block">
|
117
|
+
<input type="checkbox" class="check" name="cb" id="cb1"><label class="label-control" for="cb1">Check and uncheck this</label>
|
118
|
+
</div>
|
119
|
+
<div class="form-block">
|
120
|
+
<input type="checkbox" class="check" disabled="disabled" name="cb" id="cb2">
|
121
|
+
<label class="label-control" for="cb2">Disabled man</label>
|
122
|
+
</div>
|
123
|
+
<div class="form-block">
|
124
|
+
<input type="radio" class="radio" name="rd" id="rd1">
|
125
|
+
<label class="label-control" for="rd1">Click this</label>
|
126
|
+
</div>
|
127
|
+
<div class="form-block">
|
128
|
+
<input type="radio" class="radio" disabled="disabled" name="rd" id="rd2">
|
129
|
+
<label class="label-control" for="rd2">Disabled man</label>
|
130
|
+
</div>
|
131
|
+
<div class="input-error-message"></div>
|
132
|
+
</div>
|
133
|
+
<div class="form-control half" data-input="required">
|
134
|
+
<label class="form-label">Textarea</label>
|
135
|
+
<textarea class="textarea" name="" id=""></textarea>
|
136
|
+
<div class="input-error-message"></div>
|
137
|
+
</div>
|
138
|
+
</div>
|
139
|
+
<div class="form-group">
|
140
|
+
<div class="form-control half">
|
141
|
+
<label class="form-label">Password</label>
|
142
|
+
<input type="password" class="input input-password">
|
143
|
+
<div class="password-reveal"></div>
|
144
|
+
</div>
|
145
|
+
<div class="form-control half">
|
146
|
+
<label class="form-label">Input <span class="form-advise">(max 5 caratteri)</span></label>
|
147
|
+
<input type="password" class="input input-length">
|
148
|
+
<div class="input-error-message"></div>
|
149
|
+
</div>
|
150
|
+
</div>
|
151
|
+
<div class="form-group">
|
152
|
+
<div class="form-control half">
|
153
|
+
<label class="form-label">Upload File</label>
|
154
|
+
<input type="file" name="file" id="file" class="input-file" data-multiple-caption="{count} files selected" multiple />
|
155
|
+
<label for="file">
|
156
|
+
<div class="upload-icon"><%= put_svg('upload') %></div>
|
157
|
+
<span>Choose a file</span>
|
158
|
+
</label>
|
159
|
+
</div>
|
160
|
+
<div class="form-control half" data-input="required">
|
161
|
+
<label class="form-label">Time</label>
|
162
|
+
<input type="text" class="input time-picker">
|
163
|
+
<div class="input-error-message"></div>
|
164
|
+
</div>
|
165
|
+
</div>
|
166
|
+
<div class="form-group text-right">
|
167
|
+
<div class="form-control">
|
168
|
+
<input type="submit" class="lato-button">
|
169
|
+
</div>
|
170
|
+
</div>
|
171
|
+
</form>
|
172
|
+
</div>
|
173
|
+
</div>
|
174
|
+
|
175
|
+
<div class="action-bar">
|
176
|
+
<div class="action-group-left">
|
177
|
+
<h2 class="admin-section-title">Action Bar</h2>
|
178
|
+
</div>
|
179
|
+
<div class="action-group-right">
|
180
|
+
<div class="button-group group-medium">
|
181
|
+
<a href="" class="group-button">Group</a>
|
182
|
+
<a href="" class="group-button">Group</a>
|
183
|
+
<a href="" class="group-button">Group</a>
|
184
|
+
<a href="" class="group-button">Group</a>
|
185
|
+
</div>
|
186
|
+
</div>
|
187
|
+
</div>
|
188
|
+
|
189
|
+
<div class="content-row">
|
190
|
+
<div class="column content-block">
|
191
|
+
<h2 class="content-block-title">Button</h2>
|
192
|
+
<a href="" class="lato-button">
|
193
|
+
<div class="button-icon"><%= put_svg('upload') %></div>
|
194
|
+
<span>Icona</span>
|
195
|
+
</a>
|
196
|
+
<a href="" class="lato-button button-small button-yellow">
|
197
|
+
<div class="button-icon"><%= put_svg('upload') %></div>
|
198
|
+
<span>Icona</span>
|
199
|
+
</a>
|
200
|
+
<a href="" class="lato-button button-green">Green</a>
|
201
|
+
<a href="" class="lato-button button-medium button-red">Red</a>
|
202
|
+
<button class="lato-button" disabled>Disabled</button>
|
203
|
+
<a href="" class="lato-button button-line">Line</a>
|
204
|
+
<h2 class="content-block-title">Button Group</h2>
|
205
|
+
<div class="button-group">
|
206
|
+
<a href="" class="group-button">Group</a>
|
207
|
+
<a href="" class="group-button">Group</a>
|
208
|
+
<a href="" class="group-button">Group</a>
|
209
|
+
<a href="" class="group-button">Group</a>
|
210
|
+
</div>
|
211
|
+
</div>
|
212
|
+
</div>
|
213
|
+
|
214
|
+
<div class="action-bar">
|
215
|
+
<div class="action-group-left">
|
216
|
+
<h2 class="admin-section-title">Grid System</h2>
|
217
|
+
</div>
|
218
|
+
</div>
|
219
|
+
|
220
|
+
<div class="content-row">
|
221
|
+
<div class="column small-full medium-half content-block">
|
222
|
+
<h5>Good Equal Height Shit Man</h5>
|
223
|
+
<div>Lorem ipsum dolor sit amet, consectetur.</div>
|
224
|
+
</div>
|
225
|
+
<div class="column small-full medium-half content-block">
|
226
|
+
<div>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ullam, laudantium. Natus provident sit, aliquam, cumque ducimus animi voluptatum est veritatis nisi minima dolorum error at sapiente inventore laboriosam maiores quam quis cum numquam similique nostrum repudiandae. Cupiditate doloribus distinctio amet! Impedit magni voluptatem repellendus, tempora animi error ratione sint sed cumque distinctio. Deserunt excepturi, maiores inventore, ab vitae neque maxime! Eos, natus, ullam. Sint, nam?</div>
|
227
|
+
</div>
|
228
|
+
</div>
|
229
|
+
|
230
|
+
<div class="action-bar">
|
231
|
+
<div class="action-group-left">
|
232
|
+
<h2 class="admin-section-title">Table</h2>
|
233
|
+
</div>
|
234
|
+
<div class="action-group-right">
|
235
|
+
<a href="" class="lato-button">Action</a>
|
236
|
+
</div>
|
237
|
+
</div>
|
238
|
+
|
239
|
+
<div class="content-row">
|
240
|
+
<div class="content-block column">
|
241
|
+
<table class="table down-before">
|
242
|
+
<thead>
|
243
|
+
<tr>
|
244
|
+
<th>0</th>
|
245
|
+
<th>1</th>
|
246
|
+
<th>2</th>
|
247
|
+
<th>3</th>
|
248
|
+
</tr>
|
249
|
+
</thead>
|
250
|
+
<tbody>
|
251
|
+
<tr>
|
252
|
+
<td data-label="0">Attributo 0</td>
|
253
|
+
<td data-label="1">Attributo 1</td>
|
254
|
+
<td data-label="2">Attributo 2</td>
|
255
|
+
<td data-label="3">Attributo 3</td>
|
256
|
+
</tr>
|
257
|
+
<tr>
|
258
|
+
<td data-label="0">Attributo 0</td>
|
259
|
+
<td data-label="1">Attributo 1</td>
|
260
|
+
<td data-label="2">Attributo 2</td>
|
261
|
+
<td data-label="3">Attributo 3</td>
|
262
|
+
</tr>
|
263
|
+
<tr>
|
264
|
+
<td data-label="0">Attributo 0</td>
|
265
|
+
<td data-label="1">Attributo 1</td>
|
266
|
+
<td data-label="2">Attributo 2</td>
|
267
|
+
<td data-label="3">Attributo 3</td>
|
268
|
+
</tr>
|
269
|
+
<tr>
|
270
|
+
<td data-label="0">Attributo 0</td>
|
271
|
+
<td data-label="1">Attributo 1</td>
|
272
|
+
<td data-label="2">Attributo 2</td>
|
273
|
+
<td data-label="3">Attributo 3</td>
|
274
|
+
</tr>
|
275
|
+
</tbody>
|
276
|
+
</table>
|
277
|
+
</div>
|
278
|
+
</div>
|
279
|
+
|
280
|
+
|
281
|
+
<%= raw block.close %>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="150" height="200" viewBox="0 0 150 200"><path d="M143.3 130.5l-60.8 60.8c-1.8 1.8-4.3 3.1-6.8 3.1s-4.9-1.2-6.8-3.1L8.3 130.5c-3.7-3.7-3.7-9.8 0-14.1s9.8-3.7 14.1 0l44.2 44.2V18.1c0-5.5 4.3-9.8 9.8-9.8s9.8 4.3 9.8 9.8v142.4l44.2-44.2c3.7-3.7 9.8-3.7 14.1 0 3.1 3.7 3.1 9.9-1.2 14.2z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="150" viewBox="0 0 200 150"><path d="M194.7 74.2c0 5.8-4.6 9.8-9.8 9.8H39l45 45.6c4 4 4 10.4 0 14.4-1.7 1.7-4 2.9-6.9 2.9-2.3 0-5.2-1.2-6.9-2.9L7.9 81.7c-4-4-4-10.4 0-13.8L70.1 5.6c4-4 10.4-4 14.4 0s4 10.4 0 14.4L39 65h145.3c5.8-.6 10.4 4 10.4 9.2z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="150" viewBox="0 0 200 150"><path d="M192.5 82.9l-62.3 62.3c-2.2 2.2-4.4 2.8-7.2 2.8s-5-1.1-7.2-2.8c-3.9-3.9-3.9-10.5 0-14.3L161 85.7H15.5c-5.5 0-9.9-4.4-9.9-9.9s4.4-9.9 9.9-9.9H161l-45.2-45.2c-3.9-3.9-3.9-10.5 0-14.3s10.5-3.9 14.3 0l62.3 62.3c3.9 3.7 3.9 10.3.1 14.2z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="150" height="200" viewBox="0 0 150 200"><path d="M143.1 83.7c-1.8 1.8-4.1 3-7.1 3-2.4 0-4.7-1.2-7.1-3L84.6 39.3v143.1c0 5.3-4.1 10.1-10.1 10.1-5.9 0-10.1-4.1-10.1-10.1V39.3L20.2 83.7c-4.1 4.1-10.1 4.1-14.2 0S1.9 73.6 6 69.5L67.5 8.6c4.1-4.1 10.1-4.1 13.6 0l61.5 60.9c4.1 4.1 4.1 10.6.5 14.2z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="129" height="129" viewBox="-35 36 129 129"><path d="M19.6 103c15 0 27.1-12.1 27.1-27.1s-12.1-27-27.1-27S-7.6 61-7.6 75.9 4.6 103 19.6 103zm0-47.1c11 0 20 9 20 20s-9 20-20 20-20-9-20-20 9-20 20-20zm-47 89.5h94.2c2 0 3.6-1.6 3.6-3.6 0-18.7-15.2-34-34-34H3.1c-18.7 0-34 15.2-34 34 0 2 1.5 3.6 3.5 3.6zm30.5-30.5h33.3c13.6 0 24.9 10.2 26.6 23.3h-86.5c1.7-13 12.9-23.3 26.6-23.3z"/><path d="M74.9 112.3c-1.3-.5-2.5-1.4-3.4-2.5-.7-.8-1.2-1.8-1.6-2.7-1.1.2-2.7 1.1-5.1 3.3l6.9 6.9c2-2.4 2.9-3.9 3.2-5zm-41.4 36.2c2 2 23.6-16.4 34.5-27.4l1.7-1.7-7.1-7.1-1.7 1.7c-11 11-29.4 32.6-27.4 34.5zm44.8-37.4c1.5 0 3.1-.5 4.4-1.6 7.1-5.8.9-13.4 10-17.2-1.3-.9-2.9-1.3-4.5-1.3-5.5 0-12 4.1-14.6 7.3-2.8 3-3 7.3-.5 10.2 1.2 1.7 3.2 2.6 5.2 2.6z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M329.54 409.6h20.326c4.72 0 8.533-3.823 8.533-8.533s-3.815-8.533-8.534-8.533H162.133c-4.72 0-8.533 3.823-8.533 8.533s3.814 8.533 8.533 8.533h20.326l-45.03 90.052c-2.11 4.215-.394 9.335 3.822 11.452 1.22.606 2.526.896 3.806.896 3.132 0 6.144-1.724 7.637-4.72l48.845-97.68h45.926v93.867c0 4.71 3.814 8.533 8.533 8.533 4.718 0 8.532-3.823 8.532-8.533V409.6h45.926l48.845 97.68c1.493 2.996 4.506 4.72 7.637 4.72 1.28 0 2.586-.29 3.806-.896 4.215-2.116 5.93-7.236 3.814-11.452L329.54 409.6zM196.267 51.2h119.467c4.72 0 8.533-3.823 8.533-8.533 0-4.71-3.814-8.533-8.533-8.533h-51.2v-25.6C264.534 3.824 260.72 0 256 0c-4.72 0-8.533 3.823-8.533 8.533v25.6h-51.2c-4.72 0-8.533 3.823-8.533 8.533 0 4.71 3.814 8.534 8.533 8.534zM418.133 68.267H93.867c-23.526 0-42.667 19.14-42.667 42.667v179.2c0 4.71 3.814 8.533 8.533 8.533s8.533-3.823 8.533-8.533v-179.2c0-14.114 11.486-25.6 25.6-25.6h324.267c14.114 0 25.6 11.486 25.6 25.6V332.8c0 14.114-11.486 25.6-25.6 25.6H93.867c-12.962 0-23.69-9.677-25.378-22.178 55.747-51.157 157.806-12.928 158.856-12.518 3.584 1.382 7.603.196 9.882-2.85.23-.307 23.672-30.72 78.507-30.72 55.834 0 96.674 31.95 97.084 32.273 3.677 2.935 9.044 2.338 11.98-1.357 2.935-3.678 2.347-9.037-1.33-11.98-1.76-1.4-41.755-32.778-99.2-35.713v-18.415c15.205-3.516 25.6-16.3 25.6-33.075 0-20.02-2.46-85.333-34.134-85.333-32.495 0-34.133 71.083-34.133 85.333 0 16.776 10.394 29.56 25.6 33.075v18.364c-44.69 2.372-69.914 22.895-79.343 32.478-24.124-8.107-118.426-34.765-174.157 20.983-1.604 1.604-2.5 3.772-2.5 6.033 0 23.526 19.14 42.667 42.667 42.667h324.267c23.526 0 42.667-19.14 42.667-42.667V110.933c-.004-23.526-19.144-42.666-42.67-42.666zm-119.466 153.6c0-42.29 9.94-68.267 17.067-68.267 6.972 0 17.067 24.31 17.067 68.267 0 10.522-6.544 17.067-17.066 17.067-10.37 0-17.067-6.7-17.067-17.067z"/><path d="M128 153.6c-4.72 0-8.533 3.823-8.533 8.533 0 4.71 3.814 8.533 8.533 8.533h10.112c.29.836.614 1.647.99 2.44l-7.134 7.134c-3.337 3.337-3.337 8.738 0 12.066 1.664 1.664 3.85 2.5 6.033 2.5 2.186 0 4.37-.836 6.034-2.5l7.134-7.134c.802.375 1.604.69 2.45.99l-.01 10.112c0 4.71 3.814 8.525 8.533 8.533 4.71 0 8.534-3.814 8.534-8.525l.01-10.13c.827-.298 1.637-.613 2.422-.99l7.134 7.143c1.664 1.664 3.857 2.5 6.042 2.5s4.37-.836 6.025-2.492c3.345-3.328 3.345-8.73.017-12.066l-7.15-7.168c.374-.786.69-1.597.99-2.424l10.11.01h.01c4.71 0 8.533-3.815 8.533-8.526 0-4.72-3.814-8.542-8.525-8.542l-10.138-.01c-.3-.835-.614-1.637-.99-2.43l7.142-7.135c3.345-3.328 3.345-8.72.017-12.066-3.337-3.337-8.747-3.328-12.066-.01l-7.16 7.152c-.793-.385-1.595-.7-2.43-.99l.008-10.11c0-4.72-3.814-8.533-8.525-8.542h-.01c-4.71 0-8.532 3.814-8.532 8.533l-.01 10.113c-.835.3-1.637.614-2.43.998l-7.135-7.14c-3.337-3.338-8.738-3.33-12.066-.01-3.337 3.337-3.337 8.738 0 12.066l7.134 7.142c-.374.794-.7 1.604-.99 2.44H128zm34.133 0c4.71 0 8.533 3.83 8.533 8.533 0 4.702-3.823 8.533-8.533 8.533-4.71 0-8.533-3.83-8.533-8.533 0-4.702 3.823-8.533 8.533-8.533z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><path d="M184.6 79.4c2.9 2.9 2.9 7.5 0 10.4l-83.4 83.4c-13.9 13.9-29.5 21.4-44.6 21.4-4.1 0-7.5-.6-11.6-1.7-14.5-4.1-26.1-15.1-30.1-30.7-5.2-19.1 1.7-39.4 18.5-56.8l93.2-93.2c15.1-15.1 35.9-10.4 48.1 1.7 16.8 16.8 12.2 35.9.6 47.5l-93.8 93.8c-12.2 12.2-26.6 11.6-33.6 4.1-6.9-7.5-8.1-20.8 4.6-33.6l63.1-63.1c2.9-2.9 7.5-2.9 10.4 0 2.9 2.9 2.9 7.5 0 10.4l-63.7 63.1c-5.2 5.2-6.4 10.4-4.6 12.7 2.3 2.3 7.5 1.2 12.7-4.1l93.8-93.8c9.3-9.3 5.2-20.3-.6-26.6-6.9-6.9-18.5-10.4-27.2-1.7l-92.7 93.2c-13.3 13.3-18.5 28.4-15.1 42.3 2.9 9.8 9.8 17.4 19.7 20.3 12.7 3.5 27.8-2.3 41.7-16.2l83.4-83.4c3.7-2.3 8.3-2.3 11.2.6z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><g fill="#010002"><path d="M175.3 30.2h-24.8V19.4c0-3-2.6-5.4-5.7-5.4-3.2 0-5.7 2.4-5.7 5.4v10.7h-34.4V19.4c0-3-2.6-5.4-5.7-5.4-3.2 0-5.7 2.4-5.7 5.4v10.7H58.8V19.4c0-3-2.6-5.4-5.7-5.4s-5.7 2.4-5.7 5.4v10.7H22.5c-8.4 0-15.3 6.4-15.3 14.3v127.1c0 7.9 6.8 14.3 15.3 14.3h152.8c8.4 0 15.3-6.4 15.3-14.3v-127c0-7.9-6.8-14.3-15.3-14.3zm3.8 141.4c0 2-1.7 3.6-3.8 3.6H22.5c-2.1 0-3.8-1.6-3.8-3.6V44.5c0-2 1.7-3.6 3.8-3.6h24.8v10.7c0 3 2.6 5.4 5.7 5.4s5.7-2.4 5.7-5.4V40.9h34.4v10.7c0 3 2.6 5.4 5.7 5.4 3.2 0 5.7-2.4 5.7-5.4V40.9H139v10.7c0 3 2.6 5.4 5.7 5.4 3.2 0 5.7-2.4 5.7-5.4V40.9h24.8c2.1 0 3.8 1.6 3.8 3.6v127.1z"/><path d="M47.3 78.5h22.9v16.1H47.3zM47.3 105.4h22.9v16.1H47.3zM47.3 132.2h22.9v16.1H47.3zM87.4 132.2h22.9v16.1H87.4zM87.4 105.4h22.9v16.1H87.4zM87.4 78.5h22.9v16.1H87.4zM127.6 132.2h22.9v16.1h-22.9zM127.6 105.4h22.9v16.1h-22.9zM127.6 78.5h22.9v16.1h-22.9z"/></g></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><path d="M37.8 141.2V27.1h101.6v34.4c2-.4 4-.6 6-.6 1.1 0 2.1.2 3.1.3V17.7H28.6v132.8H104v-9.4c-27.4.1-61.3.1-66.2.1z"/><path d="M50.7 89h61.9c.6-3.5 1.8-6.8 3.4-9.8H50.7V89zM50.7 48.5h75.6v9.8H50.7zM50.7 119.7h64.2c1.7-1.1 3.5-1.9 5.5-2.5-1.9-2.2-3.4-4.7-4.7-7.3h-65v9.8zM145.4 120.7c13.8 0 24.9-11.4 24.9-25.6 0-14.1-11.1-25.6-24.9-25.6-13.7 0-24.8 11.4-24.8 25.6-.1 14.1 11 25.6 24.8 25.6zM165.3 124.8h-39.9c-7.1 0-13 6.7-13 15V181c0 .5.2.9.2 1.3H178c0-.5.2-.9.2-1.3v-41.1c.1-8.3-5.8-15.1-12.9-15.1z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg id="Livello_1" xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><style>.st0{fill:none;stroke:#000;stroke-width:4;stroke-miterlimit:10}</style><g id="XMLID_16_"><path id="XMLID_18_" class="st0" d="M7.4 192.8L192.7 7.5"/><path id="XMLID_17_" class="st0" d="M192.7 192.8L7.4 7.5"/></g></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><path d="M186.3 124.7v56.1c0 5.6-4.6 10.1-10.1 10.1H19.4c-5.6 0-10.1-4.6-10.1-10.1v-56.1c0-5.6 4.6-10.1 10.1-10.1s10.1 4.6 10.1 10.1v46h136.1v-46c0-5.6 4.6-10.1 10.1-10.1s10.6 4.5 10.6 10.1zm-96.1 13.1c2 2 4.6 3 7.6 3s5.6-1 7.6-3l41-42c4-4 4-10.6 0-14.7-4-4-10.6-4-14.7 0l-23.3 24.3V15.9c0-5.6-4.6-10.1-10.1-10.1s-10.1 4.6-10.1 10.1v89.5L64.9 81.7c-4-4-10.6-4-14.7 0-4 4-4 10.6 0 14.7l40 41.4z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="150" height="200" viewBox="0 0 150 200"><path d="M141.8 54.7L95.5 8c-1.8-1.8-3.7-2.3-6-2.3H10.4c-4.6 0-8.2 3.7-8.2 8.2V181c0 4.6 3.7 8.2 8.2 8.2h125.4c4.6 0 8.2-3.7 8.2-8.2V60.6c0-2.2-.4-4.5-2.2-5.9zm-14.2 9.6H85.9V22.7h.5l41.2 41.6zm-109 108.5V22.2H69v49.9c0 4.6 3.7 8.7 8.2 8.7h50.3v92H18.6z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg id="Livello_1" xmlns="http://www.w3.org/2000/svg" width="124.2" height="78.7" viewBox="0 0 124.2 78.7"><style>.st0{fill:#f24033}</style><g id="Google_x2B__1_"><path id="XMLID_2_" class="st0" d="M41.6 30.9v14.8h20.1c-3.2 9.6-8.1 14.8-20.1 14.8-12.2 0-21.8-9.9-21.8-22.1s9.6-22.1 21.8-22.1c6.4 0 10.8 2.3 14.5 5.5 3.2-3.2 2.9-3.5 10.5-10.8-6.7-6.1-15.4-9.6-25-9.6-20.7.1-37.2 16.7-37.2 37.3 0 20.6 16.6 37.2 37.2 37.2 30.8 0 38.4-26.7 35.8-44.8l-35.8-.2z"/><path id="XMLID_1_" class="st0" d="M108.7 31.8V18.7h-9v13.1H86.3v9h13.4v13.3h9V40.8h13.1v-9z"/></g></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="79.536" height="79.537" viewBox="0 0 79.536 79.537"><path fill="#010002" d="M9.942 74.565h24.853V54.68h9.944v19.885h24.855V44.74h9.94L39.77 4.97 0 44.74h9.942"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="50" height="130" viewBox="0 0 50 130"><path d="M15.9 125.7c-1.8 0-3.6-.7-4.7-1.8-2.2-1.8-3.2-4.7-2.5-7.5l10.8-54.6-5.8 3.2c-3.6 1.8-8.3.7-10.4-2.9-1.8-3.6-.7-8.3 2.9-10.4l20.5-11.5c2.5-1.4 5.7-1.4 8.3.4 2.5 1.8 3.6 4.7 3.2 7.5L27 104.8l9.3-4c4-1.8 8.3 0 10.1 4 1.8 4 0 8.3-4 10.1l-22.6 9.7c-1.8.7-2.8 1.1-3.9 1.1zM37.4 21.1c1.8-1.8 3.2-4.7 3.2-7.5 0-2.9-1.1-5.7-3.2-7.5-1.8-1.8-4.7-3.2-7.5-3.2s-5.7 1-7.5 3.1c-1.8 1.8-3.2 4.7-3.2 7.5 0 2.9 1.1 5.7 3.2 7.5 1.8 1.8 4.7 3.2 7.5 3.2 2.9.2 5.7-.9 7.5-3.1z"/></svg>
|