Switch to tailwind for css styling
Could use more partials to reduce some of the current repetition (especially forms), but this is a start with everything converted.
This commit is contained in:
@@ -17,8 +17,8 @@ pub async fn get(
|
||||
let options = Default::default();
|
||||
let entries = Entry::get_all(&pool, &options).await?;
|
||||
Ok(layout.targeted(hx_target).render(html! {
|
||||
ul class="entries" {
|
||||
(entry_list(entries, &options))
|
||||
ul class="list-none flex flex-col gap-4" {
|
||||
(entry_list(entries, &options, true))
|
||||
}
|
||||
}))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user