done this weekend
This commit is contained in:
@@ -35,7 +35,12 @@ pub fn render(frame: &mut Frame, app: &mut App) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn draw_dashboard_tab(frame: &mut Frame, app: &mut App, area: Rect) {
|
pub fn draw_dashboard_tab(frame: &mut Frame, app: &mut App, area: Rect) {
|
||||||
|
let chunks = Layout::vertical([Constraint::Percentage(50), Constraint::Percentage(50)]).split(area);
|
||||||
|
{
|
||||||
|
let chunks = Layout::horizontal([Constraint::Percentage(30), Constraint::Percentage(40), Constraint::Percentage(30)]).split(chunks[0]);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn draw_machine_tab(frame: &mut Frame, app: &mut App, area: Rect) {
|
pub fn draw_machine_tab(frame: &mut Frame, app: &mut App, area: Rect) {
|
||||||
|
|||||||
Reference in New Issue
Block a user