pub fn index_page(status: &str, checked: &str) -> String { format!( r#" Live Toggle

Status: {status}

"# ) } pub fn code1_success() -> String { String::from( r#"

CODE1 handled

Authenticated with secret key.

Action: none

Back to home "#, ) } pub fn code1_invalid(key: &str) -> String { format!( r#"

CODE1 rejected

Invalid {key}.

Action: none

Back to home "# ) }