Commit Graph

71 Commits

Author SHA1 Message Date
Jeff Carr 2107a4876e Try to dynamically add some of the other tabs
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 14:03:10 -07:00
Jeff Carr 048c4f4b32 Move gui code into git.wit.com/wit/gui
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 13:09:44 -07:00
Jeff Carr 771f9eb29f Isolate all GUI code in an attempt to make a library out of it.
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 13:02:27 -07:00
Jeff Carr b84d38e33b ah. maybe it's possible to completely abstract this all away
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 01:49:09 -07:00
Jeff Carr 32f03ccffa color text works for some reason
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 00:41:55 -07:00
Jeff Carr f1a37e410c no longer crashes. seems stable. Can edit text fields
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 00:02:47 -07:00
Jeff Carr 369a8941a8 successfully add 2 tabs dynamically
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 16:42:16 -07:00
Jeff Carr dc3f440e47 dynamically add tabs. work around the JSON config file problem
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 14:54:08 -07:00
Jeff Carr 5f1dde7e27 write out json and yaml config files
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 05:02:39 -07:00
Jeff Carr 64223c47cd loop through attempts to connect every 10 seconds
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 04:28:50 -07:00
Jeff Carr 00a2d142f1 moved to gui.go. jesus this language is great to work with
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 19:00:52 -07:00
Jeff Carr 4d13b8abec prepare to move all the GUI code out of main.go
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 18:57:59 -07:00
Jeff Carr 6ddbe8c28d need this for it to work under windows. This is probably actually a bug
and can be fixed in the andlabs import internally with go

Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 17:42:59 -07:00
Jeff Carr 790b4ae20a add a gui-example1/ to test macos and windows
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 16:41:59 -07:00
Jeff Carr 229b470935 pass the name into the handler. start seperating the ui table callbacks
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 14:14:32 -07:00
Jeff Carr 85956b4020 due to some sort of magic, two tables like this actually fucking worked without a segfault
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 13:50:10 -07:00
Jeff Carr cbdf74a764 start focusing on making a table for the VMs
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 09:51:16 -07:00
Jeff Carr 701339dd7c add a table after figuring out how to correctly get it
to work under linux. TODO: send fix to libui author

Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 00:32:46 -07:00
Jeff Carr 910107d044 start to simplify some of the UI code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-02-01 06:44:56 -08:00
Jeff Carr 0c7ed3bab4 show k8s pods that work
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-02-01 06:35:08 -08:00
Jeff Carr 4c686b87a5 Initial Commit
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-02-01 05:28:17 -08:00