build fix with pairing disabled
This commit is contained in:
parent
8916ff1a6c
commit
5544ca2fb8
1 changed files with 6 additions and 6 deletions
|
@ -177,12 +177,6 @@ secretProblem s
|
||||||
toSecret :: Text -> Secret
|
toSecret :: Text -> Secret
|
||||||
toSecret s = B.fromChunks [T.encodeUtf8 $ T.toLower $ T.filter isAlphaNum s]
|
toSecret s = B.fromChunks [T.encodeUtf8 $ T.toLower $ T.filter isAlphaNum s]
|
||||||
|
|
||||||
pairPage :: Widget -> Handler RepHtml
|
|
||||||
pairPage w = bootstrap (Just Config) $ do
|
|
||||||
sideBarDisplay
|
|
||||||
setTitle "Pairing"
|
|
||||||
w
|
|
||||||
|
|
||||||
{- From Dickens -}
|
{- From Dickens -}
|
||||||
sampleQuote :: Text
|
sampleQuote :: Text
|
||||||
sampleQuote = T.unwords
|
sampleQuote = T.unwords
|
||||||
|
@ -199,3 +193,9 @@ noPairing = pairPage $
|
||||||
$(widgetFile "configurators/pairing/disabled")
|
$(widgetFile "configurators/pairing/disabled")
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
pairPage :: Widget -> Handler RepHtml
|
||||||
|
pairPage w = bootstrap (Just Config) $ do
|
||||||
|
sideBarDisplay
|
||||||
|
setTitle "Pairing"
|
||||||
|
w
|
||||||
|
|
Loading…
Add table
Reference in a new issue