remove unused buttons
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
556351f926
commit
9a4db79092
|
@ -20,10 +20,11 @@ func makeCloudInfoBox(gw *gui.GuiWindow) {
|
|||
log.Println("makeCloudInfoBox() START GW IS NOW: gw =", gw)
|
||||
log.Println("makeCloudInfoBox() box =", box)
|
||||
|
||||
gui.NewLabel(box, "Hostname:")
|
||||
yBox := gui.HardBox(gw, gui.Yaxis, "hostname test")
|
||||
gui.NewLabel(yBox, "Hostname:")
|
||||
|
||||
tmp := config.Hostname + " (" + config.IPv6 + ")"
|
||||
gui.MakeEntryHbox(box, "hostname:", tmp, true, "Hostname")
|
||||
gui.MakeEntryHbox(yBox, "hostname:", tmp, true, "Hostname")
|
||||
|
||||
for key, a := range config.Accounts {
|
||||
vbox := gui.NewBox(box, gui.Xaxis, fmt.Sprintf("ACCOUNT %d", key))
|
||||
|
|
|
@ -85,7 +85,7 @@ func splashClick(b *gui.GuiButton) {
|
|||
if (tmp == 1) {
|
||||
// Alfonso and Christina suggested auto login here
|
||||
makeAccountWindow(gw, config.Accounts[0])
|
||||
makeCloudInfoBox(gw)
|
||||
// makeCloudInfoBox(gw)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
10
gui-vm.go
10
gui-vm.go
|
@ -70,12 +70,12 @@ func addVmsTab(box *gui.GuiBox, name string, count int, a *pb.Account) *gui.Tabl
|
|||
parts = append(parts, tmp)
|
||||
human += 1
|
||||
|
||||
// mh := gui.AddTableTab(gw, name, count, parts)
|
||||
mh := gui.AddTableBox(box, name, count, parts)
|
||||
makeButton(mh.Box, a, nil, "Add Virtual Machine", "JUNK", createAddVmBox)
|
||||
mh := gui.AddTableBox(box, name, count, parts)
|
||||
xBox := gui.HardBox(box.Window, gui.Xaxis, "below mh box")
|
||||
|
||||
makeButton(mh.Box, a, nil, "Login", "JUNK", login)
|
||||
makeButton(mh.Box, a, nil, "Configure", "JUNK", showAccountClick)
|
||||
makeButton(xBox, a, nil, "Add Virtual Machine", "JUNK", createAddVmBox)
|
||||
makeButton(xBox, a, nil, "Login", "JUNK", login)
|
||||
// makeButton(xBox, a, nil, "Configure", "JUNK", showAccountClick)
|
||||
return mh
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"width": 700,
|
||||
"width": 800,
|
||||
"height": 600,
|
||||
"accounts": [
|
||||
{
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
556351f926b2e4f24617f5d64035965ed2da295b
|
Loading…
Reference in New Issue