glib-web 0.5.60 → 0.5.66

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,11 +28,8 @@ json_ui_page json do |page|
28
28
  template.thumbnail title: 'Misc', onClick: ->(action) do
29
29
  action.windows_open url: json_ui_garage_url(path: 'views/misc')
30
30
  end
31
-
32
- if !Rails.env.test? # Avoid slowing down tests
33
- template.thumbnail title: 'Icons', onClick: ->(action) do
34
- action.windows_open url: json_ui_garage_url(path: 'views/icons')
35
- end
31
+ template.thumbnail title: 'Icons', onClick: ->(action) do
32
+ action.windows_open url: json_ui_garage_url(path: 'views/icons')
36
33
  end
37
34
  end
38
35
  end,
@@ -49,6 +46,19 @@ json_ui_page json do |page|
49
46
  action.windows_open url: json_ui_garage_url(path: 'views/links')
50
47
  end
51
48
  end
49
+ end,
50
+ ->(section) do
51
+ section.header padding: glib_json_padding_list, childViews: ->(header) do
52
+ header.h2 text: 'Reference'
53
+ end
54
+
55
+ section.rows builder: ->(template) do
56
+ if !Rails.env.test? # Avoid slowing down tests
57
+ template.thumbnail title: 'Icon Names', onClick: ->(action) do
58
+ action.windows_open url: json_ui_garage_url(path: 'views/icon_names')
59
+ end
60
+ end
61
+ end
52
62
  end
53
63
  ]
54
64
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glib-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.60
4
+ version: 0.5.66
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
@@ -73,6 +73,7 @@ extensions: []
73
73
  extra_rdoc_files: []
74
74
  files:
75
75
  - app/channels/glib/channel/is_typing_channel.rb
76
+ - app/channels/glib/channel/online_channel.rb
76
77
  - app/controllers/concerns/glib/analytics/funnel.rb
77
78
  - app/controllers/concerns/glib/auth/policy.rb
78
79
  - app/controllers/concerns/glib/json/dynamic_text.rb
@@ -145,8 +146,10 @@ files:
145
146
  - app/views/json_ui/garage/forms/generic_post.json.jbuilder
146
147
  - app/views/json_ui/garage/forms/get_request.json.jbuilder
147
148
  - app/views/json_ui/garage/forms/index.json.jbuilder
149
+ - app/views/json_ui/garage/forms/misc.json.jbuilder
148
150
  - app/views/json_ui/garage/forms/new_rich_text.json.jbuilder
149
151
  - app/views/json_ui/garage/forms/pickers.json.jbuilder
152
+ - app/views/json_ui/garage/forms/ratings.json.jbuilder
150
153
  - app/views/json_ui/garage/forms/rich_text.json.jbuilder
151
154
  - app/views/json_ui/garage/forms/selects.json.jbuilder
152
155
  - app/views/json_ui/garage/forms/show_hide.json.jbuilder
@@ -207,6 +210,7 @@ files:
207
210
  - app/views/json_ui/garage/views/banners.json.jbuilder
208
211
  - app/views/json_ui/garage/views/calendar_data.json.jbuilder
209
212
  - app/views/json_ui/garage/views/charts.json.jbuilder
213
+ - app/views/json_ui/garage/views/icon_names.json.jbuilder
210
214
  - app/views/json_ui/garage/views/icons.json.jbuilder
211
215
  - app/views/json_ui/garage/views/images.json.jbuilder
212
216
  - app/views/json_ui/garage/views/index.json.jbuilder