testing gui commit
This commit is contained in:
parent
eefd7729a9
commit
9a1cc5839f
|
@ -18,13 +18,12 @@ func TempWindowView(parent *gui.Node) *RepoList {
|
|||
tmp.reposgrid = tmp.reposgroup.NewGrid("mergegrid", 0, 0)
|
||||
|
||||
tmp.reposgrid.NewLabel("") // path goes here
|
||||
tmp.reposgrid.NewLabel("last tag").SetProgName("last tag")
|
||||
tmp.reposgrid.NewLabel("master version")
|
||||
tmp.reposgrid.NewLabel("devel version")
|
||||
tmp.reposgrid.NewLabel("user version")
|
||||
tmp.reposgrid.NewLabel("Status")
|
||||
tmp.reposgrid.NewLabel("Current").SetProgName("CurrentName")
|
||||
tmp.reposgrid.NewLabel("Version").SetProgName("CurrentVersion")
|
||||
tmp.reposgrid.NewLabel("Current Branch")
|
||||
tmp.reposgrid.NewLabel("last tag")
|
||||
tmp.reposgrid.NewLabel("master")
|
||||
tmp.reposgrid.NewLabel("devel")
|
||||
tmp.reposgrid.NewLabel("user")
|
||||
tmp.reposgrid.NewLabel("?")
|
||||
|
||||
tmp.reposgrid.NextRow()
|
||||
|
||||
|
@ -43,17 +42,15 @@ func (r *RepoList) ShowRepo(repo *RepoRow) error {
|
|||
newRow.Status = repo.Status
|
||||
|
||||
newRow.pLabel = grid.NewLabel(repo.Status.Path())
|
||||
newRow.targetV = grid.NewLabel(repo.Status.GetTargetVersion())
|
||||
newRow.lastTag = grid.NewLabel(repo.Status.LastTag())
|
||||
|
||||
newRow.currentName = grid.NewLabel(repo.Status.GetCurrentBranchName())
|
||||
newRow.currentVersion = grid.NewLabel(repo.Status.GetCurrentVersion())
|
||||
|
||||
newRow.gitState = grid.NewLabel(repo.Status.GitState())
|
||||
newRow.lastTag = grid.NewLabel(repo.Status.LastTag())
|
||||
newRow.masterVersion = grid.NewLabel(repo.Status.GetMasterVersion())
|
||||
newRow.develVersion = grid.NewLabel(repo.Status.GetDevelVersion())
|
||||
newRow.userVersion = grid.NewLabel(repo.Status.GetUserVersion())
|
||||
|
||||
newRow.gitState = grid.NewLabel(repo.Status.GitState())
|
||||
|
||||
newRow.endBox = grid.NewHorizontalBox("HBOX")
|
||||
newRow.endBox.NewButton("Repo Window", func() {
|
||||
newRow.Status.Toggle()
|
||||
|
|
Loading…
Reference in New Issue