Initial project setup
This commit is contained in:
19
Web/View/Entries/Today.hs
Normal file
19
Web/View/Entries/Today.hs
Normal file
@@ -0,0 +1,19 @@
|
||||
module Web.View.Entries.Today where
|
||||
import Web.View.Prelude
|
||||
|
||||
data TodayView = TodayView { entries :: [Entry] }
|
||||
|
||||
instance View TodayView where
|
||||
html TodayView { .. } = [hsx|
|
||||
{breadcrumb}
|
||||
<h1>TodayView</h1>
|
||||
<button id="today-button" style="width:800px; height:600px">
|
||||
<input type="image" src="/time_on.svg" width="100%" height="100%" />
|
||||
</button>
|
||||
<div>0H 0:00H</div>
|
||||
|]
|
||||
where
|
||||
breadcrumb = renderBreadcrumb
|
||||
[ breadcrumbLink "Todays" EntriesAction
|
||||
, breadcrumbText "TodayView"
|
||||
]
|
||||
Reference in New Issue
Block a user