use maud::{html, Markup};
pub(crate) fn table_list(tables: Vec<&String>) -> Markup {
html! {
@for key in tables {
li { a.table-link data-name=(key) href="" onclick=(crate::html::onclick_event("table-detail", key, "")) { (key) } }
}
}
}
pub(crate) fn view_list(views: Vec<&String>) -> Markup {
html! {
@for key in views {
li { a.view-link data-name=(key) href="" onclick=(crate::html::onclick_event("view-detail", key, "")) { (key) } }
}
}
}