diff options
author | Joey Hess <joey@kitenet.net> | 2012-09-18 17:50:07 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-09-18 17:50:07 -0400 |
commit | 18bae020ede6770dfbe00a3335c0e9f8b7f7fdf6 (patch) | |
tree | 74eb967c26258c40649e80d8992aee556b04f6f0 /Assistant/WebApp/DashBoard.hs | |
parent | 467844d7d3f703f99fcde1f951f33efda5e90074 (diff) |
make other repositories list list all autostarted repos
And add a form to add another, unrelated repository
Diffstat (limited to 'Assistant/WebApp/DashBoard.hs')
-rw-r--r-- | Assistant/WebApp/DashBoard.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Assistant/WebApp/DashBoard.hs b/Assistant/WebApp/DashBoard.hs index b4e46bd68..fc6b8ea1b 100644 --- a/Assistant/WebApp/DashBoard.hs +++ b/Assistant/WebApp/DashBoard.hs @@ -94,6 +94,10 @@ getHomeR = ifM (inFirstRun) , bootstrap (Just DashBoard) $ dashboard True ) +{- Used to test if the webapp is running. -} +headHomeR :: Handler () +headHomeR = noop + {- Same as HomeR, except no autorefresh at all (and no noscript warning). -} getNoScriptR :: Handler RepHtml getNoScriptR = bootstrap (Just DashBoard) $ dashboard False |