[pdm-devel] [PATCH datacenter-manager 2/3] ui: lxc: cleanup: use module level imports
Dietmar Maurer
dietmar at proxmox.com
Tue Oct 21 08:38:02 CEST 2025
Signed-off-by: Dietmar Maurer <dietmar at proxmox.com>
---
ui/src/pve/lxc/overview.rs | 23 ++++++++++-------------
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/ui/src/pve/lxc/overview.rs b/ui/src/pve/lxc/overview.rs
index ac968fd..3c5ead4 100644
--- a/ui/src/pve/lxc/overview.rs
+++ b/ui/src/pve/lxc/overview.rs
@@ -1,22 +1,19 @@
-use core::f64;
use std::rc::Rc;
use gloo_timers::callback::Timeout;
+use proxmox_human_byte::HumanByte;
use serde_json::json;
-use yew::{
- virtual_dom::{VComp, VNode},
- Properties,
-};
-use proxmox_human_byte::HumanByte;
+use yew::virtual_dom::{VComp, VNode};
+use yew::Properties;
+
+use pwt::css::{ColorScheme, FlexFit, JustifyContent};
+use pwt::prelude::*;
+use pwt::props::WidgetBuilder;
+use pwt::widget::{Column, Container, Panel, Progress, Row};
+use pwt::AsyncPool;
+
use proxmox_yew_comp::{RRDGraph, RRDTimeframe, RRDTimeframeSelector, Series};
-use pwt::{
- css::{ColorScheme, FlexFit, JustifyContent},
- prelude::*,
- props::WidgetBuilder,
- widget::{Column, Container, Panel, Progress, Row},
- AsyncPool,
-};
use pdm_api_types::{resource::PveLxcResource, rrddata::LxcDataPoint};
use pdm_client::types::{IsRunning, LxcStatus};
--
2.47.3
More information about the pdm-devel
mailing list