mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2026-11-04 09:04:04 +00:00
26 lines
889 B
Ruby
26 lines
889 B
Ruby
module W3DHubLauncher
|
|
class Dialog
|
|
class Account < W3DHubLauncher::Dialog
|
|
def setup
|
|
super
|
|
|
|
stack(width: 1.0, max_width: 600, height: 1.0, max_height: 600, style_class: [:dialog]) do
|
|
flow(width: 1.0, background_nine_slice: NINE_SLICE_ROUNDED_TOP, background_nine_slice_from_edge: NINE_SLICE_EDGE, background_nine_slice_color: 0) do
|
|
banner "Account", width: 1.0, text_align: :center
|
|
end
|
|
|
|
stack(style_class: [:dialog_container]) do
|
|
button "Sign In", tip: "https://sso.w3d.cyberarm.dev" do
|
|
# use SSO service
|
|
pop_state
|
|
end
|
|
end
|
|
|
|
flow(width: 1.0, padding: PADDING, background_nine_slice: NINE_SLICE_ROUNDED_BOTTOM, background_nine_slice_from_edge: NINE_SLICE_EDGE, background_nine_slice_color: 0) do
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|