remove unused buttons

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-06-13 18:53:03 -07:00
parent 556351f926
commit 9a4db79092
5 changed files with 11 additions and 9 deletions

View File

@ -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))

View File

@ -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
}

View File

@ -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
}

View File

@ -1,5 +1,5 @@
{
"width": 700,
"width": 800,
"height": 600,
"accounts": [
{

1
resources/tags/v0.6.33 Normal file
View File

@ -0,0 +1 @@
556351f926b2e4f24617f5d64035965ed2da295b