<. const DONE_ALT: &str = "sitekey copied"; .> <. const DONE_CLASS: &str = "sitekey__copy-done-icon"; .> <. const COPY_ALT: &str = "copy sitekey"; .> <. const COPY_CLASS: &str = "sitekey__copy-icon"; .> <. include!("../components/headers/index.html"); .> <. include!("./navbar/index.html"); .>
<. include!("./header/index.html"); .>
<. include!("./help-banner/index.html"); .>
<. if sitekeys.is_empty() { .> <. include!("./sitekey/list/empty-sitekey.html"); .> <.} else {.> <. for sitekey in sitekeys.iter() { .> <. } .>
Your Sitekeys
<.= sitekey.name .>
<. let clipboard_data = ("sitekey", &sitekey.key); .> <. include!("../components/clipboard/index.html"); .> <.= &sitekey.key[0..5] .>
<. let key = format!("/sitekey/{}", &sitekey.key); .> <. include!("./sitekey/view/__edit-sitekey-icon.html"); .>
<.}.>
<. include!("../components/footers.html"); .>