docs: readme updated

This commit is contained in:
Jack Wills
2022-07-22 20:54:43 +00:00
parent a70d6fa968
commit c39e224d56
6 changed files with 31 additions and 115 deletions
+1 -12
View File
@@ -1,10 +1,9 @@
use bollard::models::ContainerSummary;
use core::fmt;
use std::{
collections::HashMap,
time::{SystemTime, UNIX_EPOCH},
};
use tui::{layout::Rect, widgets::ListItem};
use tui::widgets::ListItem;
mod container_state;
@@ -216,16 +215,6 @@ impl AppData {
.items
.sort_by(|a, b| b.status.cmp(&a.status)),
},
Header::Status => match so {
SortedOrder::Asc => self
.containers
.items
.sort_by(|a, b| a.status.cmp(&b.status)),
SortedOrder::Desc => self
.containers
.items
.sort_by(|a, b| b.status.cmp(&a.status)),
},
Header::Cpu => match so {
SortedOrder::Desc => self
.containers