Skip to content
Snippets Groups Projects
Commit 744e19db authored by stuebinm's avatar stuebinm
Browse files

server: better html output

parent f72855ea
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ instance ToHtml (DirResult a) where
p_ $ do badge maxlevel "Linted:"; " "; headerText maxlevel
h2_ "Exits"
h3_ "Exits"
unless (null dirresultDeps) $ ul_ $
forM_ dirresultDeps $ \missing -> do
li_ $ do
......@@ -187,10 +187,12 @@ instance ToHtml (DirResult a) where
h4_ (toHtml name)
ul_ $ forM_ mapresultGeneral $ \lint ->
li_ (toHtml lint)
h5_ "Layers"
ul_ (listMapWithKey mapresultLayer)
h5_ "Tilesets"
ul_ (listMapWithKey mapresultTileset)
unless (null mapresultLayer) $ do
h5_ "Layers"
ul_ (listMapWithKey mapresultLayer)
unless (null mapresultTileset) $ do
h5_ "Tilesets"
ul_ (listMapWithKey mapresultTileset)
where
maxlevel = maximumLintLevel res
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment