parent
be98e4259e
commit
8387d37db8
|
@ -28,7 +28,7 @@ func debugClick(b *gui.GuiButton) {
|
|||
box := gui.HardBox(gw, gui.Yaxis, "debugging")
|
||||
log.Println("debugClick() AddGenericBox() END box =", box)
|
||||
|
||||
makeButton(box, nil, nil, "Generate", "SUBDOMAIN", nil)
|
||||
makeButton(box, nil, nil, "empty", "SUBDOMAIN", nil)
|
||||
gui.HorizontalBreak(box)
|
||||
makeButton(box, nil, nil, "Create Subdomain Account", "ADD", addSubdomainClick)
|
||||
hardXbox := gui.HardBox(gw, gui.Xaxis, "subdomain test")
|
||||
|
@ -36,14 +36,17 @@ func debugClick(b *gui.GuiButton) {
|
|||
Xbox1 := gui.NewBox(Ybox1, gui.Xaxis, "subdomain Y test")
|
||||
makeButton(Xbox1, nil, nil, "ping", "SUBDOMAIN", runPingClick)
|
||||
makeButton(Xbox1, nil, nil, "Cross platform shell test", "SUBDOMAIN", runTestExecClick)
|
||||
makeButton(Xbox1, nil, nil, "Generate 3", "SUBDOMAIN", nil)
|
||||
makeButton(Xbox1, nil, nil, "Generate 4", "SUBDOMAIN", nil)
|
||||
makeButton(Xbox1, nil, nil, "empty 3", "SUBDOMAIN", nil)
|
||||
makeButton(Xbox1, nil, nil, "empty 4", "SUBDOMAIN", nil)
|
||||
|
||||
Xbox1 = gui.NewBox(Ybox1, gui.Xaxis, "subdomain Y1 test")
|
||||
makeButton(Xbox1, nil, nil, "List all windows & tabs", "SUBDOMAIN", func (*gui.GuiButton) {
|
||||
log.Println("gui.DumpBoxes()")
|
||||
gui.DumpBoxes()
|
||||
})
|
||||
makeButton(Xbox1, nil, nil, "Debug IPv6", "SUBDOMAIN", func (*gui.GuiButton) {
|
||||
log.Println("Need to add IPv6 debugging here")
|
||||
})
|
||||
|
||||
Ybox2 := gui.NewBox(hardXbox, gui.Yaxis, "subdomain Y test")
|
||||
makeButton(Ybox2, nil, nil, "Hide all tabs", "SUBDOMAIN", func (*gui.GuiButton) {
|
||||
|
|
|
@ -80,11 +80,11 @@ func splashClick(b *gui.GuiButton) {
|
|||
box := gui.HardBox(gw, gui.Yaxis, "addSubdomainQuestion")
|
||||
|
||||
// make a place for someone to enter their subdomain
|
||||
gui.NewLabel(box, "Enter your Subdomain or")
|
||||
makeButton(box, nil, nil, "Generate", "SUBDOMAIN", generateSubdomain)
|
||||
// gui.NewLabel(box, "Enter your Subdomain or")
|
||||
makeButton(box, nil, nil, "Generate a Subdomain", "SUBDOMAIN", generateSubdomain)
|
||||
gui.AddEntry(box, "SUBDOMAIN")
|
||||
gui.HorizontalBreak(box)
|
||||
makeButton(box, nil, nil, "Create Subdomain Account", "ADD", addSubdomainClick)
|
||||
makeButton(box, nil, nil, "Create Account", "ADD", addSubdomainClick)
|
||||
|
||||
log.Println("splashClick() END box =", box)
|
||||
}
|
||||
|
|
2
login.go
2
login.go
|
@ -71,7 +71,7 @@ func login(b *gui.GuiButton) {
|
|||
// TODO: fix this with an actual timeout
|
||||
count += 1
|
||||
if (count > 10) {
|
||||
log.Println("\tERROR: waited too long for a resposne")
|
||||
gui.ErrorWindow(b.Box.Window, "Network Timeout", "ERROR: waited too long for a resposne")
|
||||
currentMessage = nil
|
||||
State = "done"
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue