advotracker: widget update
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
@@ -12,9 +12,9 @@ use serde::Deserialize;
|
||||
use std::env;
|
||||
use std::{error::Error, process};
|
||||
use std::collections::HashMap;
|
||||
use tracing::{debug, trace, Level};
|
||||
use tracing::{debug, trace, span, Level};
|
||||
|
||||
use advotracker::data::structures::{PolicyCode, PolicyList, PolicyDataList, PolicyData};
|
||||
use advotracker::data::{PolicyCode, PolicyList, PolicyDataList, PolicyData};
|
||||
|
||||
// include modules
|
||||
mod parse_args;
|
||||
|
||||
@@ -5,14 +5,14 @@
|
||||
* SPDX-License-Identifier: (0BSD or MIT)
|
||||
*/
|
||||
|
||||
//use chrono::{Local, DateTime};
|
||||
use chrono::{Local, DateTime};
|
||||
use locales::t;
|
||||
//use serde::{Deserialize, Serialize};
|
||||
use serde::Deserialize;
|
||||
use std::{env, process};
|
||||
//use std::{error::Error, process};
|
||||
use std::env;
|
||||
use std::{error::Error, process};
|
||||
use std::collections::HashMap;
|
||||
use tracing::{debug, trace, Level};
|
||||
use tracing::{debug, trace, span, Level};
|
||||
|
||||
use orbtk::prelude::*;
|
||||
use orbtk::theme::DEFAULT_THEME_CSS;
|
||||
@@ -21,6 +21,30 @@ use orbtk::theme::DEFAULT_THEME_CSS;
|
||||
// The Main view
|
||||
use advotracker::widgets::main_view;
|
||||
|
||||
//use advotracker::services;
|
||||
//use advotracker::sercices::policy_check::{import};
|
||||
|
||||
// helper modules
|
||||
//pub mod base_state;
|
||||
//pub mod keys;
|
||||
|
||||
// the frontend
|
||||
//pub mod main_view;
|
||||
|
||||
// validation check of a policy data element given by its poliy code
|
||||
//pub mod policycheck_view;
|
||||
//ub mod policycheck_state;
|
||||
//pub mod policycheck_menu;
|
||||
|
||||
// // manage list of policy data structures
|
||||
// pub mod policylist_view;
|
||||
// pub mod policylist_state;
|
||||
|
||||
// // manage policy data elements
|
||||
// pub mod policydata_view;
|
||||
// pub mod policydata_state;
|
||||
// include modules
|
||||
|
||||
mod parse_args;
|
||||
|
||||
/// respect environment variables set in .env files
|
||||
@@ -50,9 +74,10 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
use tracing_subscriber::fmt;
|
||||
use viperus::Viperus;
|
||||
|
||||
//use advotracker::callbacks::policy_check::is_valid;
|
||||
use advotracker::services::policy_check::*;
|
||||
use advotracker::services::imports::allianzdirectcall::*;
|
||||
use advotracker::data::structures::{PolicyCode, PolicyDataList, PolicyList};
|
||||
//use advotracker::data;
|
||||
use advotracker::data::structures::{PolicyCode, PolicyDataList, PolicyData, PolicyList};
|
||||
|
||||
//static DEFAULT_FILTER: &str = concat!(module_path!(), "=", "trace");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user