ui: change setup sections location

This commit is contained in:
ardocrat 2023-07-13 16:23:38 +03:00
parent 1b8c126e0d
commit 19befded82
10 changed files with 12 additions and 12 deletions

View file

@ -17,6 +17,6 @@ mod metrics;
mod mining; mod mining;
mod settings; mod settings;
mod node; mod node;
mod configs; mod setup;
pub use content::*; pub use content::*;

View file

@ -22,11 +22,11 @@ use crate::gui::Colors;
use crate::gui::icons::{CARDHOLDER, DATABASE, DOTS_THREE_OUTLINE_VERTICAL, FACTORY, FADERS, GAUGE, POWER}; use crate::gui::icons::{CARDHOLDER, DATABASE, DOTS_THREE_OUTLINE_VERTICAL, FACTORY, FADERS, GAUGE, POWER};
use crate::gui::platform::PlatformCallbacks; use crate::gui::platform::PlatformCallbacks;
use crate::gui::views::{Modal, ModalContainer, Root, TitlePanel, View}; use crate::gui::views::{Modal, ModalContainer, Root, TitlePanel, View};
use crate::gui::views::network::configs::dandelion::DandelionSetup; use crate::gui::views::network::setup::dandelion::DandelionSetup;
use crate::gui::views::network::configs::node::NodeSetup; use crate::gui::views::network::setup::node::NodeSetup;
use crate::gui::views::network::configs::p2p::P2PSetup; use crate::gui::views::network::setup::p2p::P2PSetup;
use crate::gui::views::network::configs::pool::PoolSetup; use crate::gui::views::network::setup::pool::PoolSetup;
use crate::gui::views::network::configs::stratum::StratumSetup; use crate::gui::views::network::setup::stratum::StratumSetup;
use crate::gui::views::network::metrics::NetworkMetrics; use crate::gui::views::network::metrics::NetworkMetrics;
use crate::gui::views::network::mining::NetworkMining; use crate::gui::views::network::mining::NetworkMining;
use crate::gui::views::network::node::NetworkNode; use crate::gui::views::network::node::NetworkNode;

View file

@ -22,7 +22,7 @@ use crate::gui::icons::{BARBELL, CLOCK_AFTERNOON, CPU, CUBE, FADERS, FOLDER_DASH
use crate::gui::platform::PlatformCallbacks; use crate::gui::platform::PlatformCallbacks;
use crate::gui::views::{Modal, NetworkContent, View}; use crate::gui::views::{Modal, NetworkContent, View};
use crate::gui::views::network::{NetworkTab, NetworkTabType}; use crate::gui::views::network::{NetworkTab, NetworkTabType};
use crate::gui::views::network::configs::stratum::StratumSetup; use crate::gui::views::network::setup::stratum::StratumSetup;
use crate::node::{Node, NodeConfig}; use crate::node::{Node, NodeConfig};
/// Mining tab content. /// Mining tab content.

View file

@ -19,11 +19,11 @@ use crate::gui::icons::ARROW_COUNTER_CLOCKWISE;
use crate::gui::platform::PlatformCallbacks; use crate::gui::platform::PlatformCallbacks;
use crate::gui::views::{Modal, ModalPosition, View}; use crate::gui::views::{Modal, ModalPosition, View};
use crate::gui::views::network::{NetworkTab, NetworkTabType}; use crate::gui::views::network::{NetworkTab, NetworkTabType};
use crate::gui::views::network::configs::dandelion::DandelionSetup; use crate::gui::views::network::setup::dandelion::DandelionSetup;
use crate::gui::views::network::configs::node::NodeSetup; use crate::gui::views::network::setup::node::NodeSetup;
use crate::gui::views::network::configs::p2p::P2PSetup; use crate::gui::views::network::setup::p2p::P2PSetup;
use crate::gui::views::network::configs::pool::PoolSetup; use crate::gui::views::network::setup::pool::PoolSetup;
use crate::gui::views::network::configs::stratum::StratumSetup; use crate::gui::views::network::setup::stratum::StratumSetup;
use crate::node::{Node, NodeConfig}; use crate::node::{Node, NodeConfig};
/// Integrated node settings tab content. /// Integrated node settings tab content.