parent
92a3739391
commit
40ec27a48b
|
@ -139,10 +139,10 @@ func createVmBox(gw *gui.GuiWindow, vm *pb.Event_VM) {
|
|||
box = gui.HardBox(gw, gui.Xaxis, txt)
|
||||
|
||||
// Add hostname entry box
|
||||
gui.MakeEntryVbox(box, "hostname:", vm.Hostname, true, "Hostname")
|
||||
gui.MakeEntryVbox(box, "IPv6:", vm.IPv6, true, "IPv6")
|
||||
gui.MakeEntryVbox(box, "RAM:", fmt.Sprintf("%d",vm.Memory), true, "Memory")
|
||||
gui.MakeEntryVbox(box, "CPU:", fmt.Sprintf("%d",vm.Cpus), true, "Cpus")
|
||||
gui.MakeEntryVbox(box, "hostname:", vm.Hostname, false, "Hostname")
|
||||
gui.MakeEntryVbox(box, "IPv6:", vm.IPv6, false, "IPv6")
|
||||
gui.MakeEntryVbox(box, "RAM:", fmt.Sprintf("%d",vm.Memory), false, "Memory")
|
||||
gui.MakeEntryVbox(box, "CPU:", fmt.Sprintf("%d",vm.Cpus), false, "Cpus")
|
||||
gui.MakeEntryVbox(box, "Disk (GB):", fmt.Sprintf("%d",vm.Disk), true, "Disk")
|
||||
gui.MakeEntryVbox(box, "OS Image:", vm.BaseImage, true, "BaseImage")
|
||||
|
||||
|
|
2
login.go
2
login.go
|
@ -43,7 +43,7 @@ func login(b *gui.GuiButton) {
|
|||
log.Println("\tLOGIN WAS OK!", msg)
|
||||
log.Println("\tLOGIN WAS OK! old button.Account was =", values.Account)
|
||||
log.Println("\tLOGIN WAS OK! currentMessage.Account =", currentMessage.Account)
|
||||
if (values.Account.Id == currentMessage.Account.Id) {
|
||||
if (values.Account.ID == currentMessage.Account.ID) {
|
||||
if (values.Account.Token != currentMessage.Account.Token) {
|
||||
log.Println("\tLOGIN SENT NEW TOKEN")
|
||||
values.Account.Token = currentMessage.Account.Token
|
||||
|
|
|
@ -1 +1 @@
|
|||
0.6.44
|
||||
0.6.45
|
||||
|
|
Loading…
Reference in New Issue