Skip to content

Commit

Permalink
back to basics
Browse files Browse the repository at this point in the history
  • Loading branch information
CatalinIuga committed Nov 6, 2022
1 parent c378894 commit 61c23db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 23 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ executables/

# Dependency directories (remove the comment below to include it)
# vendor/
dev/.settings
24 changes: 1 addition & 23 deletions dev/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,29 +424,7 @@ func main() {
go showContainers(chContainers, cli)
go func() {
for table := range chContainers {
header := container.NewVBox(layout.NewSpacer(), container.New(layout.NewGridLayoutWithColumns(11),
layout.NewSpacer(),
layout.NewSpacer(),
layout.NewSpacer(),
widget.NewLabel("IMAGE"),
widget.NewLabel("COMMAND"),
widget.NewLabel("CREATED"),
widget.NewLabel("PORTS"),
widget.NewLabel("NAMES"),
layout.NewSpacer(),
layout.NewSpacer(),
layout.NewSpacer()))
footer := container.NewVBox(layout.NewSpacer())
tabs.Items[1].Content = container.NewHBox(layout.NewSpacer(), container.New(layout.NewBorderLayout(header, footer, nil, nil), header, footer, table), layout.NewSpacer())
// container.New(layout.NewGridLayoutWithColumns(7),
// layout.NewSpacer(),
// widget.NewLabel("IMAGE"),
// widget.NewLabel("COMMAND"),
// widget.NewLabel("CREATED"),
// widget.NewLabel("PORTS"),
// widget.NewLabel("NAMES"),
// layout.NewSpacer(),
// ), table), layout.NewSpacer())
tabs.Items[1].Content = table
}
}()

Expand Down

0 comments on commit 61c23db

Please sign in to comment.