clean up button and tab names
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
8387d37db8
commit
2233089565
|
@ -9,7 +9,8 @@ func makeCloudInfoBox(gw *gui.GuiWindow) {
|
||||||
log.Println("makeCloudInfoBox() START gw =", gw)
|
log.Println("makeCloudInfoBox() START gw =", gw)
|
||||||
|
|
||||||
gw = gui.InitGuiWindow("makeCloudInfoBox() Box23", gw)
|
gw = gui.InitGuiWindow("makeCloudInfoBox() Box23", gw)
|
||||||
box := gui.HardBox(gw, gui.Yaxis, "makeCloudInfoBox")
|
// TODO: make this text i18n
|
||||||
|
box := gui.HardBox(gw, gui.Yaxis, "Cloud Accounts")
|
||||||
|
|
||||||
log.Println("makeCloudInfoBox() START GW IS NOW: gw =", gw)
|
log.Println("makeCloudInfoBox() START GW IS NOW: gw =", gw)
|
||||||
log.Println("makeCloudInfoBox() box =", box)
|
log.Println("makeCloudInfoBox() box =", box)
|
||||||
|
@ -38,8 +39,9 @@ func makeCloudInfoBox(gw *gui.GuiWindow) {
|
||||||
makeButton(vbox, config.Accounts[key], nil, name, "SHOW", nil)
|
makeButton(vbox, config.Accounts[key], nil, name, "SHOW", nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
makeButton(box, nil, nil, "Add Account", "ADD TAB", addSubdomainClick)
|
Xbox := gui.HardBox(gw, gui.Xaxis, "subdomain test")
|
||||||
makeButton(box, nil, nil, "Quit", "QUIT", nil)
|
makeButton(Xbox, nil, nil, "Add Account", "ADD TAB", addSubdomainClick)
|
||||||
makeButton(box, nil, nil, "Debug", "DEBUG", debugClick)
|
makeButton(Xbox, nil, nil, "Quit", "QUIT", nil)
|
||||||
|
makeButton(Xbox, nil, nil, "Debug", "DEBUG", debugClick)
|
||||||
log.Println("makeCloudInfoBox() END")
|
log.Println("makeCloudInfoBox() END")
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,14 +77,19 @@ func splashClick(b *gui.GuiButton) {
|
||||||
// gw.UiTab.Hide() // Hide or Delete ?
|
// gw.UiTab.Hide() // Hide or Delete ?
|
||||||
gw.UiTab.Delete(0) // does this make things more or less stable or neither?
|
gw.UiTab.Delete(0) // does this make things more or less stable or neither?
|
||||||
|
|
||||||
box := gui.HardBox(gw, gui.Yaxis, "addSubdomainQuestion")
|
box := gui.HardBox(gw, gui.Yaxis, "Create New Account")
|
||||||
|
|
||||||
// make a place for someone to enter their subdomain
|
// make a place for someone to enter their subdomain
|
||||||
// gui.NewLabel(box, "Enter your Subdomain or")
|
hardXbox := gui.HardBox(gw, gui.Xaxis, "subdomain test")
|
||||||
makeButton(box, nil, nil, "Generate a Subdomain", "SUBDOMAIN", generateSubdomain)
|
makeButton(hardXbox, nil, nil, "Generate a Subdomain", "SUBDOMAIN", generateSubdomain)
|
||||||
|
gui.NewLabel(hardXbox, "")
|
||||||
|
|
||||||
gui.AddEntry(box, "SUBDOMAIN")
|
gui.AddEntry(box, "SUBDOMAIN")
|
||||||
gui.HorizontalBreak(box)
|
// gui.HorizontalBreak(box)
|
||||||
makeButton(box, nil, nil, "Create Account", "ADD", addSubdomainClick)
|
|
||||||
|
hardXbox1 := gui.HardBox(gw, gui.Xaxis, "subdomain test")
|
||||||
|
makeButton(hardXbox1, nil, nil, "Create Account", "ADD", addSubdomainClick)
|
||||||
|
gui.NewLabel(hardXbox, "")
|
||||||
|
|
||||||
log.Println("splashClick() END box =", box)
|
log.Println("splashClick() END box =", box)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue