diff options
| author | 2026-09-09 23:09:18 -0700 | |
|---|---|---|
| committer | 2026-09-09 23:09:18 -0700 | |
| commit | 24fc3ae9367fab7468cd3600cc4c3f61ad9506f6 (patch) | |
| tree | 1bfa2a13f2397db28b8c668f2e0b6cc6bd965b59 /src/view | |
| parent | 787dd1b1c0d370825aeac3aa976694541f931c52 (diff) | |
| download | lezer-24fc3ae9367fab7468cd3600cc4c3f61ad9506f6.tar.gz lezer-24fc3ae9367fab7468cd3600cc4c3f61ad9506f6.zip | |
view/book: Show some info about the book
Diffstat (limited to 'src/view')
| -rw-r--r-- | src/view/book.phel | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/view/book.phel b/src/view/book.phel index 79341ad..802c46f 100644 --- a/src/view/book.phel +++ b/src/view/book.phel @@ -8,4 +8,15 @@ [:head [:title (str "Book: " (:title book) " - Lezer")]] [:body - [:h1 (:title book)]]])) + [:h1 (:title book)] + [:h2 "Authors"] + [:ul + (for [author :in (:authors book)] + [:li (:name author)])] + [:h2 "Sessions"] + [:ul + (for [session :in (:sessions book)] + [:li + (:status session) + ": " + (:started_at session)])]]])) |
