feat: Docker exec mode, closes #28

This commit is contained in:
Jack Wills
2023-11-14 12:38:15 +00:00
parent e1998c9fca
commit c8077bca0b
13 changed files with 397 additions and 272 deletions
+6 -5
View File
@@ -585,6 +585,11 @@ impl HelpInfo {
space(),
button_item("enter"),
button_desc("to send docker container command"),
]),
Line::from(vec![
space(),
button_item("e"),
button_desc("exec into a container"),
]),
Line::from(vec![
space(),
@@ -724,11 +729,7 @@ pub fn help_box(f: &mut Frame) {
/// Draw the delete confirm box in the centre of the screen
/// take in container id and container name here?
pub fn delete_confirm(
f: &mut Frame,
gui_state: &Arc<Mutex<GuiState>>,
name: &str,
) {
pub fn delete_confirm(f: &mut Frame, gui_state: &Arc<Mutex<GuiState>>, name: &str) {
let block = Block::default()
.title(" Confirm Delete ")
.border_type(BorderType::Rounded)