glib-web 0.4.69 → 0.4.70
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21a31310ee9b0f143ab08cef06bfde8f49915864bae1585585477180c9de97c9
|
4
|
+
data.tar.gz: dc0b4e1737ec4e90f3d13f7345f05315f6885731843dd514b41a2b0b7531432c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '071090af5a108ce8129d207e1c8dd280b1a676102f0842df9152e1bf387c0ead4884b914fb1c92a8fd95a63c96fe10be0ccd2e17497800608b58a82a56c3b13e'
|
7
|
+
data.tar.gz: 826145993c7b9e492328ed4b8f751654b52874d7bdedbd9d56c6541e2df509c699ba802c5374998d640a2ecf7706902b07ce7171aa7e74b8b9a292202b7a1171
|
@@ -5,8 +5,17 @@ json_ui_page json do |page|
|
|
5
5
|
|
6
6
|
page.form url: json_ui_garage_url(path: 'forms/basic_post'), method: 'post', padding: glib_json_padding_body, childViews: ->(form) do
|
7
7
|
form.fields_text name: 'user[name]', width: 'matchParent', label: 'Search', styleClasses: ['outlined', 'rounded']
|
8
|
+
|
9
|
+
form.spacer height: 14
|
8
10
|
form.fields_password name: 'user[password]', width: 'matchParent', label: 'Password', placeholder: 'Type your password', styleClass: 'outlined'
|
9
11
|
|
12
|
+
form.spacer height: 14
|
13
|
+
form.fields_stripeToken name: 'user[stripe_token_outlined]', width: 'matchParent', publicKey: 'pk_test_TYooMQauvdEDq54NiTphI7jx', styleClass: 'outlined'
|
14
|
+
|
15
|
+
form.spacer height: 14
|
16
|
+
form.fields_stripeToken name: 'user[stripe_token_individual]', width: 'matchParent', publicKey: 'pk_test_TYooMQauvdEDq54NiTphI7jx', styleClass: 'individual'
|
17
|
+
|
18
|
+
form.spacer height: 14
|
10
19
|
form.panels_split width: 'matchParent', content: ->(split) do
|
11
20
|
# split.left childViews: ->(left) do
|
12
21
|
# if params[:mode] == 'dialog'
|
@@ -4,7 +4,7 @@ page = json_ui_page json
|
|
4
4
|
render "#{@path_prefix}/nav_menu", json: json, page: page
|
5
5
|
|
6
6
|
page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
|
7
|
-
scroll.panels_form url: json_ui_garage_url(path: 'forms/submission_indicator_post'), method: 'post', childViews: ->(form) do
|
7
|
+
scroll.panels_form width: 'matchParent', styleClasses: ['card', 'outlined'], padding: glib_json_padding_body, url: json_ui_garage_url(path: 'forms/submission_indicator_post'), method: 'post', childViews: ->(form) do
|
8
8
|
form.label text: 'These buttons get disabled on submit'
|
9
9
|
form.spacer height: 14
|
10
10
|
form.button text: 'Normal Button', onClick: ->(action) { action.forms_submit }
|
@@ -16,25 +16,25 @@ page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
|
|
16
16
|
|
17
17
|
scroll.spacer height: 14
|
18
18
|
|
19
|
-
scroll.panels_form url: json_ui_garage_url(path: 'forms/submission_indicator_post', mode: 'slow_open'), method: 'post', childViews: ->(form) do
|
19
|
+
scroll.panels_form width: 'matchParent', styleClasses: ['card', 'outlined'], padding: glib_json_padding_body, url: json_ui_garage_url(path: 'forms/submission_indicator_post', mode: 'slow_open'), method: 'post', childViews: ->(form) do
|
20
20
|
form.fields_submit text: 'Submit button with slow window/open'
|
21
21
|
end
|
22
22
|
|
23
23
|
scroll.spacer height: 14
|
24
24
|
|
25
|
-
scroll.panels_form url: json_ui_garage_url(path: 'forms/submission_indicator_post', mode: 'slow_openWeb'), method: 'post', childViews: ->(form) do
|
25
|
+
scroll.panels_form width: 'matchParent', styleClasses: ['card', 'outlined'], padding: glib_json_padding_body, url: json_ui_garage_url(path: 'forms/submission_indicator_post', mode: 'slow_openWeb'), method: 'post', childViews: ->(form) do
|
26
26
|
form.fields_submit text: 'Submit button with slow window/openWeb'
|
27
27
|
end
|
28
28
|
|
29
29
|
scroll.spacer height: 14
|
30
30
|
|
31
|
-
scroll.panels_form url: json_ui_garage_url(path: 'forms/submission_indicator_post', mode: 'timeout_once'), method: 'post', childViews: ->(form) do
|
31
|
+
scroll.panels_form width: 'matchParent', styleClasses: ['card', 'outlined'], padding: glib_json_padding_body, url: json_ui_garage_url(path: 'forms/submission_indicator_post', mode: 'timeout_once'), method: 'post', childViews: ->(form) do
|
32
32
|
form.fields_submit text: 'Submit Button with timeouts/set once'
|
33
33
|
end
|
34
34
|
|
35
35
|
scroll.spacer height: 14
|
36
36
|
|
37
|
-
scroll.panels_form url: json_ui_garage_url(path: 'forms/submission_indicator_post', mode: 'timeout_chain', count: 0), method: 'post', childViews: ->(form) do
|
37
|
+
scroll.panels_form width: 'matchParent', styleClasses: ['card', 'outlined'], padding: glib_json_padding_body, url: json_ui_garage_url(path: 'forms/submission_indicator_post', mode: 'timeout_chain', count: 0), method: 'post', childViews: ->(form) do
|
38
38
|
form.fields_submit text: 'Submit Button with timeouts/set chain'
|
39
39
|
end
|
40
40
|
|
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.4.
|
4
|
+
version: 0.4.70
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
@@ -230,8 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
230
230
|
- !ruby/object:Gem::Version
|
231
231
|
version: '0'
|
232
232
|
requirements: []
|
233
|
-
|
234
|
-
rubygems_version: 2.7.6
|
233
|
+
rubygems_version: 3.1.2
|
235
234
|
signing_key:
|
236
235
|
specification_version: 4
|
237
236
|
summary: ''
|