glib-web 0.14.4 → 0.14.5
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: 8a62b186979dd157da8572e5b70ff225c19ea7c17e1e8bc5e09f2112f2badc11
|
4
|
+
data.tar.gz: ebbc9e67417afb0a0543f018cef6f57b2010ee500c751ff7119a14fc1a73939b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fb285f688abaf2ce2836665a5705d30d35f5b1be67c477bf5b7f6e15aac58b059f44d2723a710512385d95eae0d51c8c95add3bd320aef542fb6e90f25557e0
|
7
|
+
data.tar.gz: 2c835ce86a20ffe1b571953cc7950f9e2c3abb8ebb328f3467803e4a2d9e739da203c47e7e4fd67013741ce81df73a3e6ae0b1feadaccb0f1a7ac876a3825d46
|
@@ -26,6 +26,8 @@ class Glib::JsonUi::ActionBuilder
|
|
26
26
|
class Show < Action
|
27
27
|
panels_builder :content, :body
|
28
28
|
bool :showClose
|
29
|
+
string :fullscreen # mobile, always
|
30
|
+
length :width
|
29
31
|
|
30
32
|
# Future plan
|
31
33
|
# panels_builder :content, :body, :footer
|
@@ -34,12 +36,16 @@ class Glib::JsonUi::ActionBuilder
|
|
34
36
|
class Open < Action
|
35
37
|
string :url, cache: true
|
36
38
|
bool :showClose
|
39
|
+
string :fullscreen
|
40
|
+
length :width
|
37
41
|
end
|
38
42
|
|
39
43
|
class Reload < Action
|
40
44
|
panels_builder :content, :body
|
41
45
|
string :url, cache: true
|
42
46
|
bool :showClose
|
47
|
+
string :fullscreen # mobile, always
|
48
|
+
length :width
|
43
49
|
end
|
44
50
|
|
45
51
|
class Close < Action
|
@@ -59,7 +59,11 @@ section.rows builder: ->(template) do
|
|
59
59
|
end
|
60
60
|
|
61
61
|
template.thumbnail title: 'dialogs/open', onClick: ->(action) do
|
62
|
-
action.dialogs_open url: json_ui_garage_url(path: 'forms/basic', mode: 'dialog')
|
62
|
+
action.dialogs_open width: 950, url: json_ui_garage_url(path: 'forms/basic', mode: 'dialog')
|
63
|
+
end
|
64
|
+
|
65
|
+
template.thumbnail title: 'dialogs/open (fullscreen on mobile)', onClick: ->(action) do
|
66
|
+
action.dialogs_open fullscreen: 'mobile', url: json_ui_garage_url(path: 'forms/basic', mode: 'dialog')
|
63
67
|
end
|
64
68
|
|
65
69
|
template.thumbnail title: 'dialogs/oauth', onClick: ->(action) do
|
@@ -13,7 +13,7 @@ action.send "dialogs_#{dialog_mode}", showClose: true, content: ->(dialog) do
|
|
13
13
|
split.left childViews: ->(left) do
|
14
14
|
left.panels_horizontal height: 'matchParent', align: 'middle', childViews: ->(horizontal) do
|
15
15
|
horizontal.label text: 'Open current', onClick: ->(subaction) do
|
16
|
-
subaction.dialogs_reload url: json_ui_garage_url(path: 'forms/basic', mode: 'dialog_reload')
|
16
|
+
subaction.dialogs_reload width: 900, fullscreen: 'mobile', url: json_ui_garage_url(path: 'forms/basic', mode: 'dialog_reload')
|
17
17
|
end
|
18
18
|
end
|
19
19
|
end
|