mirror of https://github.com/voidlizard/hbs2
wip
This commit is contained in:
parent
201e196fa2
commit
8b50080c5b
|
@ -258,6 +258,7 @@ repoTree lww root tree back' = do
|
||||||
a_ [ href_ "#"
|
a_ [ href_ "#"
|
||||||
, hxGet_ (link <> backPart)
|
, hxGet_ (link <> backPart)
|
||||||
, hxTarget_ "#repo-tab-data"
|
, hxTarget_ "#repo-tab-data"
|
||||||
|
, hxPushUrl_ "true"
|
||||||
] (toHtml $ show $ pretty h)
|
] (toHtml $ show $ pretty h)
|
||||||
|
|
||||||
_ -> mempty
|
_ -> mempty
|
||||||
|
@ -316,9 +317,12 @@ repoPage it@RepoListItem{..} = rootPage do
|
||||||
, hxTarget_ "#repo-tab-data"
|
, hxTarget_ "#repo-tab-data"
|
||||||
] "manifest"
|
] "manifest"
|
||||||
|
|
||||||
|
repoMenuItem [
|
||||||
|
] "commits"
|
||||||
|
|
||||||
repoMenuItem [ hxGet_ (path ["repo", repo, "refs"])
|
repoMenuItem [ hxGet_ (path ["repo", repo, "refs"])
|
||||||
, hxTarget_ "#repo-tab-data"
|
, hxTarget_ "#repo-tab-data"
|
||||||
] "browse"
|
] "tree"
|
||||||
|
|
||||||
section_ [id_ "repo-data"] do
|
section_ [id_ "repo-data"] do
|
||||||
h1_ (toHtml $ rlRepoName)
|
h1_ (toHtml $ rlRepoName)
|
||||||
|
|
Loading…
Reference in New Issue