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() START GW IS NOW: gw =", gw)
|
||||||
log.Println("makeCloudInfoBox() box =", box)
|
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 + ")"
|
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 {
|
for key, a := range config.Accounts {
|
||||||
vbox := gui.NewBox(box, gui.Xaxis, fmt.Sprintf("ACCOUNT %d", key))
|
vbox := gui.NewBox(box, gui.Xaxis, fmt.Sprintf("ACCOUNT %d", key))
|
||||||
|
|
|
@ -85,7 +85,7 @@ func splashClick(b *gui.GuiButton) {
|
||||||
if (tmp == 1) {
|
if (tmp == 1) {
|
||||||
// Alfonso and Christina suggested auto login here
|
// Alfonso and Christina suggested auto login here
|
||||||
makeAccountWindow(gw, config.Accounts[0])
|
makeAccountWindow(gw, config.Accounts[0])
|
||||||
makeCloudInfoBox(gw)
|
// makeCloudInfoBox(gw)
|
||||||
return
|
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)
|
parts = append(parts, tmp)
|
||||||
human += 1
|
human += 1
|
||||||
|
|
||||||
// mh := gui.AddTableTab(gw, name, count, parts)
|
mh := gui.AddTableBox(box, name, count, parts)
|
||||||
mh := gui.AddTableBox(box, name, count, parts)
|
xBox := gui.HardBox(box.Window, gui.Xaxis, "below mh box")
|
||||||
makeButton(mh.Box, a, nil, "Add Virtual Machine", "JUNK", createAddVmBox)
|
|
||||||
|
|
||||||
makeButton(mh.Box, a, nil, "Login", "JUNK", login)
|
makeButton(xBox, a, nil, "Add Virtual Machine", "JUNK", createAddVmBox)
|
||||||
makeButton(mh.Box, a, nil, "Configure", "JUNK", showAccountClick)
|
makeButton(xBox, a, nil, "Login", "JUNK", login)
|
||||||
|
// makeButton(xBox, a, nil, "Configure", "JUNK", showAccountClick)
|
||||||
return mh
|
return mh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"width": 700,
|
"width": 800,
|
||||||
"height": 600,
|
"height": 600,
|
||||||
"accounts": [
|
"accounts": [
|
||||||
{
|
{
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
556351f926b2e4f24617f5d64035965ed2da295b
|
Loading…
Reference in New Issue