Skip to content

Instantly share code, notes, and snippets.

@nlinker
Last active May 6, 2020 10:32
Show Gist options
  • Save nlinker/9cbd9092986180531a841f9e610ef53a to your computer and use it in GitHub Desktop.
Save nlinker/9cbd9092986180531a841f9e610ef53a to your computer and use it in GitHub Desktop.
Test view for command_modal
#[test]
fn test_view() {
let command = vec![make_command(
1,
&[39, 40, 41, 42, 43, 44, 45, 46, 47, 48],
"The command",
)];
let jobs = vec![
make_job(39, &[10, 20], &[], "Install packages on server oss2.local."),
make_job(40, &[11, 21], &[39], "Configure NTP on oss2.local."),
make_job(41, &[12, 22], &[39], "Enable LNet on oss2.local."),
make_job(42, &[13, 23], &[39], "Configure Corosync on oss2.local."),
make_job(43, &[14, 24], &[42], "Start Corosync on oss2.local"),
make_job(44, &[15, 25], &[41], "Load the LNet kernel modules."),
make_job(45, &[16, 26], &[44], "Start the LNet networking layer."),
make_job(46, &[17, 27], &[39, 43], "Configure Pacemaker on oss2.local."),
make_job(47, &[18, 28], &[43, 46], "Start Pacemaker on oss2.local."),
make_job(
48,
&[19, 29],
&[39, 40, 41, 42, 45, 46, 47],
"Setup managed host oss2.local.",
),
];
let steps = vec![
make_step(10, "Step ten"),
make_step(11, "Step eleven"),
make_step(12, "Step twelve"),
make_step(13, "Step thirteen"),
make_step(14, "Step fourteen"),
make_step(15, "Step fifteen"),
make_step(16, "Step sixteen"),
make_step(17, "Step seventeen"),
make_step(18, "Step eighteen"),
make_step(19, "Step nineteen"),
make_step(20, "Step twenty"),
make_step(21, "Step twenty one"),
make_step(22, "Step twenty two"),
make_step(23, "Step twenty three"),
make_step(24, "Step twenty four"),
make_step(25, "Step twenty five"),
make_step(26, "Step twenty six"),
make_step(27, "Step twenty seven"),
make_step(28, "Step twenty eight"),
make_step(29, "Step twenty nine"),
];
let mut model = Model::default();
model.commands = convert_to_rich_hashmap(command, extract_children_from_cmd);
model.jobs = convert_to_rich_hashmap(jobs, extract_children_from_job);
model.steps = convert_to_rich_hashmap(steps, extract_children_from_step);
model.refresh_view((true, true, true));
model.select = Select(vec![
TypedId::Command(1),
TypedId::Job(40),
TypedId::Job(42),
TypedId::Job(44),
TypedId::Job(46),
TypedId::Step(11),
TypedId::Step(21),
TypedId::Step(15),
TypedId::Step(19),
].into_iter().collect());
let mut ctx = Context {
steps_view: &model.steps_view,
select: &model.select,
};
let nodes = traverse_graph(
&model.jobs_graphs[&CmdId(1)],
&job_item_view,
&job_item_combine,
&mut ctx,
);
let jobs_dag_view = div![nodes];
assert_eq!(format!("{:#?}", jobs_dag_view), NODE);
}
const NODE: &'static str = r#"Element(
El {
tag: Div,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: A,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Element(
El {
tag: Span,
attrs: Attrs {
vals: {
Class: Some(
"mr-1",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Svg,
attrs: Attrs {
vals: {
Class: Some(
"fill-current fill-current w-4 h-4 inline text-green-500",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Use,
attrs: Attrs {
vals: {
Class: Some(
"pointer-events-none",
),
Href: Some(
"sprites/solid.svg#check",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Span,
attrs: Attrs {
vals: {
Class: Some(
"cursor-pointer underline",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Text(
Text {
text: "Setup managed host oss2.local.",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Empty,
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"ml-3 mt-1",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: A,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Element(
El {
tag: Span,
attrs: Attrs {
vals: {
Class: Some(
"mr-1",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Svg,
attrs: Attrs {
vals: {
Class: Some(
"fill-current fill-current w-4 h-4 inline text-green-500",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Use,
attrs: Attrs {
vals: {
Class: Some(
"pointer-events-none",
),
Href: Some(
"sprites/solid.svg#check",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Span,
attrs: Attrs {
vals: {
Class: Some(
"cursor-pointer underline",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Text(
Text {
text: "Install packages on server oss2.local.",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Empty,
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"ml-3 mt-1",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: A,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Element(
El {
tag: Span,
attrs: Attrs {
vals: {
Class: Some(
"mr-1",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Svg,
attrs: Attrs {
vals: {
Class: Some(
"fill-current fill-current w-4 h-4 inline text-green-500",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Use,
attrs: Attrs {
vals: {
Class: Some(
"pointer-events-none",
),
Href: Some(
"sprites/solid.svg#check",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Span,
attrs: Attrs {
vals: {
Class: Some(
"cursor-pointer underline",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Text(
Text {
text: "Configure NTP on oss2.local.",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Ul,
attrs: Attrs {
vals: {
Class: Some(
"p-1 pb-2 mb-1 overflow-auto",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Li,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"flex",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Style: Some(
"flex: 0 0 1em",
),
Class: Some(
"mx-2 cursor-pointer",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Element(
El {
tag: Svg,
attrs: Attrs {
vals: {
Class: Some(
"fill-current fill-current w-4 h-4 inline text-gray-500 pulse",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Use,
attrs: Attrs {
vals: {
Class: Some(
"pointer-events-none",
),
Href: Some(
"sprites/solid.svg#spinner",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"flex-grow cursor-pointer underline",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Text(
Text {
text: "Step eleven",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"flex",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Style: Some(
"flex: 0 0 1em",
),
Class: Some(
"border-r-2 border-gray-300 hover:border-gray-600",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Style: Some(
"flex: 0 0 1em",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"float-right flex-grow",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: H4,
attrs: Attrs {
vals: {
Class: Some(
"text-lg font-medium",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Text(
Text {
text: "Arguments",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Pre,
attrs: Attrs {
vals: {
Class: Some(
"p-2 m-2 leading-tight text-gray-100 bg-gray-900 overflow-x-hidden whitespace-pre-line break-all",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Li,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"flex",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Style: Some(
"flex: 0 0 1em",
),
Class: Some(
"mx-2 cursor-pointer",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Element(
El {
tag: Svg,
attrs: Attrs {
vals: {
Class: Some(
"fill-current fill-current w-4 h-4 inline text-gray-500 pulse",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Use,
attrs: Attrs {
vals: {
Class: Some(
"pointer-events-none",
),
Href: Some(
"sprites/solid.svg#spinner",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"flex-grow cursor-pointer underline",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Text(
Text {
text: "Step twenty one",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"flex",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Style: Some(
"flex: 0 0 1em",
),
Class: Some(
"border-r-2 border-gray-300 hover:border-gray-600",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Style: Some(
"flex: 0 0 1em",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"float-right flex-grow",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: H4,
attrs: Attrs {
vals: {
Class: Some(
"text-lg font-medium",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Text(
Text {
text: "Arguments",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Pre,
attrs: Attrs {
vals: {
Class: Some(
"p-2 m-2 leading-tight text-gray-100 bg-gray-900 overflow-x-hidden whitespace-pre-line break-all",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Empty,
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"ml-3 mt-1",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: A,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Element(
El {
tag: Span,
attrs: Attrs {
vals: {
Class: Some(
"mr-1",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Svg,
attrs: Attrs {
vals: {
Class: Some(
"fill-current fill-current w-4 h-4 inline text-green-500",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Use,
attrs: Attrs {
vals: {
Class: Some(
"pointer-events-none",
),
Href: Some(
"sprites/solid.svg#check",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Span,
attrs: Attrs {
vals: {
Class: Some(
"cursor-pointer underline",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Text(
Text {
text: "Enable LNet on oss2.local.",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Empty,
],
namespace: None,
node_ws: None,
refs: [],
},
),
Empty,
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"ml-3 mt-1",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: A,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Element(
El {
tag: Span,
attrs: Attrs {
vals: {
Class: Some(
"mr-1",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Svg,
attrs: Attrs {
vals: {
Class: Some(
"fill-current fill-current w-4 h-4 inline text-green-500",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Use,
attrs: Attrs {
vals: {
Class: Some(
"pointer-events-none",
),
Href: Some(
"sprites/solid.svg#check",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Span,
attrs: Attrs {
vals: {
Class: Some(
"cursor-pointer underline",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Text(
Text {
text: "Configure Corosync on oss2.local.",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Ul,
attrs: Attrs {
vals: {
Class: Some(
"p-1 pb-2 mb-1 overflow-auto",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Li,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"flex",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Style: Some(
"flex: 0 0 1em",
),
Class: Some(
"mx-2 cursor-pointer",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Element(
El {
tag: Svg,
attrs: Attrs {
vals: {
Class: Some(
"fill-current fill-current w-4 h-4 inline text-gray-500 pulse",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Use,
attrs: Attrs {
vals: {
Class: Some(
"pointer-events-none",
),
Href: Some(
"sprites/solid.svg#spinner",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"flex-grow cursor-pointer underline",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Text(
Text {
text: "Step thirteen",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Empty,
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Li,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"flex",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Style: Some(
"flex: 0 0 1em",
),
Class: Some(
"mx-2 cursor-pointer",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Element(
El {
tag: Svg,
attrs: Attrs {
vals: {
Class: Some(
"fill-current fill-current w-4 h-4 inline text-gray-500 pulse",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Use,
attrs: Attrs {
vals: {
Class: Some(
"pointer-events-none",
),
Href: Some(
"sprites/solid.svg#spinner",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"flex-grow cursor-pointer underline",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Text(
Text {
text: "Step twenty three",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Empty,
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Empty,
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"ml-3 mt-1",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: A,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Element(
El {
tag: Span,
attrs: Attrs {
vals: {
Class: Some(
"mr-1",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Svg,
attrs: Attrs {
vals: {
Class: Some(
"fill-current fill-current w-4 h-4 inline text-green-500",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Use,
attrs: Attrs {
vals: {
Class: Some(
"pointer-events-none",
),
Href: Some(
"sprites/solid.svg#check",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Span,
attrs: Attrs {
vals: {
Class: Some(
"cursor-pointer underline",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Text(
Text {
text: "Start the LNet networking layer.",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Empty,
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"ml-3 mt-1",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: A,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Element(
El {
tag: Span,
attrs: Attrs {
vals: {
Class: Some(
"mr-1",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Svg,
attrs: Attrs {
vals: {
Class: Some(
"fill-current fill-current w-4 h-4 inline text-green-500",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Use,
attrs: Attrs {
vals: {
Class: Some(
"pointer-events-none",
),
Href: Some(
"sprites/solid.svg#check",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Span,
attrs: Attrs {
vals: {
Class: Some(
"cursor-pointer underline",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Text(
Text {
text: "Load the LNet kernel modules.",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Ul,
attrs: Attrs {
vals: {
Class: Some(
"p-1 pb-2 mb-1 overflow-auto",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Li,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"flex",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Style: Some(
"flex: 0 0 1em",
),
Class: Some(
"mx-2 cursor-pointer",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Element(
El {
tag: Svg,
attrs: Attrs {
vals: {
Class: Some(
"fill-current fill-current w-4 h-4 inline text-gray-500 pulse",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Use,
attrs: Attrs {
vals: {
Class: Some(
"pointer-events-none",
),
Href: Some(
"sprites/solid.svg#spinner",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"flex-grow cursor-pointer underline",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Text(
Text {
text: "Step fifteen",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"flex",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Style: Some(
"flex: 0 0 1em",
),
Class: Some(
"border-r-2 border-gray-300 hover:border-gray-600",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Style: Some(
"flex: 0 0 1em",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"float-right flex-grow",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: H4,
attrs: Attrs {
vals: {
Class: Some(
"text-lg font-medium",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Text(
Text {
text: "Arguments",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Pre,
attrs: Attrs {
vals: {
Class: Some(
"p-2 m-2 leading-tight text-gray-100 bg-gray-900 overflow-x-hidden whitespace-pre-line break-all",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Li,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"flex",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Style: Some(
"flex: 0 0 1em",
),
Class: Some(
"mx-2 cursor-pointer",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Element(
El {
tag: Svg,
attrs: Attrs {
vals: {
Class: Some(
"fill-current fill-current w-4 h-4 inline text-gray-500 pulse",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Use,
attrs: Attrs {
vals: {
Class: Some(
"pointer-events-none",
),
Href: Some(
"sprites/solid.svg#spinner",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"flex-grow cursor-pointer underline",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Text(
Text {
text: "Step twenty five",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Empty,
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Empty,
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"ml-3 mt-1",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: A,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Element(
El {
tag: Span,
attrs: Attrs {
vals: {
Class: Some(
"mr-1",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Svg,
attrs: Attrs {
vals: {
Class: Some(
"fill-current fill-current w-4 h-4 inline text-green-500",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Use,
attrs: Attrs {
vals: {
Class: Some(
"pointer-events-none",
),
Href: Some(
"sprites/solid.svg#check",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Span,
attrs: Attrs {
vals: {
Class: Some(
"cursor-pointer underline",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Text(
Text {
text: "Configure Pacemaker on oss2.local.",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Ul,
attrs: Attrs {
vals: {
Class: Some(
"p-1 pb-2 mb-1 overflow-auto",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Li,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"flex",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Style: Some(
"flex: 0 0 1em",
),
Class: Some(
"mx-2 cursor-pointer",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Element(
El {
tag: Svg,
attrs: Attrs {
vals: {
Class: Some(
"fill-current fill-current w-4 h-4 inline text-gray-500 pulse",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Use,
attrs: Attrs {
vals: {
Class: Some(
"pointer-events-none",
),
Href: Some(
"sprites/solid.svg#spinner",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"flex-grow cursor-pointer underline",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Text(
Text {
text: "Step seventeen",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Empty,
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Li,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"flex",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Style: Some(
"flex: 0 0 1em",
),
Class: Some(
"mx-2 cursor-pointer",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Element(
El {
tag: Svg,
attrs: Attrs {
vals: {
Class: Some(
"fill-current fill-current w-4 h-4 inline text-gray-500 pulse",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Use,
attrs: Attrs {
vals: {
Class: Some(
"pointer-events-none",
),
Href: Some(
"sprites/solid.svg#spinner",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"flex-grow cursor-pointer underline",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Text(
Text {
text: "Step twenty seven",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Empty,
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Empty,
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"ml-3 mt-1",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: A,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Element(
El {
tag: Span,
attrs: Attrs {
vals: {
Class: Some(
"mr-1",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Svg,
attrs: Attrs {
vals: {
Class: Some(
"fill-current fill-current w-4 h-4 inline text-green-500",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Use,
attrs: Attrs {
vals: {
Class: Some(
"pointer-events-none",
),
Href: Some(
"sprites/solid.svg#check",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Span,
attrs: Attrs {
vals: {
Class: Some(
"cursor-pointer underline",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Text(
Text {
text: "Start Corosync on oss2.local",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Empty,
],
namespace: None,
node_ws: None,
refs: [],
},
),
Empty,
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Div,
attrs: Attrs {
vals: {
Class: Some(
"ml-3 mt-1",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Div,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: A,
attrs: Attrs {
vals: {},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {
Click: Group {
event_handlers: RefCell {
value: [
EventHandler('click'),
],
},
listener: None,
},
},
},
children: [
Element(
El {
tag: Span,
attrs: Attrs {
vals: {
Class: Some(
"mr-1",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Svg,
attrs: Attrs {
vals: {
Class: Some(
"fill-current fill-current w-4 h-4 inline text-green-500",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Element(
El {
tag: Use,
attrs: Attrs {
vals: {
Class: Some(
"pointer-events-none",
),
Href: Some(
"sprites/solid.svg#check",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: Some(
Svg,
),
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Element(
El {
tag: Span,
attrs: Attrs {
vals: {
Class: Some(
"cursor-pointer underline",
),
},
},
style: Style {
vals: {},
},
event_handler_manager: EventHandlerManager {
groups: {},
},
children: [
Text(
Text {
text: "Start Pacemaker on oss2.local.",
node_ws: None,
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
Empty,
],
namespace: None,
node_ws: None,
refs: [],
},
),
Empty,
Empty,
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
),
],
namespace: None,
node_ws: None,
refs: [],
},
)"#;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment